[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1274265465.5605.10564.camel@twins>
Date: Wed, 19 May 2010 12:37:45 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Oleg Nesterov <oleg@...hat.com>
Cc: David Howells <dhowells@...hat.com>, Ingo Molnar <mingo@...e.hu>,
Yong Zhang <yong.zhang0@...il.com>, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: schedule() && prev/current (Was: [PATCH 3/3] Make
get_current() __attribute__((const)))
On Wed, 2010-05-19 at 12:27 +0200, Oleg Nesterov wrote:
> Now suppose that A calls schedule() and we switch to B. When switch_to()
> returns on B's context, this context (register/stack) matches the previous
> context which was used by B when it in turn called schedule(), correct?
Ah, right, you always schedule back to where you came from,... I
shouldn't try and write emails before the morning juice hits ;-)
--
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