From: Leo Yan <leo.yan@arm.com>
To: Dev Jain <dev.jain@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>, Will Deacon <will@kernel.org>,
Yabin Cui <yabinc@google.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Namhyung Kim <namhyung@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Jiri Olsa <jolsa@kernel.org>, Ian Rogers <irogers@google.com>,
Adrian Hunter <adrian.hunter@intel.com>,
James Clark <james.clark@linaro.org>,
Tamas Petz <tamas.petz@arm.com>,
Tamas Zsoldos <tamas.zsoldos@arm.com>,
Michiel van Tol <michiel.vantol@arm.com>,
linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] perf/aux: Avoid reclaim for optional higher-order allocations
Date: Thu, 26 Nov 2026 09:20:29 +0000 [thread overview]
Message-ID: <20261126092029.GC7209@e132581.arm.com> (raw)
In-Reply-To: <57d719b3-c701-455b-b467-1f50dd07850e@arm.com>
On Thu, Nov 26, 2026 at 11:08:10AM +0530, Dev Jain wrote:
>
>
> On 25/11/26 5:24 pm, Leo Yan wrote:
> > PERF_AUX_GFP includes GFP_KERNEL, which contains __GFP_RECLAIM. On
> > fragmented systems, costly AUX allocations can wake kswapd. When perf
> > falls back to lower orders, the allocating task can stall in direct
> > reclaim or compaction. Yabin Cui reported that the resulting memory
>
> When perf falls back to lower orders, how can the allocating task stall
> in direct reclaim? It stalls when it is performing the high order allocation.
>
> So let us write this as:
>
> "On fragmented systems, costly AUX allocations can wake kswapd/kcompactd,
> or worse, they can stall in direct reclaim/compaction."
Will do.
> Reviewed-by: Dev Jain <dev.jain@arm.com>
Thanks for review, Dev and Yabin!
prev parent reply other threads:[~2026-11-26 9:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 11:54 [PATCH v2] perf/aux: Avoid reclaim for optional higher-order allocations Leo Yan
2026-11-25 12:03 ` sashiko-bot
2026-11-25 18:13 ` Yabin Cui
2026-11-26 5:38 ` Dev Jain
2026-11-26 9:20 ` Leo Yan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261126092029.GC7209@e132581.arm.com \
--to=leo.yan@arm.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=dev.jain@arm.com \
--cc=irogers@google.com \
--cc=james.clark@linaro.org \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=michiel.vantol@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=tamas.petz@arm.com \
--cc=tamas.zsoldos@arm.com \
--cc=will@kernel.org \
--cc=yabinc@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.