Re: [PATCH v3 02/11] locking: add define if mutex_destroy() is not an empty function

2023-12-13 Thread Waiman Long
On 12/13/23 17:30, George Stark wrote: mutex_destroy() is only a debug helper and an empty function on non-debug configurations still we can't legally ignore it because it's the established API call and it can be extended theoretically in the future. Sometimes it could be useful to know e.g. in

[PATCH v3 02/11] locking: add define if mutex_destroy() is not an empty function

2023-12-13 Thread George Stark
mutex_destroy() is only a debug helper and an empty function on non-debug configurations still we can't legally ignore it because it's the established API call and it can be extended theoretically in the future. Sometimes it could be useful to know e.g. in the higher-level API if mutex_destroy() re