All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] perf/mm: Fix PERF_SAMPLE_*_PAGE_SIZE
@ 2020-11-26 12:01 ` Peter Zijlstra
  0 siblings, 0 replies; 59+ messages in thread
From: Peter Zijlstra @ 2020-11-26 12:01 UTC (permalink / raw)
  To: kan.liang, mingo, acme, mark.rutland, alexander.shishkin, jolsa, eranian
  Cc: christophe.leroy, npiggin, linuxppc-dev, mpe, will, willy,
	aneesh.kumar, sparclinux, davem, catalin.marinas, linux-arch,
	linux-kernel, ak, dave.hansen, kirill.shutemov, peterz

Hi,

These patches provide generic infrastructure to determine TLB page size from
page table entries alone. Perf will use this (for either data or code address)
to aid in profiling TLB issues.

While most architectures only have page table aligned large pages, some
(notably ARM64, Sparc64 and Power) provide non page table aligned large pages
and need to provide their own implementation of these functions.

I've provided (completely untested) implementations for ARM64, Sparc64 and
Power/8xxx (it looks like I'm still missing Power/Book3s64/hash support).

Changes since -v1:

 - Changed wording to reflect these are page-table sizes; actual TLB sizes
   might vary.
 - added Power/8xx

Barring any objections I'll queue these in tip/perf/core, as these patches fix
the code that's currently in there.



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

end of thread, other threads:[~2020-12-09 18:46 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-26 12:01 [PATCH v2 0/6] perf/mm: Fix PERF_SAMPLE_*_PAGE_SIZE Peter Zijlstra
2020-11-26 12:01 ` Peter Zijlstra
2020-11-26 12:01 ` Peter Zijlstra
2020-11-26 12:01 ` [PATCH v2 1/6] mm/gup: Provide gup_get_pte() more generic Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:43   ` Matthew Wilcox
2020-11-26 12:43     ` Matthew Wilcox
2020-11-26 13:02     ` Peter Zijlstra
2020-11-26 13:02       ` Peter Zijlstra
2020-11-26 13:02       ` Peter Zijlstra
2020-12-03  9:07   ` [tip: perf/core] " tip-bot2 for Peter Zijlstra
2020-12-03  9:24   ` tip-bot2 for Peter Zijlstra
2020-11-26 12:01 ` [PATCH v2 2/6] mm: Introduce pXX_leaf_size() Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:43   ` Matthew Wilcox
2020-11-26 12:43     ` Matthew Wilcox
2020-12-03  9:07   ` [tip: perf/core] " tip-bot2 for Peter Zijlstra
2020-12-03  9:24   ` tip-bot2 for Peter Zijlstra
2020-11-26 12:01 ` [PATCH v2 3/6] perf/core: Fix arch_perf_get_page_size() Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:34   ` Matthew Wilcox
2020-11-26 12:34     ` Matthew Wilcox
2020-11-26 12:42     ` Peter Zijlstra
2020-11-26 12:42       ` Peter Zijlstra
2020-11-26 12:42       ` Peter Zijlstra
2020-11-26 12:56       ` Matthew Wilcox
2020-11-26 12:56         ` Matthew Wilcox
2020-11-26 13:06         ` Peter Zijlstra
2020-11-26 13:06           ` Peter Zijlstra
2020-11-26 13:06           ` Peter Zijlstra
2020-11-26 13:27           ` Matthew Wilcox
2020-11-26 13:27             ` Matthew Wilcox
2020-12-03  9:07       ` [tip: perf/core] " tip-bot2 for Peter Zijlstra
2020-12-03  9:24       ` tip-bot2 for Peter Zijlstra
2020-11-26 12:01 ` [PATCH v2 4/6] arm64/mm: Implement pXX_leaf_size() support Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:57   ` Peter Zijlstra
2020-11-26 12:57     ` Peter Zijlstra
2020-11-26 12:57     ` Peter Zijlstra
2020-11-26 14:32     ` Will Deacon
2020-11-26 14:32       ` Will Deacon
2020-12-03  9:07     ` [tip: perf/core] " tip-bot2 for Peter Zijlstra
2020-12-03  9:24     ` tip-bot2 for Peter Zijlstra
2020-11-26 12:01 ` [PATCH v2 5/6] sparc64/mm: " Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-12-03  9:07   ` [tip: perf/core] " tip-bot2 for Peter Zijlstra
2020-12-03  9:24   ` tip-bot2 for Peter Zijlstra
2020-12-09 18:44   ` tip-bot2 for Peter Zijlstra
2020-11-26 12:01 ` [PATCH v2 6/6] powerpc/8xx: " Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-11-26 12:01   ` Peter Zijlstra
2020-12-03  9:07   ` [tip: perf/core] " tip-bot2 for Peter Zijlstra
2020-12-03  9:24   ` tip-bot2 for Peter Zijlstra
2020-12-09 18:44   ` tip-bot2 for Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.