Re: [PATCHv4 1/3] fs.c: support buffer cache allocations with gfp modifiers

From: Theodore Ts'o
Date: Thu Sep 04 2014 - 22:37:57 EST


On Thu, Sep 04, 2014 at 04:29:39PM +0900, Gioh Kim wrote:
> A buffer cache is allocated from movable area
> because it is referred for a while and released soon.
> But some filesystems are taking buffer cache for a long time
> and it can disturb page migration.
>
> New APIs are introduced to allocate buffer cache
> with user specific flag.
> *_gfp APIs are for user want to set page allocation flag for page cache
> allocation.
> And *_unmovable APIs are for the user wants to allocate page cache from
> non-movable area.
>
> Signed-off-by: Gioh Kim <gioh.kim@xxxxxxx>
> Reviewed-by: Jan Kara <jack@xxxxxxx>

Thanks, I've applied this to the ext4 git tree with a slightly
rewritten commit description (for clarity).

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