Re: [PATCH RFC v7 03/23] dept: Add single event dependency tracker APIs

2023-01-18 Thread Thomas Gleixner
On Mon, Jan 09 2023 at 12:33, Byungchul Park wrote: > +/* > + * sdt_might_sleep() and its family will be committed in __schedule() > + * when it actually gets to __schedule(). Both dept_request_event() and > + * dept_wait() will be performed on the commit. > + */ > + > +/* > + * Use the code locati

[PATCH RFC v7 03/23] dept: Add single event dependency tracker APIs

2023-01-08 Thread Byungchul Park
Wrapped the base APIs for easier annotation on wait and event. Start with supporting waiters on each single event. More general support for multiple events is a future work. Do more when the need arises. How to annotate (the simplest way): 1. Initaialize a map for the interesting wait. /*