Re: [PATCH v3 10/16] jobs: protect jobs with job_lock/unlock

2022-01-19 Thread Paolo Bonzini
On 1/5/22 15:02, 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 real_job_{lock/unlock}. Note: a

[PATCH v3 10/16] jobs: protect jobs with job_lock/unlock

2022-01-05 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 real_job_{lock/unlock}. Note: at this stage, job_{lock/unlock} and job lock guard ma