[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d18a4e12-c062-0c6c-52e4-83d5e2a14da5@aol.com>
Date: Fri, 14 Dec 2018 21:55:01 +0800
From: Gao Xiang <hsiangkao@....com>
To: Richard Weinberger <richard@....at>
Cc: Artem Bityutskiy <dedekind1@...il.com>,
zhangjun <openzhangj@...il.com>,
Alexander Viro <viro@...iv.linux.org.uk>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
"Darrick J . Wong" <darrick.wong@...cle.com>, hch@....de,
bfoster@...hat.com, Dave Chinner <david@...morbit.com>,
akpm@...ux-foundation.org, kirill.shutemov@...ux.intel.com,
mhocko@...e.com, n-horiguchi@...jp.nec.com,
mgorman@...hsingularity.net, aarcange@...hat.com,
willy@...radead.org, linux@...inikbrodowski.net,
linux-mm@...ck.org, Gao Xiang <gaoxiang25@...wei.com>
Subject: Re: [PATCH] fix page_count in ->iomap_migrate_page()
Hi Richard,
On 2018/12/14 21:35, Richard Weinberger wrote:
> Hmm, in case of UBIFS it seems easy. We can add a get/put_page() around setting/clearing
> the flag.
> I did that now and so far none of my tests exploded.
Yes, many existed codes are based on this restriction in order to be freeable race-free.
and that's it since PG_Private was once introduced at first by Andrew Morton in 2002
for many Linux versions....and it's not bad I think... :)
Thanks,
Gao Xiang
Powered by blists - more mailing lists