• L
    Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 6b0a02e8
    Linus Torvalds 提交于
    Pull x86 pti updates from Thomas Gleixner:
     "Another series of PTI related changes:
    
       - Remove the manual stack switch for user entries from the idtentry
         code. This debloats entry by 5k+ bytes of text.
    
       - Use the proper types for the asm/bootparam.h defines to prevent
         user space compile errors.
    
       - Use PAGE_GLOBAL for !PCID systems to gain back performance
    
       - Prevent setting of huge PUD/PMD entries when the entries are not
         leaf entries otherwise the entries to which the PUD/PMD points to
         and are populated get lost"
    
    * 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/pgtable: Don't set huge PUD/PMD on non-leaf entries
      x86/pti: Leave kernel text global for !PCID
      x86/pti: Never implicitly clear _PAGE_GLOBAL for kernel image
      x86/pti: Enable global pages for shared areas
      x86/mm: Do not forbid _PAGE_RW before init for __ro_after_init
      x86/mm: Comment _PAGE_GLOBAL mystery
      x86/mm: Remove extra filtering in pageattr code
      x86/mm: Do not auto-massage page protections
      x86/espfix: Document use of _PAGE_GLOBAL
      x86/mm: Introduce "default" kernel PTE mask
      x86/mm: Undo double _PAGE_PSE clearing
      x86/mm: Factor out pageattr _PAGE_GLOBAL setting
      x86/entry/64: Drop idtentry's manual stack switch for user entries
      x86/uapi: Fix asm/bootparam.h userspace compilation errors
    6b0a02e8
init_64.c 38.4 KB