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

Will Andrews will at firepipe.net
Wed May 15 04:53:54 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.
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"


More information about the svn-src-head mailing list