linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH V4 0/1] mm: add last level page table numa info to /proc/pid/numa_pgtable
@ 2022-08-01 12:17 Xin Hao
  2022-08-01 12:17 ` [RFC PATCH V4 1/1] " Xin Hao
  0 siblings, 1 reply; 6+ messages in thread
From: Xin Hao @ 2022-08-01 12:17 UTC (permalink / raw)
  To: willy; +Cc: akpm, adobriyan, keescook, xhao, linux-kernel, linux-mm

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/20220801032704.64356-1-xhao@linux.alibaba.com/
V2: https://lore.kernel.org/linux-mm/20220731155223.60238-1-xhao@linux.alibaba.com/
V1: https://lore.kernel.org/linux-mm/YuVqdcY8Ibib2LJa@casper.infradead.org/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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-04  9:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 12:17 [RFC PATCH V4 0/1] mm: add last level page table numa info to /proc/pid/numa_pgtable Xin Hao
2022-08-01 12:17 ` [RFC PATCH V4 1/1] " Xin Hao
2022-08-01 13:28   ` David Hildenbrand
2022-08-04  8:04     ` haoxin
2022-08-04  8:12       ` David Hildenbrand
2022-08-04  9:30         ` haoxin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).