Re: [PATCH] fix page_count in ->iomap_migrate_page()
From: Gao Xiang
Date: Fri Dec 14 2018 - 08:55:20 EST
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