PC-BSD/trueos 4783398 — sys/arm64/arm64 pmap.c
MFC r350546 Because of AArch64's weak memory consistency model, we need to include a memory barrier between the stores for initializing a page table page and the store for adding that page to the page table. Otherwise, a page table walk by another processor's MMU could see the page table page before it sees the initialized entries. Simplify pmap_growkernel(). In particular, eliminate an unnecessary TLB invalidation.
Delta | File | |
---|---|---|
+20 | -3 | sys/arm64/arm64/pmap.c |
+20 | -3 | 1 files |