Re: [PATCH 1/2] f2fs: fix to add refcount once page is tagged PG_private

2019-03-05 Thread Chao Yu
On 2019/3/6 11:46, Jaegeuk Kim wrote: > On 03/05, Chao Yu wrote: >> As Gao Xiang reported in bugzilla: >> >> https://bugzilla.kernel.org/show_bug.cgi?id=202749 >> >> f2fs may skip pageout() due to incorrect page reference count. >> >> The problem here is that MM defined the rule [1] very clearly

Re: [PATCH 1/2] f2fs: fix to add refcount once page is tagged PG_private

2019-03-05 Thread Jaegeuk Kim
On 03/05, Chao Yu wrote: > As Gao Xiang reported in bugzilla: > > https://bugzilla.kernel.org/show_bug.cgi?id=202749 > > f2fs may skip pageout() due to incorrect page reference count. > > The problem here is that MM defined the rule [1] very clearly that > once page was set with PG_private

[PATCH 1/2] f2fs: fix to add refcount once page is tagged PG_private

2019-03-05 Thread Chao Yu
As Gao Xiang reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202749 f2fs may skip pageout() due to incorrect page reference count. The problem here is that MM defined the rule [1] very clearly that once page was set with PG_private flag, we should increment the refcount in