mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: K Prateek Nayak <kprateek.nayak@amd.com>
To: "Bezdeka, Florian" <florian.bezdeka@siemens.com>,
	"ziqianlu@bytedance.com" <ziqianlu@bytedance.com>
Cc: "liusongtang@bytedance.com" <liusongtang@bytedance.com>,
	"dietmar.eggemann@arm.com" <dietmar.eggemann@arm.com>,
	"zhouchuyi@bytedance.com" <zhouchuyi@bytedance.com>,
	"bigeasy@linutronix.de" <bigeasy@linutronix.de>,
	"mgorman@suse.de" <mgorman@suse.de>,
	"Kiszka, Jan" <jan.kiszka@siemens.com>,
	"vincent.guittot@linaro.org" <vincent.guittot@linaro.org>,
	"chengming.zhou@linux.dev" <chengming.zhou@linux.dev>,
	"mingo@redhat.com" <mingo@redhat.com>,
	"rostedt@goodmis.org" <rostedt@goodmis.org>,
	"joshdon@google.com" <joshdon@google.com>,
	"vschneid@redhat.com" <vschneid@redhat.com>,
	"xii@google.com" <xii@google.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"peterz@infradead.org" <peterz@infradead.org>,
	"bsegall@google.com" <bsegall@google.com>,
	"juri.lelli@redhat.com" <juri.lelli@redhat.com>
Subject: Re: [PATCH v3 3/5] sched/fair: Switch to task based throttle model
Date: Thu, 4 Sep 2025 13:56:38 +0530	[thread overview]
Message-ID: <91b75418-c836-4098-9f7e-4b287598a1d7@amd.com> (raw)
In-Reply-To: <bb0f7d900a7e50d173ad462c6ed9f64a4b567785.camel@siemens.com>

Hello Florian,

On 9/4/2025 1:03 PM, Bezdeka, Florian wrote:
> Hi Aaron,
> 
> On Wed, 2025-09-03 at 19:35 +0800, Aaron Lu wrote:
>>
>>> [..snip..]
>>>>
>>
>> Just want to add that with the above diff applied, I also tested
>> songtang's stress test[0] and Jan's rt deadlock reproducer[1] and didn't
>> see any problem.
> 
> Thanks a lot for taking the reproducer into account. But: To trigger
> PREEMPT_RT needs to be enabled, otherwise the rwlock in the epoll
> infrastructure (that we highly stress) won't sleep. Just to be sure:
> PREEMPT_RT was enabled on your end?

I've too tested this series with Jan's reproducer on PREEMPT_RT and
can confirm no hang was triggered over a full weekend run lasting
more than 72Hrs with Aaron's changes applied on top of v6.16-rc6
based kernel.

> 
>>
>> [0]: https://lore.kernel.org/lkml/20250715072218.GA304@bytedance/
>> [1]: https://lore.kernel.org/all/7483d3ae-5846-4067-b9f7-390a614ba408@siemens.com/

I used the same reproducer from [1] with small modification to
run.sh to periodically move epoll-stall and epoll-stall-writer
to one particular CPU and keep changing this CPU ever minute. 

-- 
Thanks and Regards,
Prateek


  reply	other threads:[~2025-09-04  8:26 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15  7:16 [PATCH v3 0/5] Defer throttle when task exits to user Aaron Lu
2025-07-15  7:16 ` [PATCH v3 1/5] sched/fair: Add related data structure for task based throttle Aaron Lu
2025-07-15  7:16 ` [PATCH v3 2/5] sched/fair: Implement throttle task work and related helpers Aaron Lu
2025-07-15  7:16 ` [PATCH v3 3/5] sched/fair: Switch to task based throttle model Aaron Lu
2025-07-15 23:29   ` kernel test robot
2025-07-16  6:57     ` Aaron Lu
2025-07-16  7:40       ` Philip Li
2025-07-16 11:15         ` [PATCH v3 update " Aaron Lu
2025-07-16 11:27       ` [PATCH v3 " Peter Zijlstra
2025-07-16 15:20   ` kernel test robot
2025-07-17  3:52     ` Aaron Lu
2025-07-23  8:21       ` Oliver Sang
2025-07-23 10:08         ` Aaron Lu
2025-08-08  9:12   ` Valentin Schneider
2025-08-08 10:13     ` Aaron Lu
2025-08-08 11:45       ` Valentin Schneider
2025-08-12  8:48         ` Aaron Lu
2025-08-14 15:54           ` Valentin Schneider
2025-08-15  9:30             ` Aaron Lu
2025-08-22 11:07               ` Aaron Lu
2025-09-03  7:14                 ` Aaron Lu
2025-09-03  9:11                   ` K Prateek Nayak
2025-09-03 10:11                     ` Aaron Lu
2025-09-03 10:31                       ` K Prateek Nayak
2025-09-03 11:35                         ` Aaron Lu
2025-09-04  7:33                           ` Bezdeka, Florian
2025-09-04  8:26                             ` K Prateek Nayak [this message]
2025-09-04  8:40                             ` Aaron Lu
2025-08-28  3:50         ` Aaron Lu
2025-08-17  8:50   ` Chen, Yu C
2025-08-18  2:50     ` Aaron Lu
2025-08-18  3:10       ` Chen, Yu C
2025-08-18  3:12       ` Aaron Lu
2025-07-15  7:16 ` [PATCH v3 4/5] sched/fair: Task based throttle time accounting Aaron Lu
2025-08-18 14:57   ` Valentin Schneider
2025-08-19  9:34     ` Aaron Lu
2025-08-19 14:09       ` Valentin Schneider
2025-08-26 14:10       ` Michal Koutný
2025-08-27 15:16         ` Valentin Schneider
2025-08-28  6:06         ` Aaron Lu
2025-08-26  9:15     ` Aaron Lu
2025-07-15  7:16 ` [PATCH v3 5/5] sched/fair: Get rid of throttled_lb_pair() Aaron Lu
2025-07-15  7:22 ` [PATCH v3 0/5] Defer throttle when task exits to user Aaron Lu
2025-08-01 14:31 ` Matteo Martelli
2025-08-04  7:52   ` Aaron Lu
2025-08-04 11:18     ` Valentin Schneider
2025-08-04 11:56       ` Aaron Lu
2025-08-08 16:37     ` Matteo Martelli
2025-08-04  8:51 ` K Prateek Nayak
2025-08-04 11:48   ` Aaron Lu
2025-08-27 14:58 ` Valentin Schneider

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=91b75418-c836-4098-9f7e-4b287598a1d7@amd.com \
    --to=kprateek.nayak@amd.com \
    --cc=bigeasy@linutronix.de \
    --cc=bsegall@google.com \
    --cc=chengming.zhou@linux.dev \
    --cc=dietmar.eggemann@arm.com \
    --cc=florian.bezdeka@siemens.com \
    --cc=jan.kiszka@siemens.com \
    --cc=joshdon@google.com \
    --cc=juri.lelli@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liusongtang@bytedance.com \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=vincent.guittot@linaro.org \
    --cc=vschneid@redhat.com \
    --cc=xii@google.com \
    --cc=zhouchuyi@bytedance.com \
    --cc=ziqianlu@bytedance.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®