From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Ts'o Subject: Re: [PATCHv4 1/3] fs.c: support buffer cache allocations with gfp modifiers Date: Thu, 4 Sep 2014 22:37:28 -0400 Message-ID: <20140905023728.GA1971@thunk.org> References: <1409815781-28011-1-git-send-email-gioh.kim@lge.com> <1409815781-28011-2-git-send-email-gioh.kim@lge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@linux-foundation.org, jack@suse.cz, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk, paulmck@linux.vnet.ibm.com, peterz@infradead.org, adilger.kernel@dilger.ca, minchan@kernel.org, js1304@gmail.com, gunho.lee@lge.com To: Gioh Kim Return-path: Content-Disposition: inline In-Reply-To: <1409815781-28011-2-git-send-email-gioh.kim@lge.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org 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 > Reviewed-by: Jan Kara Thanks, I've applied this to the ext4 git tree with a slightly rewritten commit description (for clarity). - Ted