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

Andi Kleen
2005-12-12T06:21:44Z

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