Re: [RFC][PATCH 1/2] sched: Extended scheduler time slice

From
Matthew Wilcox <willy@infradead.org>
Date
2025-02-02 07:22:14
Also in
linux-mm, lkml
Reply to
Steven Rostedt, 2025-02-02
On Sat, Feb 01, 2025 at 10:22:08PM -0500, Steven Rostedt wrote:
And before seeing Peter's use of yield(), I was reluctant to use it for
the very same reasons you mentioned above. In my test programs, I was
simply using getuid(), as that was one of the quickest syscalls.
Is getuid() guaranteed to issue a syscall?  It feels like the kind of
information that a tricksy libc could cache.  Traditionally, I think
we've used getppid() as the canonical "very cheap syscall" as no layer
can cache that information.
Thread (29 messages) 29 messages, 6 authors, last reply 2025-02-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help