linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix high-order allocations for AUX space
@ 2023-06-12  5:24 Shuai Xue
  2023-06-12  5:24 ` [PATCH 1/2] perf/core: Bail out early if the request AUX area is out of bound Shuai Xue
  2023-06-12  5:24 ` [PATCH 2/2] perf/ring_buffer: Fix high-order allocations for AUX space with correct MAX_ORDER limit Shuai Xue
  0 siblings, 2 replies; 14+ messages in thread
From: Shuai Xue @ 2023-06-12  5:24 UTC (permalink / raw)
  To: alexander.shishkin, peterz
  Cc: mingo, acme, mark.rutland, jolsa, namhyung, irogers,
	adrian.hunter, linux-perf-users, linux-kernel, bpf

When perf-record with large AUX area, it reveals WARNINGs with __alloc_pages.
Fix with correct MAX_ORDER limit to request higher order allocations so that
larger contiguous areas is allocated. 

Shuai Xue (2):
  perf/core: Bail out early if the request AUX area is out of bound
  perf/ring_buffer: Fix high-order allocations for AUX space with
    correct MAX_ORDER limit

 kernel/events/core.c                     | 10 ++++++++++
 kernel/events/ring_buffer.c              |  4 ++--
 tools/perf/Documentation/perf-record.txt |  3 ++-
 3 files changed, 14 insertions(+), 3 deletions(-)

-- 
1.8.3.1


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

end of thread, other threads:[~2023-06-13  6:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-12  5:24 [PATCH 0/2] Fix high-order allocations for AUX space Shuai Xue
2023-06-12  5:24 ` [PATCH 1/2] perf/core: Bail out early if the request AUX area is out of bound Shuai Xue
2023-06-12  7:38   ` Leo Yan
2023-06-12  8:35     ` Shuai Xue
2023-06-12 10:05       ` Leo Yan
2023-06-12 10:25         ` Leo Yan
2023-06-13  3:00           ` Shuai Xue
2023-06-12  8:47     ` James Clark
2023-06-12  5:24 ` [PATCH 2/2] perf/ring_buffer: Fix high-order allocations for AUX space with correct MAX_ORDER limit Shuai Xue
2023-06-12  8:30   ` Leo Yan
2023-06-12  8:35     ` Shuai Xue
2023-06-12  8:45   ` James Clark
2023-06-12  9:09     ` Leo Yan
2023-06-13  6:42       ` Shuai Xue

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).