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

From: Andi Kleen
Date: Mon Dec 12 2005 - 01:21:41 EST


On Sun, Dec 11, 2005 at 10:11:10PM -0800, Paul Jackson wrote:
> > 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.
>
> Do you mean this check, in cpuset_update_task_memory_state()
>
> if (unlikely(!cs))
> return;

No - i mean a quick check if the cpuset allows all nodes
for memory allocation.

-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/