Messages in this thread | | | Date | Thu, 15 Dec 2005 09:48:07 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation |
| |
On Thu, 15 Dec 2005, David Howells wrote: > > FROM TO > ============================== ========================= > DECLARE_MUTEX DECLARE_SEM_MUTEX > DECLARE_MUTEX_LOCKED DECLARE_SEM_MUTEX_LOCKED > Proper counting semaphore DECLARE_SEM
That sounds fine. I wouldn't be adverse to doing that - but it would have to be independently of any other changes, and it would need to simmer for a while for out-of-tree drivers etc to notice (ie you should _not_ just introduce a new "DECLARE_MUTEX()" immediately to confuse things).
The patch could probably be fairly trivially generated with some trivial sed-script. Not that I'll take it at this point, but after the next release..
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |