|
|
Subscribe / Log in / New account

Short waits with umwait

Short waits with umwait

Posted Jun 17, 2019 3:01 UTC (Mon) by ncm (guest, #165)
In reply to: Short waits with umwait by xywang
Parent article: Short waits with umwait

The kernel would need to resume the thread after the wait, as the deadline would certainly have passed. It could resume at the instruction, but that would break immediately so there would be no point -- unless sleeps longer than a scheduling interval were permitted, which seems unlikely.

But probably you would run this on an isolcpu, with nohz, and hope never to get scheduled out.

It appears I have not yet discovered a formula that guarantees no schedule breaks, ever. I would welcome enlightenment.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds