tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New diagnostic routine - mutex_ownable()



On Mon, 1 May 2017, Kamil Rytarowski wrote:

I find it weird to have two names which kinda mean the same thing but
also don't, and it's not immediate what the difference is, but not sure
if I can come up with better names.


I agree with this, it's very odd.. Can we just make this mutex_ownable()
a private assert in the localcount .c file? Without pushing it to other
places.

It's certainly possible. But it seemed like a sufficiently general feature that I thought it might be useful elsewhere.

If the concensus is to keep this private, I won't argue.


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index