[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250109102122.GQ20870@noisy.programming.kicks-ass.net>
Date: Thu, 9 Jan 2025 11:21:22 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: I Hsin Cheng <richard120310@...il.com>
Cc: mingo@...hat.com, juri.lelli@...hat.com, vincent.guittot@...aro.org,
dietmar.eggemann@....com, rostedt@...dmis.org, bsegall@...gle.com,
mgorman@...e.de, vschneid@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH] sched/fair: Refactor can_migrate_task() to elimate
looping
On Thu, Jan 09, 2025 at 06:12:22PM +0800, I Hsin Cheng wrote:
> > > Except you cannot put cpumask on-stack...
>
> Oh I'm sorry, may I ask the reason? is it because cpumask tends to be
> very large?
Yes, when building with NR_CPUS=8192 (as Distos tend to do) it is 1K of
stack space.
Powered by blists - more mailing lists