Skip to content

RFC mm: add last level page table numa info to /proc/pid/numa_pgtable

Xin Hao linux-mm lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 RFC Latest1 patch 4 repliesIn review
  2. v3 RFC1 patch 2 repliesSuperseded
  3. v2 RFC1 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC1 patch2 repliesSuperseded

V4 -> V3 from the cover letter

1, Add some detects and spinlock when operating PMD page as Baolin Wang advised.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1mm: add last level page table numa info to /proc/pid/numa_pgtablefs/proc/base.c fs/proc/internal.h fs/proc/task_mmu.c+90 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [RFC PATCH V4 0/1] mm: add last level page table numa info to /proc/pid/numa_pgtable

In many data center servers, the shared memory architectures is Non-Uniform Memory Access (NUMA), remote numa node data access often brings a high latency problem, but what we are easy to ignore is that the page table remote numa access, It can also leads to a performance degradation.

So there add a new interface in /proc, This will help developers to get more info about performance issues if they are caused by cross-NUMA.

V4 -> V3
1, Add some detects and spinlock when operating PMD page as Baolin Wang advised.

V2 -> V3
1, Fix compile warning bug.

V1 -> V2
1, As Matthew Wilcox advise, Simplify the code.
2, Do some codes format fix.

V3: https://lore.kernel.org/linux-mm/[email protected]/
V2: https://lore.kernel.org/linux-mm/[email protected]/
V1: https://lore.kernel.org/linux-mm/[email protected]/T/

Xin Hao (1):
mm: add last level page table numa info to /proc/pid/numa_pgtable

 fs/proc/base.c     |  2 ++
 fs/proc/internal.h |  1 +
 fs/proc/task_mmu.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 90 insertions(+)

--
2.31.0