Re: [PATCH] Cpuset: rcu optimization of page alloc hook

Andi Kleen
2005-12-12T03:29:06Z

> Thanks to Andi Kleen and Nick Piggin for the suggestion.

Thanks. But i guess it would be still a good idea to turn
ia "check that there is no cpuset" test into an inline
so that it can be done without a function call. Only when
it fails call the out of line cpuset full checking function.

This would make the common case of a kernel with cpuset
compiled in but nobody using it faster.

This could be done even without any memory barriers of
any kind.

-Andi