diff options
author | Barry Song <[email protected]> | 2021-07-31 00:51:31 +1200 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-08-03 10:36:42 +0100 |
commit | f9c4ff2ab9fe433d44ebbc2e3c2368a49df44798 (patch) | |
tree | 52fdeb8ee023e4378c6a54cd8b63f6a9b63625fb /tools/perf/util/trace-event-scripting.c | |
parent | 64ee84c75b5f75132eec97f2c7a201a056d53698 (diff) |
arm64: fix the doc of RANDOMIZE_MODULE_REGION_FULL
Obviously kaslr is setting the module region to 2GB rather than 4GB since
commit b2eed9b588112 ("arm64/kernel: kaslr: reduce module randomization
range to 2 GB"). So fix the size of region in Kconfig.
On the other hand, even though RANDOMIZE_MODULE_REGION_FULL is not set,
module_alloc() can fall back to a 2GB window if ARM64_MODULE_PLTS is set.
In this case, veneers are still needed. !RANDOMIZE_MODULE_REGION_FULL
doesn't necessarily mean veneers are not needed.
So fix the doc to be more precise to avoid any confusion to the readers
of the code.
Cc: Masami Hiramatsu <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Qi Liu <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions