[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200906011701.51637.rusty@rustcorp.com.au>
Date: Mon, 1 Jun 2009 17:01:50 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Lai Jiangshan <laijs@...fujitsu.com>, mingo@...e.hu,
paulmck@...ux.vnet.ibm.com, linux-kernel@...r.kernel.org,
Oleg Nesterov <oleg@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 2/2] cpuhotplug: introduce try_get_online_cpus()
On Sat, 30 May 2009 06:01:18 am Andrew Morton wrote:
> I do think that we should look at
> alternative (non-trylocky) ways of fixing them.
Speculating: we could add a "keep_cpu()" (FIXME: improve name) which is kind
of like get_cpu() only doesn't disable preemption and only stops *this* cpu
from going down.
Not sure where that gets us, but if someone's going to dig deep into this it
might help.
Thanks,
Rusty.
--
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