Thread (29 messages) 29 messages, 7 authors, 2021-10-20

Re: [PATCH v1 2/2] mm: remove extra ZONE_DEVICE struct page refcount

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-10-15 11:06:54
Also in: amd-gfx, dri-devel, linux-mm, linux-xfs

On Thu, Oct 14, 2021 at 10:45:52PM -0500, Sierra Guiza, Alejandro (Alex) wrote:
On 10/14/2021 3:57 PM, Ralph Campbell wrote:
quoted
On 10/14/21 11:01 AM, Jason Gunthorpe wrote:
quoted
On Thu, Oct 14, 2021 at 10:35:27AM -0700, Ralph Campbell wrote:
quoted
I ran xfstests-dev using the kernel boot option to "fake" a pmem device
when I first posted this patch. The tests ran OK (or at least the same
tests passed with and without my patch).
Hmm. I know nothing of xfstests but

tests/generic/413

Looks kind of like it might cover this situation?

Did it run for you?

Jason
I don't remember. I'll have to rerun the test which might take a day or
two
to set up again.
I just ran this generic/413 on my side using pmem fake device. It does fail.
I remember we proposed a fix on this patch before try_get_page was
removed.
Thanks so much, that confirms I've read everything properly!

The fix is to incr the refcount at the proper times, not ignore the
broken refcount

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help