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

From: Paul Jackson
Date: Tue Dec 13 2005 - 23:06:22 EST


Andi wrote:
> That is why call_rcu.et.al. is a better interface if you want performance.
> It runs the freeing batched in the background.

True.

In this case, my free'ing code is non-trivial, and my performance
requirements very minimal. So I'll take the easier synchronize_rcu()
over the asynchronous call_rcu().

But, yes, that's the tradeoff.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
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/