[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [RFC PATCH 0/3] xen/spinlock: make recursive spinlocks a dedicated type
On 15/12/2022 08:03, Juergen Gross wrote: Might be, but do we really want that?Wouldn't it make more sense to let the user explicitly say that he wants a lock to be taken non-recursively? Allowing "spin_lock()" would add some more risk touse it by accident e.g. because of copy/paste without noticing that it is arecursive lock that is taken non-recursively. Same applies for patch reviews.I'd prefer to make this easily visible. FWIW, +1. Cheers, -- Julien Grall
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |