diff options
| author | Zhiguo Jiang <justinjiang@vivo.com> | 2024-01-12 09:23:52 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-11-05 16:56:24 -0800 |
| commit | bbc251f30ef312343fec3f5c0591ce01078c2bb9 (patch) | |
| tree | 99c883ccee62c6e154536743afc3d8b2611442ba /mm/mempolicy.c | |
| parent | 5059aa6334fcf4b7ddd672255aec5835aecd32b6 (diff) | |
mm: fix shrink nr.unqueued_dirty counter issue
It is needed to ensure sc->nr.unqueued_dirty > 0, which can avoid setting
PGDAT_DIRTY flag when sc->nr.unqueued_dirty and sc->nr.file_taken are both
zero.
Link: https://lkml.kernel.org/r/20240112012353.1387-1-justinjiang@vivo.com
Signed-off-by: Zhiguo Jiang <justinjiang@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions