[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100325181633.0313b8a5@lxorguk.ukuu.org.uk>
Date: Thu, 25 Mar 2010 18:16:33 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Giel van Schijndel <me@...tis.eu>
Cc: Hans de Goede <hdegoede@...hat.com>,
Jean Delvare <khali@...ux-fr.org>,
Jonathan Cameron <jic23@....ac.uk>,
Laurens Leemans <laurens@...nips.com>,
lm-sensors@...sensors.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] resource: shared I/O region support
> Always fun reviewing your own code ;-)
>
> New patch attached.
>
> One question though. I did some reading in
> Documentation/memory-barriers.txt and think it is correct *not* to call
> set_current_state(TASK_INTERRUPTIBLE) after schedule() finishes. Could
> you confirm or deny that?
After the schedule() returns we will be in TASK_RUNNING which is where we
want to be ...
> + if (res->flags & IORESOURCE_MUXED)
> + wake_up(&muxed_resource_wait);
> kfree(res);
> return;
And you'll want a
Signed-off-by: Alan Cox <alan@...ux.intel.com>
> }
--
--
"Alan, I'm getting a bit worried about you."
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists