svn commit: r250411 - in head/sys: conf kern sys

Will Andrews will at firepipe.net
Mon May 13 16:14:07 UTC 2013


On Sun, May 12, 2013 at 7:49 PM, John Baldwin <jhb at freebsd.org> wrote:

> Also, while LK_NOWITESS works fine for lockmgr's API (it already takes a
> flag
> argument), having that sort of thing in our other lock APIs is messier
> (they
> generally do not have flags).  This is why a per-thread flag seemed
> simpler to
> me for this as you don't have to change umpteen locking APIs to add a new
> flags field.
>

Another problem is that approach is far too blunt; in most cases false
positive LORs are specific to a particular pair of instances of locks.
 You'd probably still want to receive witness notifications for other LORs.

--Will.


More information about the svn-src-all mailing list