linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* v6.1-rc1, remap_file_pages() and vma linked list?
@ 2022-10-25  7:09 J. R. Okajima
  2022-10-25 15:57 ` Liam Howlett
  0 siblings, 1 reply; 2+ messages in thread
From: J. R. Okajima @ 2022-10-25  7:09 UTC (permalink / raw)
  To: Liam.Howlett, yang.lee, yuzhao
  Cc: catalin.marinas, david, dhowells, dave, willy, sj, svens, vbabka,
	will, linux-kernel

Hello,

Linux-v4.10 has a commit
	48f7df329474 2016-02-18 mm: fix regression in remap_file_pages() emulation
and it contains a small test program where remap_file_pages() will split
a region into two VMAs.

Linux-v6.1-rc1 remap_file_pages() doesn't pass that old test.
I tried investigation, but I am not good in this tech field. I could
only find there may be related to the commit
	763ecb035029 2022-09-26 mm: remove the vma linked list
but I am not sure.
How can we make the old test pass?
"Don't use remap_file_pages()" or "Ignore such old test" is not an
option.


J. R. Okajima

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: v6.1-rc1, remap_file_pages() and vma linked list?
  2022-10-25  7:09 v6.1-rc1, remap_file_pages() and vma linked list? J. R. Okajima
@ 2022-10-25 15:57 ` Liam Howlett
  0 siblings, 0 replies; 2+ messages in thread
From: Liam Howlett @ 2022-10-25 15:57 UTC (permalink / raw)
  To: J. R. Okajima
  Cc: yang.lee@linux.alibaba.com, yuzhao@google.com,
	catalin.marinas@arm.com, david@redhat.com, dhowells@redhat.com,
	dave@stgolabs.net, willy@infradead.org, sj@kernel.org,
	svens@linux.ibm.com, vbabka@suse.cz, will@kernel.org,
	linux-kernel@vger.kernel.org

* J. R. Okajima <hooanon05g@gmail.com> [221025 03:09]:
> Hello,
> 
> Linux-v4.10 has a commit
> 	48f7df329474 2016-02-18 mm: fix regression in remap_file_pages() emulation
> and it contains a small test program where remap_file_pages() will split
> a region into two VMAs.
> 
> Linux-v6.1-rc1 remap_file_pages() doesn't pass that old test.

I broke this in the commit you reference below.

> I tried investigation, but I am not good in this tech field. I could
> only find there may be related to the commit
> 	763ecb035029 2022-09-26 mm: remove the vma linked list
> but I am not sure.
> How can we make the old test pass?
> "Don't use remap_file_pages()" or "Ignore such old test" is not an
> option.

Thanks for reporting this issue.  I have a fix that will be sent out
shortly.

Regards,
Liam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-25 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-25  7:09 v6.1-rc1, remap_file_pages() and vma linked list? J. R. Okajima
2022-10-25 15:57 ` Liam Howlett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).