aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include/shared/os.h
diff options
context:
space:
mode:
authorBenjamin Berg <[email protected]>2024-09-19 14:45:08 +0200
committerJohannes Berg <[email protected]>2024-10-10 13:37:22 +0200
commit830003c73d190259e45d0a99a0e3d14cb73e0af0 (patch)
treedaedac01201d5591775c58f044b3ee0d169560c5 /arch/um/include/shared/os.h
parent91f0a0c5cc5bc863888a936fbd05394c6e284466 (diff)
um: Limit TASK_SIZE to the addressable range
We may have a TASK_SIZE from the host that is bigger than UML is able to address with a three-level pagetable on 64-bit. Guard against that by clipping the maximum TASK_SIZE to the maximum addressable area. Signed-off-by: Benjamin Berg <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'arch/um/include/shared/os.h')
0 files changed, 0 insertions, 0 deletions