diff options
author | 2024-01-12 09:23:52 +0800 | |
---|---|---|
committer | 2024-11-05 16:56:24 -0800 | |
commit | bbc251f30ef312343fec3f5c0591ce01078c2bb9 (patch) | |
tree | 99c883ccee62c6e154536743afc3d8b2611442ba /kernel | |
parent | maple_tree: memset maple_big_node as a whole (diff) | |
download | wireguard-linux-bbc251f30ef312343fec3f5c0591ce01078c2bb9.tar.xz wireguard-linux-bbc251f30ef312343fec3f5c0591ce01078c2bb9.zip |
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 'kernel')
0 files changed, 0 insertions, 0 deletions