Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH] fix page_count in ->iomap_migrate_page() | From | Gao Xiang <> | Date | Fri, 14 Dec 2018 21:55:01 +0800 |
| |
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
| ![\](/images/icornerr.gif) |