Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation

Christopher Friesen
2005-12-13T14:59:53Z

Arjan van de Ven wrote:
> On Tue, 2005-12-13 at 08:35 -0600, Christopher Friesen wrote:

>>In this case, introducing a new API means the changes can be made over time.
>
>
> in this case, doing this change gradual I think is a mistake. We should
> do all of the in-kernel code at least...

This means verifying all the users before patch submission, which may be
problematic.

I guess the point I'm trying to make is that if you create a new API you
have the option of converting the obvious cases first, which should
cover the majority of users. Anywhere the behaviour is non-obvious can
be left using the old API, and the out-of-tree users will continue to
work correctly.

Chris