The patch titled Subject: ext4: use non-movable memory for the ext4 superblock has been added to the -mm tree. Its filename is ext4-use-non-movable-memory-for-the-ext4-superblock.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ext4-use-non-movable-memory-for-the-ext4-superblock.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ext4-use-non-movable-memory-for-the-ext4-superblock.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Gioh Kim <gioh.kim@xxxxxxx> Subject: ext4: use non-movable memory for the ext4 superblock A buffer-cache for superblock is disturbing page migration, because the buffer-cache is not released until unmount. The buffer-cache must be allocated from non-movable area. Signed-off-by: Gioh Kim <gioh.kim@xxxxxxx> Reviewed-by: Jan Kara <jack@xxxxxxx> Cc: "Theodore Ts'o" <tytso@xxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Andreas Dilger <adilger.kernel@xxxxxxxxx> Cc: Minchan Kim <minchan@xxxxxxxxxx> Cc: Joonsoo Kim <js1304@xxxxxxxxx> Cc: Gunho Lee <gunho.lee@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ext4/super.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN fs/ext4/super.c~ext4-use-non-movable-memory-for-the-ext4-superblock fs/ext4/super.c --- a/fs/ext4/super.c~ext4-use-non-movable-memory-for-the-ext4-superblock +++ a/fs/ext4/super.c @@ -3436,7 +3436,7 @@ static int ext4_fill_super(struct super_ logical_sb_block = sb_block; } - if (!(bh = sb_bread(sb, logical_sb_block))) { + if (!(bh = sb_bread_unmovable(sb, logical_sb_block))) { ext4_msg(sb, KERN_ERR, "unable to read superblock"); goto out_fail; } @@ -3646,7 +3646,7 @@ static int ext4_fill_super(struct super_ brelse(bh); logical_sb_block = sb_block * EXT4_MIN_BLOCK_SIZE; offset = do_div(logical_sb_block, blocksize); - bh = sb_bread(sb, logical_sb_block); + bh = sb_bread_unmovable(sb, logical_sb_block); if (!bh) { ext4_msg(sb, KERN_ERR, "Can't read superblock on 2nd try"); @@ -3868,7 +3868,7 @@ static int ext4_fill_super(struct super_ for (i = 0; i < db_count; i++) { block = descriptor_loc(sb, logical_sb_block, i); - sbi->s_group_desc[i] = sb_bread(sb, block); + sbi->s_group_desc[i] = sb_bread_unmovable(sb, block); if (!sbi->s_group_desc[i]) { ext4_msg(sb, KERN_ERR, "can't read group descriptor %d", i); _ Patches currently in -mm which might be from gioh.kim@xxxxxxx are fsc-support-buffer-cache-allocations-with-gfp-modifiers.patch ext4-use-non-movable-memory-for-the-ext4-superblock.patch jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html