[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250609175251.1fc90ca5@gandalf.local.home>
Date: Mon, 9 Jun 2025 17:52:51 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: Prakash Sangappa <prakash.sangappa@...cle.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"peterz@...radead.org" <peterz@...radead.org>,
"mathieu.desnoyers@...icios.com" <mathieu.desnoyers@...icios.com>,
"tglx@...utronix.de" <tglx@...utronix.de>, "kprateek.nayak@....com"
<kprateek.nayak@....com>, "vineethr@...ux.ibm.com" <vineethr@...ux.ibm.com>
Subject: Re: [PATCH V5 1/6] Sched: Scheduler time slice extension
On Mon, 9 Jun 2025 16:55:32 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> So I applied your patches and fixed up my "extend-sched.c" program to use
> your method. I booted on bare-metal PREEMPT_RT and ran:
In case anyone else wants to play, I'm attaching the source of extend-sched.c
I ran it with: sleep 5; ./extend-sched
Then switched over to cyclic test, counted to five and it was pretty
noticeable when it triggered.
To build, simply do:
$ cd linux.git
$ mkdir /tmp/extend
$ cp tools/testing/selftests/rseq/rseq-abi.h /tmp/extend
$ cd /tmp/extend
[ download extend-sched.c here ]
$ gcc extend-sched.c -o extend-sched
-- Steve
View attachment "extend-sched.c" of type "text/x-c++src" (9189 bytes)
Powered by blists - more mailing lists