[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140905031735.GD1971@thunk.org>
Date: Thu, 4 Sep 2014 23:17:35 -0400
From: Theodore Ts'o <tytso@....edu>
To: Joonsoo Kim <iamjoonsoo.kim@....com>
Cc: Gioh Kim <gioh.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>, jack@...e.cz,
linux-fsdevel@...r.kernel.org, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org, viro@...iv.linux.org.uk,
paulmck@...ux.vnet.ibm.com, peterz@...radead.org,
adilger.kernel@...ger.ca, minchan@...nel.org, gunho.lee@....com
Subject: Re: [PATCHv4 0/3] new APIs to allocate buffer-cache with user
specific flag
Joonson,
Thanks for the update. I've applied Gioh's patches to the ext4 tree,
but I'd appreciate a further clarification. My understanding with the
problem you were trying to address is that with the current CMA
implementation, kswapd was getting activiated too early, yes?
But it would still be a good idea to try to use non-moveable memory in
preference in favor of CMA memory; even if the page migration can move
the contents of the page elsewhere, wouldn't be better to avoid
needing to do the page migation in the first place. Given that the
ext4 file systems are getting mounted very early in the boot process,
when there should be plenty of CMA and non-CMA elegible memory
available, why was CMA memory getting selected for the buffer cache
allocations when non-CMA memory available?
In other words, even without Gioh's patch to force the use of non-CMA
eligible memory, wouldn't it be better if the memory allocator used
non-CMA preferentially if it were available. This should be
orthogonal to whether or not kswaped gets activiated, right?
Regards,
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists