From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mel Gorman Message-Id: <20070515150431.16348.44852.sendpatchset@skynet.skynet.ie> In-Reply-To: <20070515150311.16348.56826.sendpatchset@skynet.skynet.ie> References: <20070515150311.16348.56826.sendpatchset@skynet.skynet.ie> Subject: [PATCH 4/8] Mark bio_alloc() allocations correctly Date: Tue, 15 May 2007 16:04:32 +0100 (IST) Sender: owner-linux-mm@kvack.org Return-Path: To: clameter@sgi.com Cc: Mel Gorman , linux-mm@kvack.org List-ID: bio_alloc() currently uses __GFP_MOVABLE which is plain wrong. Objects are allocated with that gfp mask via mempool. The slab that is ultimatly used is not reclaimable or movable. Signed-off-by: Mel Gorman Acked-by: Andy Whitcroft --- buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.21-mm2-006_statistics_owner/fs/buffer.c linux-2.6.21-mm2-010_biomovable/fs/buffer.c --- linux-2.6.21-mm2-006_statistics_owner/fs/buffer.c 2007-05-11 21:16:10.000000000 +0100 +++ linux-2.6.21-mm2-010_biomovable/fs/buffer.c 2007-05-15 12:28:11.000000000 +0100 @@ -2621,7 +2621,7 @@ int submit_bh(int rw, struct buffer_head * from here on down, it's all bio -- do the initial mapping, * submit_bio -> generic_make_request may further map this bio around */ - bio = bio_alloc(GFP_NOIO|__GFP_MOVABLE, 1); + bio = bio_alloc(GFP_NOIO, 1); bio->bi_sector = bh->b_blocknr * (bh->b_size >> 9); bio->bi_bdev = bh->b_bdev; -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org