Re: mlock: mlocked pages are unevictable

From: Peter Zijlstra
Date: Tue Oct 21 2008 - 16:48:56 EST


On Tue, 2008-10-21 at 22:30 +0200, Peter Zijlstra wrote:

> The problem appears to be calling flush_work(), which is rather heavy
> handed. We could do schedule_on_each_cpu() using a completion.
>
> Which I think is a nicer solution (if sufficient of course).

Ah, never mind, the flush_work() is already doing the right thing using
barriers and completions.


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