[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081222113629.080104676@de.ibm.com>
Date: Mon, 22 Dec 2008 12:36:29 +0100
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Rusty Russell <rusty@...tcorp.com.au>
Cc: linux-kernel@...r.kernel.org,
Heiko Carstens <heiko.carstens@...ibm.com>
Subject: [patch 0/2] stop_machine: create kstop threads only when needed
Introduce stop_machine_create/destroy. With this interface subsystems
that need a non-failing stop_machine environment can create the
stop_machine threads before actually calling stop_machine.
When the threads aren't needed anymore they can be killed with
stop_machine_destroy again.
When stop_machine gets called and the threads aren't present they
will be created and destroyed automatically.
This restores the old behaviour of stop_machine from 2.6.27 and thus
we get rid of the normally not needed kstop threads.
The second patch converts the module loader/unloder code to the new
interface, since it needs a non-failing stop_machine infrastructure.
Looks like there are more users that need a non-failing version.
I'll take care of them when I'm back from vacation.
--
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