From owner-svn-src-all@FreeBSD.ORG Mon May 13 16:14:07 2013 Return-Path: Delivered-To: svn-src-all@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 935456B5 for ; Mon, 13 May 2013 16:14:07 +0000 (UTC) (envelope-from will@firepipe.net) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 6509A3F4 for ; Mon, 13 May 2013 16:14:07 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id u16so12734293iet.14 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=b44kVKW573PwnbcxY5mGfENw6PAa3OthWWRU3LY2taaNMQaYsFLZIBRO584I1OJYMa FWMlEBrEUhDS2sU+Plm3LyzEfe3rBhomBbtNzUunNE5/B/KrUcw6RWSApDH6sXh1UMWk igS4OnlMLOcyzIF/lbDnu1Q9pU+7edPxlDfZJ44enajWG8K8Wd+27jl3Cs/lxW9i1e5P hN0bZXk4yZnAvWjE2UoGg4qnxDO885ys7sk/ufQLJ4l3N1w+kpWQTk9hZZwsE3ssiaoh +PfNGME3LJBTTcFSKBRZR4WgZvxoeYbc2H+nYriBORwHEAWLL7Sxe6aEi/MM4n8sJe+k 8I1Q== 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: ALoCoQlNzqvUyVQCK+g2iWDyRs+du/twavZZgJ6XGj0X/yzBn2HehGvH3gOGp7mT/M4GGNaPWgsO 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" 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.