Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1402819

Re: UBIFS and page migration (take 3)

From Richard Weinberger <richard@nod.at>
Newsgroups linux.kernel
Subject Re: UBIFS and page migration (take 3)
Date 2016-05-18 11:10 +0200
Message-ID <rA5El-8tT-7@gated-at.bofh.it> (permalink)
References <rxCQa-UH-21@gated-at.bofh.it> <rxXhU-4OQ-11@gated-at.bofh.it> <rzq89-78d-3@gated-at.bofh.it> <rzqrv-7tO-1@gated-at.bofh.it> <rzLmh-3UX-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am 17.05.2016 um 13:27 schrieb Richard Weinberger:
> Vlastimil,
> 
> Am 16.05.2016 um 15:03 schrieb Vlastimil Babka:
>> On 05/16/2016 02:44 PM, Richard Weinberger wrote:
>>> MM folks, do we have a way to force page migration?
>>
>> On NUMA we have migrate_pages(2).
> 
> Doesn't this only migrate process (user) pages?
> AFAIK we need a way to force migration of pages which
> are in the page cache.

While migrate_pages(2) does not seem to hit the ->migratepage()
function, echo 1 > /proc/sys/vm/compact_memory does.
Thanks Vlastimil for pointing me in the right direction!

Just reproduce the issue on UBIFS in a KVM guest and a
simulated NAND. :-)
Let's see whether I can come up with a generic test.

Thanks,
//richard

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: UBIFS and page migration (take 3) Richard Weinberger <richard@nod.at> - 2016-05-16 14:50 +0200
  Re: UBIFS and page migration (take 3) Vlastimil Babka <vbabka@suse.cz> - 2016-05-16 15:10 +0200
    Re: UBIFS and page migration (take 3) Christoph Hellwig <hch@infradead.org> - 2016-05-17 11:20 +0200
    Re: UBIFS and page migration (take 3) Richard Weinberger <richard@nod.at> - 2016-05-17 13:30 +0200
      Re: UBIFS and page migration (take 3) Richard Weinberger <richard@nod.at> - 2016-05-18 11:10 +0200
  Re: UBIFS and page migration (take 3) Christoph Hellwig <hch@infradead.org> - 2016-05-17 11:20 +0200

csiph-web