Skip to content

RFC perf vs d-cache aliasses

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf: Provide weak interfaces to mmap() backinginclude/linux/perf_counter.h kernel/perf_counter.c+66 -240 replies
2/2perf,sparc: Use vmalloc to back the mmap() arrayarch/sparc/kernel/perf_counter.c+72 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 0/2] perf vs d-cache aliasses

Hi David,

based on your vmalloc code, an alternative implementation that lets x86 stay with regular allocations.

While I'm sad to have to propose having two implementations around, I see no other way to please both sides.

Alternative to placing the code in arch/sparc we could do something like

CONFIG_PERF_WANTS_VMALLOC and place both somewhere in kernel/