Messages in this thread |  | | | Date | Mon, 12 Dec 2005 04:29:03 +0100 | | From | Andi Kleen <> | | Subject | Re: [PATCH] Cpuset: rcu optimization of page alloc hook |
| |
> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |