Re: [PATCH] perf/x86: Add cond_resched() when allocate/release DS buffers

From: Peter Zijlstra

Date: Tue Oct 28 2025 - 10:15:22 EST


On Mon, Oct 27, 2025 at 02:27:24PM -0700, Namhyung Kim wrote:
> On large systems, it's possible to trigger sched latency warning during
> the DS buffer allocation or release. Add cond_resched() to avoid it.

We're >.< close to deleting cond_resched(), it makes absolutely no sense
adding more.