diff options
| author | Wei Yang <richard.weiyang@gmail.com> | 2024-07-29 14:47:17 +0530 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-01 20:25:55 -0700 |
| commit | 29943248af0a8ac3edb808564baa417b40e35521 (patch) | |
| tree | 8b82b1abc724f12fba0a74df099eb6c8389a0c69 /include/memory | |
| parent | tools: add skeleton code for userland testing of VMA logic (diff) | |
| download | linux-29943248af0a8ac3edb808564baa417b40e35521.tar.gz linux-29943248af0a8ac3edb808564baa417b40e35521.zip | |
mm: improve code consistency with zonelist_* helper functions
Replace direct access to zoneref->zone, zoneref->zone_idx, or
zone_to_nid(zoneref->zone) with the corresponding zonelist_* helper
functions for consistency.
No functional change.
Link: https://lkml.kernel.org/r/20240729091717.464-1-shivankg@amd.com
Co-developed-by: Shivank Garg <shivankg@amd.com>
Signed-off-by: Shivank Garg <shivankg@amd.com>
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions
