lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240913084433.1016256-1-anshuman.khandual@arm.com>
Date: Fri, 13 Sep 2024 14:14:26 +0530
From: Anshuman Khandual <anshuman.khandual@....com>
To: linux-mm@...ck.org
Cc: Anshuman Khandual <anshuman.khandual@....com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	David Hildenbrand <david@...hat.com>,
	Ryan Roberts <ryan.roberts@....com>,
	"Mike Rapoport (IBM)" <rppt@...nel.org>,
	Arnd Bergmann <arnd@...db.de>,
	x86@...nel.org,
	linux-m68k@...ts.linux-m68k.org,
	linux-fsdevel@...r.kernel.org,
	kasan-dev@...glegroups.com,
	linux-kernel@...r.kernel.org,
	linux-perf-users@...r.kernel.org
Subject: [PATCH 0/7] mm: Use pxdp_get() for accessing page table entries

This series converts all generic page table entries direct derefences via
pxdp_get() based helpers extending the changes brought in via the commit
c33c794828f2 ("mm: ptep_get() conversion"). First it does some platform
specific changes for m68k and x86 architecture.

This series has been build tested on multiple architecture such as x86,
arm64, powerpc, powerpc64le, riscv, and m68k etc.

Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: David Hildenbrand <david@...hat.com>
Cc: Ryan Roberts <ryan.roberts@....com>
Cc: "Mike Rapoport (IBM)" <rppt@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: x86@...nel.org
Cc: linux-m68k@...ts.linux-m68k.org
Cc: linux-mm@...ck.org
Cc: linux-fsdevel@...r.kernel.org
Cc: kasan-dev@...glegroups.com
Cc: linux-kernel@...r.kernel.org
Cc: linux-perf-users@...r.kernel.org
Cc: kasan-dev@...glegroups.com

Anshuman Khandual (7):
  m68k/mm: Change pmd_val()
  x86/mm: Drop page table entry address output from pxd_ERROR()
  mm: Use ptep_get() for accessing PTE entries
  mm: Use pmdp_get() for accessing PMD entries
  mm: Use pudp_get() for accessing PUD entries
  mm: Use p4dp_get() for accessing P4D entries
  mm: Use pgdp_get() for accessing PGD entries

 arch/m68k/include/asm/page.h          |  2 +-
 arch/x86/include/asm/pgtable-3level.h | 12 ++---
 arch/x86/include/asm/pgtable_64.h     | 20 +++----
 drivers/misc/sgi-gru/grufault.c       | 10 ++--
 fs/proc/task_mmu.c                    | 26 ++++-----
 fs/userfaultfd.c                      |  6 +--
 include/linux/huge_mm.h               |  5 +-
 include/linux/mm.h                    |  6 +--
 include/linux/pgtable.h               | 38 +++++++-------
 kernel/events/core.c                  |  6 +--
 mm/gup.c                              | 40 +++++++-------
 mm/hmm.c                              |  2 +-
 mm/huge_memory.c                      | 76 +++++++++++++--------------
 mm/hugetlb.c                          | 10 ++--
 mm/hugetlb_vmemmap.c                  |  4 +-
 mm/kasan/init.c                       | 38 +++++++-------
 mm/kasan/shadow.c                     | 12 ++---
 mm/khugepaged.c                       |  4 +-
 mm/madvise.c                          |  6 +--
 mm/mapping_dirty_helpers.c            |  2 +-
 mm/memory-failure.c                   | 14 ++---
 mm/memory.c                           | 59 +++++++++++----------
 mm/mempolicy.c                        |  4 +-
 mm/migrate.c                          |  4 +-
 mm/migrate_device.c                   | 10 ++--
 mm/mlock.c                            |  6 +--
 mm/mprotect.c                         |  2 +-
 mm/mremap.c                           |  4 +-
 mm/page_table_check.c                 |  4 +-
 mm/page_vma_mapped.c                  |  6 +--
 mm/pagewalk.c                         | 10 ++--
 mm/percpu.c                           |  8 +--
 mm/pgalloc-track.h                    |  6 +--
 mm/pgtable-generic.c                  | 24 ++++-----
 mm/ptdump.c                           |  8 +--
 mm/rmap.c                             |  8 +--
 mm/sparse-vmemmap.c                   | 10 ++--
 mm/vmalloc.c                          | 46 ++++++++--------
 mm/vmscan.c                           |  6 +--
 39 files changed, 283 insertions(+), 281 deletions(-)

-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ