Re: [PATCH] Cpuset: rcu optimization of page alloc hook
From: Andi Kleen
Date: Sun Dec 11 2005 - 22:28:21 EST
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/