Re: [RFC PATCH v2 10/14] jobs: protect jobs with job_lock/unlock

2021-12-18 Thread Vladimir Sementsov-Ogievskiy
04.11.2021 17:53, Emanuele Giuseppe Esposito wrote: Introduce the job locking mechanism through the whole job API, following the comments and requirements of job-monitor (assume lock is held) and job-driver (lock is not held). job_{lock/unlock} is independent from_job_{lock/unlock}. Note: at th

[RFC PATCH v2 10/14] jobs: protect jobs with job_lock/unlock

2021-11-04 Thread Emanuele Giuseppe Esposito
Introduce the job locking mechanism through the whole job API, following the comments and requirements of job-monitor (assume lock is held) and job-driver (lock is not held). job_{lock/unlock} is independent from _job_{lock/unlock}. Note: at this stage, job_{lock/unlock} and job lock guard macros