diff options
author | 2024-05-25 02:30:40 +0000 | |
---|---|---|
committer | 2024-06-05 10:28:10 +0300 | |
commit | 922306a253e20ad5d0c4b8479d2dc5df9f325a04 (patch) | |
tree | 06c2b48ecc4d7b9c08a894129f24d301147cff47 /scripts/generate_rust_analyzer.py | |
parent | mm/memblock: fix a typo in description of for_each_mem_region() (diff) | |
download | wireguard-linux-922306a253e20ad5d0c4b8479d2dc5df9f325a04.tar.xz wireguard-linux-922306a253e20ad5d0c4b8479d2dc5df9f325a04.zip |
mm/mm_init.c: move nr_initialised reset down a bit
We don't need to count nr_initialised in two cases:
* for low zones that are always populated
* after first_deferred_pfn is detected
Let's move the nr_initialised reset down a bit to reduce some comparison
of prev_end_pfn and end_pfn.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Link: https://lore.kernel.org/r/20240525023040.13509-3-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions