aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorPeilin Ye <[email protected]>2021-08-18 15:01:23 -0700
committerJonathan Corbet <[email protected]>2021-08-20 11:14:11 -0600
commit251a7b3edc197a3947b8cb56fffe61d811aba0a5 (patch)
treed20bd8c38816a94ba09eb887fdeda95c239b8934 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentd44f571ff5ce51298df520cc46c3a9f5b983fc0a (diff)
docs: x86: Remove obsolete information about x86_64 vmalloc() faulting
x86_64 vmalloc() mappings are no longer "synchronized" among page tables via faulting since commit 6eb82f994026 ("x86/mm: Pre-allocate P4D/PUD pages for vmalloc area"), since the corresponding P4D or PUD pages are now preallocated at boot, by preallocate_vmalloc_pages(). Drop the "lazily synchronized" description for less confusion. While this file is x86_64-specific, it is worth noting that things are different for x86_32, where vmalloc()-related changes to `init_mm.pgd` are synchronized to all page tables in the system during runtime, via arch_sync_kernel_mappings(). Unfortunately, this synchronization is subject to race condition, which is further handled via faulting, see vmalloc_fault(). See commit 4819e15f740e ("x86/mm/32: Bring back vmalloc faulting on x86_32") for more details. Reviewed-by: Muchun Song <[email protected]> Signed-off-by: Peilin Ye <[email protected]> Reviewed-by: Joerg Roedel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions