diff options
author | Dave Hansen <dave.hansen@linux.intel.com> | 2025-04-14 10:32:38 -0700 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2025-04-17 10:39:25 -0700 |
commit | 45fb940563f80b8138f465f18d71c2d3e4a0724e (patch) | |
tree | c115ddfb9a7b651ff0b59f85a789088cbe073cdd /scripts/lib/kdoc/kdoc_re.py | |
parent | eb9c7f00f22d6ea2a94e00eb4f33a79064681564 (diff) |
x86/mm: Simplify PAE PGD sharing macros
There are a few too many levels of abstraction here.
First, just expand the PREALLOCATED_PMDS macro in place to make it
clear that it is only conditional on PTI.
Second, MAX_PREALLOCATED_PMDS is only used in one spot for an
on-stack allocation. It has a *maximum* value of 4. Do not bother
with the macro MAX() magic. Just set it to 4.
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20250414173238.6E3CDA56%40davehans-spike.ostc.intel.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions