diff options
author | Hao Lee | 2022-08-07 15:44:42 +0000 |
---|---|---|
committer | Andrew Morton | 2022-08-20 15:17:45 -0700 |
commit | a39c5d3ce03dd890ab6a9be44b21177cec32da55 (patch) | |
tree | 37956a27179b3f9e0119867353b99d28c0285867 /mm/vmscan.c | |
parent | a8faed3a02eeb75857a3b5d660fa80fe79db77a3 (diff) |
mm: add DEVICE_ZONE to FOR_ALL_ZONES
FOR_ALL_ZONES should be consistent with enum zone_type. Otherwise,
__count_zid_vm_events have the potential to add count to wrong item when
zid is ZONE_DEVICE.
Link: https://lkml.kernel.org/r/20220807154442.GA18167@haolee.io
Signed-off-by: Hao Lee <haolee.swjtu@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions