mbox series

[0/4] Bugfix + small cleanup to populate_p[mug]d

Message ID 20200303205445.3965393-1-nivedita@alum.mit.edu
Headers show
Series Bugfix + small cleanup to populate_p[mug]d | expand

Message

Arvind Sankar March 3, 2020, 8:54 p.m. UTC
The first patch fixes a bug in populate_pud, which results in the
requested mapping not being completely installed if the CPU does not
support GB pages.

The next three are small cleanups.

Thanks.

Arvind Sankar (4):
  x86/mm/pat: Handle no-GBPAGES case correctly in populate_pud
  x86/mm/pat: Ensure that populate_pud only handles one PUD
  x86/mm/pat: Propagate all errors out of populate_pud
  x86/mm/pat: Make num_pages consistent in populate_{pte,pud,pgd}

 arch/x86/include/asm/pgtable_types.h |  2 +-
 arch/x86/mm/pat/set_memory.c         | 74 +++++++++++++++++-----------
 2 files changed, 45 insertions(+), 31 deletions(-)