Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1885670imu; Thu, 17 Jan 2019 05:02:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN77dZ18kcEtbO8n+2GpmzHdz6s0J/LbA7EGrWV8qImMz/1iRmRgGEUZqorJkkBGm9ERCRLf X-Received: by 2002:a63:cc12:: with SMTP id x18mr13376023pgf.33.1547730159855; Thu, 17 Jan 2019 05:02:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547730159; cv=none; d=google.com; s=arc-20160816; b=i1+Xn5DXnBevl/fK4SZv3nKCj8gLFO2qvMhYkOYr9wQxkL9I9TUuPEh0gdAnUwRmdj hADpgxUyCes9DhBqPbNgRBiwHXQlbSkIWmWC04o6PLO502VrpSdIibnO0MuuBYLrCL60 WXlmweIhmIWqqo7Ejs188spNs6XRQJY/pEgOlei8uWFbQXas8O93lX3rjcDe09aalhRO D7tKir/LbMSTjxzLfvo/9d58vrKUasOMVFM96xnghFlSxpbWt+dz53lJLLpYCsVwrBnT SeVx2PUwbggnrQlFPSXAwlFvl+7M860IHL4gEz/B8f9PVH6+/Dx5eU6q4dooSFxN7Eif LU7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=s3fwbbwVsofMKhpSE5fgZb9rOkZsQ89dbXltbx9H7jo=; b=PbJsmsiSGjyuuyMj/P33rdib/+C1NwxL6e7pJNIka5nt282p+hKe2VodlIhks1eHeu A0hj9LD1UHNmSjzCJNzq7Ygih4NYGeYNq4cG9uYEue9tM1+abGhYWf8E3YhO0h555HgM b2sIAnYB5oibX7xBYf4RYS0PSnCPRqqF6jh0302BO6vPUbiVh28muXpDgt2AB4ofqukc skCFRfp1Vk9DVfdzqfFulL7zWX4zInN6F7wOxRparD8CoDkbSCkzgLV7ewHwajF9V5Yb 18HXBWTIORwMs5V5X31NTie1PvUMiL7nOMFz5huzc8K6w/cD2UkU/+K8otGoQNC5K/rT USag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hokTKV3D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q140si1921899pfc.20.2019.01.17.05.02.22; Thu, 17 Jan 2019 05:02:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hokTKV3D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728009AbfAQMrs (ORCPT + 99 others); Thu, 17 Jan 2019 07:47:48 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:33968 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726065AbfAQMrs (ORCPT ); Thu, 17 Jan 2019 07:47:48 -0500 Received: by mail-io1-f67.google.com with SMTP id b16so7729734ior.1; Thu, 17 Jan 2019 04:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s3fwbbwVsofMKhpSE5fgZb9rOkZsQ89dbXltbx9H7jo=; b=hokTKV3DkuY+UmoJLIaODm8H1uM2q2eHdB2UFA9XliRcOHACcuFQSHZdlEYQlPTtq6 98+eWC348NCWG8WiLRXkNUPIVC5eGnvh5204//bX129BoryMPq085AaoSONGswxfekN0 uZvO6k/OVCOcS5icPOjl8Vlpt3toNOkB/71o0ORYjCk5dWZ4pJgPhUHZWt+/Yr12pcOu 5IvBPzZWALb7oMTu40SvC9qqe/Jcuyi9GB4/qry20ywcsDUXNjoloujbyenIVcAoJS7P X7LaUBLnRnUJxeIcIKrqVtLwsfcjZdxRB3EXVML/NRqjjC+MmhAH7lxJc6NHB07y+RZL awIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s3fwbbwVsofMKhpSE5fgZb9rOkZsQ89dbXltbx9H7jo=; b=tpXUun1qKJWWAQHJWZ5sJQPOrOzf8hAUTDyODxVTMqlaZCGGz/MiQxwSig2f0WEidK CXtX9Yo8r7VmGO4BvvC4SKDBzBBAzS2hXC3TQYGdGw3cCZHZQd0grXMMiUv6NnwD8fen E1RXtAzWZbfvF0gPkhhcqAnVw9LByKQrzX8JnpVOJqJcQPMCCvwrzXtrrmavYu0SHmat GHtW1VD3K+SEGekceasz4WJlYik7Ios37mGikCFFF/aWRUe1zSxfaUaoHzvQPsIXVNOm aT2w9/Bv0xbDRCeTHfv0nQGbWb30in9hKIdBSUYMQcDTElrs2m9vM9JNbdutYnW58K9H NORw== X-Gm-Message-State: AJcUukerrQ98AoyPEe7CJzp9AxTt8CxvYtUbXl7C9HgembKfyHiIHTmZ HJzVk380cjTRFdqa0mfedIfTI/yDx3Vln1CSCZQ= X-Received: by 2002:a6b:f814:: with SMTP id o20mr7437690ioh.129.1547729266696; Thu, 17 Jan 2019 04:47:46 -0800 (PST) MIME-Version: 1.0 References: <20180619082445.11062-1-thellstrom@vmware.com> <20180619082445.11062-3-thellstrom@vmware.com> <9c07b391c16db8b0c788afd4692cc8191baff1aa.camel@vmware.com> In-Reply-To: <9c07b391c16db8b0c788afd4692cc8191baff1aa.camel@vmware.com> From: Rob Clark Date: Thu, 17 Jan 2019 07:47:34 -0500 Message-ID: Subject: Re: [PATCH v4 2/3] locking: Implement an algorithm choice for Wound-Wait mutexes To: Thomas Hellstrom Cc: "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "peterz@infradead.org" , "dave@stgolabs.net" , "josh@joshtriplett.org" , "tglx@linutronix.de" , "linaro-mm-sig@lists.linaro.org" , "linux-media@vger.kernel.org" , "seanpaul@chromium.org" , Pv-drivers , "dri-devel@lists.freedesktop.org" , "mingo@redhat.com" , "gustavo@padovan.org" , "maarten.lankhorst@linux.intel.com" , Linux-graphics-maintainer , "kstewart@linuxfoundation.org" , "paulmck@linux.vnet.ibm.com" , "airlied@linux.ie" , "pombredanne@nexb.com" , "gregkh@linuxfoundation.org" , "linux-doc@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 16, 2019 at 11:49 AM Thomas Hellstrom wrote: > > Hi, > > On Wed, 2019-01-16 at 09:24 -0500, Rob Clark wrote: > > So, I guess this is to do w/ the magic of merge commits, but it looks > > like the hunk changing the crtc_ww_class got lost: > > So what happened here is that this commit changed it to > DEFINE_WD_CLASS > and the following commit changed it back again to > DEFINE_WW_CLASS > so that the algorithm change and only that came with the last commit. > Apparently the history of that line got lost when merging since the > merge didn't change it; git blame doesn't show it changed, but when > looking at the commit history in gitk it's all clear. I guess that's a > feature of git. > > The modeset locks now use true wound-wait rather than wait-die. ahh, ok, that makes sense. Thanks for clearing up my confusion. BR, -R