The patch titled Subject: jbd/jbd2: use non-movable memory for the jbd superblock has been added to the -mm tree. Its filename is jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/jbd-jbd2-use-non-movable-memory-for-the-jbd-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: jbd/jbd2: use non-movable memory for the jbd superblock A long-lasting buffer-cache can distrub page migration so that it must be allocated from non-movable area. The journal_init_inode is creating a buffer-cache for superblock journaling. The superblock exists until system shutdown so that the buffer-cache for the superblock would also exist for a long time and it can distrub page migration. This patch make the buffer-cache be allocated from non-movable area not to distrub page migration. 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/jbd/journal.c | 2 +- fs/jbd2/journal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN fs/jbd/journal.c~jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock fs/jbd/journal.c --- a/fs/jbd/journal.c~jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock +++ a/fs/jbd/journal.c @@ -886,7 +886,7 @@ journal_t * journal_init_inode (struct i goto out_err; } - bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); + bh = getblk_unmovable(journal->j_dev, blocknr, journal->j_blocksize); if (!bh) { printk(KERN_ERR "%s: Cannot get buffer for journal superblock\n", diff -puN fs/jbd2/journal.c~jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock fs/jbd2/journal.c --- a/fs/jbd2/journal.c~jbd-jbd2-use-non-movable-memory-for-the-jbd-superblock +++ a/fs/jbd2/journal.c @@ -1237,7 +1237,7 @@ journal_t * jbd2_journal_init_inode (str goto out_err; } - bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); + bh = getblk_unmovable(journal->j_dev, blocknr, journal->j_blocksize); if (!bh) { printk(KERN_ERR "%s: Cannot get buffer for journal superblock\n", _ 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