Re: [PATCH 09/19] mm: page_alloc: Use word-based accesses for get/set pageblock bitmaps

From: Vlastimil Babka
Date: Thu May 22 2014 - 14:45:19 EST


On 22.5.2014 20:23, Andrew Morton wrote:
On Thu, 22 May 2014 11:24:23 +0200 Vlastimil Babka <vbabka@xxxxxxx> wrote:

In a test running dd onto tmpfs the overhead of the pageblock-related
functions went from 1.27% in profiles to 0.5%.

Signed-off-by: Mel Gorman <mgorman@xxxxxxx>
Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
Hi, I've tested if this closes the race I've been previously trying to fix
with the series in http://marc.info/?l=linux-mm&m=139359694028925&w=2
And indeed with this patch I wasn't able to reproduce it in my stress test
(which adds lots of memory isolation calls) anymore. So thanks to Mel I can
dump my series in the trashcan :P

Therefore I believe something like below should be added to the changelog,
and put to stable as well.
OK, I made it so.

Thanks.

Miraculously, the patch applies OK to 3.14. And it compiles!

Great, shipping time!

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