Re: [PATCH 1/2] locking/mutex: Clean up mutex.h

From: Waiman Long
Date: Mon Feb 12 2024 - 22:28:52 EST

On 2/11/24 18:28, George Stark wrote:

Excuse me, this is my 4th letter here since December 2023 and there's no response unfortunately.

Just to recall that we had the discussion in December 2023 about implementing devm_mutex_init. We came to conclusion that the only effective way to do it in include/linux/mutex.h but mutex.h requires
some cleanups to simplify the devm_mutex_init patch.
mutex.h owners proposed such a cleanup patch themselves and there's no progress since that. How can we move forward on those patches?

Cleanup patch:

Original problem that requires devm_mutex_init and discussion:

Sorry for my late reply. My cleanup patch was sent at the later half of Dec 2023. It is probably not a good time as maintainers are either busy or taking time off. I have resent the patch again with other cleanup patches. Hopefully those patches can be merged soon.