diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-04-20 15:58:27 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-10-30 12:56:04 +0000 |
commit | b550340d20ecc9741c9d0812a0acee0897de6775 (patch) | |
tree | 480d4d8055ebdfff0471333ffbbdfec94ce2d452 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ce0603d6983e5af0b625118a0de2fb785e9b3f8e (diff) |
arm64: text replication: create per-node kernel page tables
Allocate the level 0 page tables for the per-node kernel text
replication, but copy all level 0 table entries from the NUMA node 0
table. Therefore, for the time being, each node's level 0 page tables
will contain identical entries, and thus other nodes will continue
to use the node 0 kernel text.
Since the level 0 page tables can be updated at runtime to add entries
for vmalloc and module space, propagate these updates to the other
swapper page tables. The exception is if we see an update for the
level 0 entry which points to the kernel mapping.
We also need to setup a copy of the trampoline page tables as well, as
the assembly code relies on the two page tables being a fixed offset
apart.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions