summaryrefslogtreecommitdiff
path: root/lib/unicode
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-09-14 14:02:34 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-09-14 14:02:34 +0200
commitacab8881bc2c0befcda62c2e6cc479cd7529dbe3 (patch)
tree8e5013e2fd5890fd63544f422b8f05fe0bbfd0f3 /lib/unicode
parentca2f1c07f2a6bb48582b990868976b45d3663605 (diff)
downloadplan9front-acab8881bc2c0befcda62c2e6cc479cd7529dbe3.tar.xz
bcm64: enter page tables in mmutop *AFTER* switching asid in mmuswitch()
there was a small window between modifying mmutop and switching the asid where the core could bring in the new entries under the old asid into the tlb due to speculation / prefetching. this change moves the entering of the page tables into mmutop after setttbr() to prevent this scenario. due to us switching to the resereved asid 0 on procsave()->putasid(), the only asid that could have potentially been poisoned would be asid 0 which does not have any user mappings. so this did not show any noticable effect.
Diffstat (limited to 'lib/unicode')
0 files changed, 0 insertions, 0 deletions