On Wed, 22 Aug 2007 14:22:16 -0700
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com> wrote:
yup
The fewer the better.
We want to avoid options which some people might want to enable in normal
production and which other people might want to disable in normal
production. Because most people don't build custom kernels and the person
who builds their kernels for them needs to make a decision for them. We
don't want to force the person who configures others' kernels to have to
make nasty compromises.
Config options which are clearly kernel-devleoper-only are fine: people can
just turn them off for production.
Platforms do physically hotplug cpus. All the hotplug notifier stuff is
there so that code such as yours can synchronise against that.
Yes. For those, use DEFINE_SPINLOCK().
Do `return foo;', not `return (foo);' ;)
-