From owner-svn-src-head@FreeBSD.ORG Mon May 13 16:14:07 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 860B16B4 for ; Mon, 13 May 2013 16:14:07 +0000 (UTC) (envelope-from will@firepipe.net) Received: from mail-ia0-x22f.google.com (mail-ia0-x22f.google.com [IPv6:2607:f8b0:4001:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 575163F3 for ; Mon, 13 May 2013 16:14:07 +0000 (UTC) Received: by mail-ia0-f175.google.com with SMTP id m10so4499342iam.6 for ; Mon, 13 May 2013 09:14:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=YG/VRwhg4xUOgaqJJ+PA2PUzC6Ovt4Qi//lKGA4G2jo=; b=nFrUHyQGVoym7cZTg4GdGuQvDN/EZRa2DWNznSffnseDvBFqaxb6zwUigZy9gW2MPL jME4wUUzwbqrmiHvI4N+yuMq8c1YAZgLtXQ4Q+E6J5/8jrWK/xJ3NgC3BGIOSYQgg4E0 9YjWyYBxrmbxCzAwrQq/QGK5otLfDdtOSc2dEjIXjQOEKX8GKMqDWEw3Cs4pJPJoPPHq myC5vjcIEDM5LIT+opUqbbJNhrIbSn9iHc2PhwoWErI9+jrcumTiozd79VzX1JXftnOM UJC5xptJgsVYnnRNsSqrB+UlzW2QeANqbweiOuRnNMaSz4S7EkjjPoCtBfa9E4cO0GEA Ud3g== MIME-Version: 1.0 X-Received: by 10.50.103.102 with SMTP id fv6mr10390335igb.6.1368461646591; Mon, 13 May 2013 09:14:06 -0700 (PDT) Received: by 10.231.49.74 with HTTP; Mon, 13 May 2013 09:14:06 -0700 (PDT) In-Reply-To: <201305122149.13566.jhb@freebsd.org> References: <201305091628.r49GSI33039873@svn.freebsd.org> <201305101533.26992.jhb@freebsd.org> <201305122149.13566.jhb@freebsd.org> Date: Mon, 13 May 2013 10:14:06 -0600 Message-ID: Subject: Re: svn commit: r250411 - in head/sys: conf kern sys From: Will Andrews To: John Baldwin X-Gm-Message-State: ALoCoQk+POpOb+p/rNLFlrulLgHRUmMoF8hIFYcbo1WZC0qgI77aRA78OKnNuf3eezbFofoyLLD1 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Marcel Moolenaar , svn-src-all@freebsd.org, Marcel Moolenaar , attilio@freebsd.org, src-committers@freebsd.org, svn-src-head@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 16:14:07 -0000 On Sun, May 12, 2013 at 7:49 PM, John Baldwin 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.