[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y5xURk3CkzhIjmmq@hirez.programming.kicks-ass.net>
Date: Fri, 16 Dec 2022 12:19:34 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
Cc: rafael@...nel.org, frederic@...nel.org, daniel.lezcano@...aro.org,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
len.brown@...el.com
Subject: Re: [RFC/RFT PATCH 1/2] sched/core: Check and schedule ksoftirq
On Thu, Dec 15, 2022 at 10:42:59AM -0800, Srinivas Pandruvada wrote:
> + /* Give ksoftirqd 1 jiffy to get a chance to start its job */
> + if (!READ_ONCE(it.done) && task_is_running(__this_cpu_read(ksoftirqd))) {
> + __set_current_state(TASK_UNINTERRUPTIBLE);
> + schedule_timeout(1);
> + }
That's absolutely disgusting :-/
Powered by blists - more mailing lists