Cc: Jon Tollefson <kniht@...>, Andrew Morton <akpm@...>, Nick Piggin <npiggin@...>, Nishanth Aravamudan <nacc@...>, Adam Litke <agl@...>, <linux-kernel@...>, <kernel-testers@...>, <linux-mm@...>
On Mon, Jun 23, 2008 at 09:00:48AM +0100, Mel Gorman wrote:
Yes, good spot. Luckily this pair of calls can be separated, as the
first is a prepare and the second a commit. So I can trivially pull
the allocation outside the lock.
Had a quick go at this and it looks like I can move both out of the lock
to a much more logical spot and clean the patch up significantly. Will
fold in your other comments and post up a V2 once it has been tested.
Thanks.
-apw
--