Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2792985pxb; Tue, 24 Aug 2021 07:45:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNpEauScUy+yWYv7zjznZuwQe3ktAo9GXrD3g6LUWQFyJKh8ZT2XPCM94QxZcP2bbDwoEJ X-Received: by 2002:a5d:9655:: with SMTP id d21mr30622376ios.111.1629816332700; Tue, 24 Aug 2021 07:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629816332; cv=none; d=google.com; s=arc-20160816; b=X1V/weII9LBDMYljkrvabvP4Ta2jf2WvhXBQF2Ze4TiUKfqEzK+9K2syCW+KYC44Bf Cr9AY0cvq20qUqHOviMaenp0qnyWowV8awv2DyZQHvHlJMODSGs8XIp0GCmURiviSRG7 6UXkrxq8bJhi9BFqJUtvR8UWTWgDnfPNLa2U0mXG/WQoou3ScKE/RQyFe/w8YAIy5r3n lCDA6prw5tRIAa90TVPFdRbAihtEQW0hTfsRjqzhC0CyFMzZbkUYVIUHNLwmEFVW/zO5 A2lgKbpdaQvDGjbLY1gOoi4yXLrwRaNu9Dw1GfplktPLWfli2l4ehKV0Of5JTz2IIfAk fcew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IA1Q0iyJnFyXg0kf5oPdvIoooL7RmKaTRR2Z0M5Fthg=; b=noc/SSgbFHxyrOzsC3E2X6QNnfgLvk3QHA0VJStyixfZc0s7yqQTPhepodAGUutYG+ fmCCp3mIMKZhafnaH8jaFCbsnBsJVb6vh29cA63dGdovH5RktbF3W/G5989yI7HlVFAY suu2uEaF6on4rgKsHIJhVDmaE4a3Yggy2H9x3lrKET1Q/dLopDefz+xEYb4aw3Ep7VxA GjApRCD2+02z1QtmgEWNZSgRXt43cBVIbHPDy7Wr2/hPb5N11P8eiXEsElD5pMiYd4zc pDaC/1Jezn3RJsZ46N40WrqPJ/ok5IuyoWPAEZLpWKAk6jCRvG/pretfShuM420aehzc q82Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FS8AAa5y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id b24si17494181jal.12.2021.08.24.07.45.21; Tue, 24 Aug 2021 07:45:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FS8AAa5y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S237958AbhHXOoQ (ORCPT + 99 others); Tue, 24 Aug 2021 10:44:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237801AbhHXOoP (ORCPT ); Tue, 24 Aug 2021 10:44:15 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66265C061757; Tue, 24 Aug 2021 07:43:31 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id x11so44990854ejv.0; Tue, 24 Aug 2021 07:43:31 -0700 (PDT) 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=IA1Q0iyJnFyXg0kf5oPdvIoooL7RmKaTRR2Z0M5Fthg=; b=FS8AAa5yPX+3reawFSOOWtRVHJQ7tPQMeFjjRH7VU7nkTlHYw/wbhxkC3LL1Bovdqw kTVYWdZOAy9aWdGnLbbRas8VMeNxQPjzlFd9tI9uTaT2tOJE+XS2n4Ynj4Gx7/JalHrI s87lN7jG7bDzW/hKyrXEuCM7pGxWR3buoGBL3izh6Jkc2wPxbm4TNtm9BmVTGj7AYwwv Ideo+SRaOfm76cmeI1HsVzmpI/wlRmpiErBp70kO+d00hxTVtFZJ/A5s2PCaaFY/yzSi 7JEqXcjNoya+LiQKxuxjRdYWwVNVpQTspUAvpxZajHA2rKSQwWUwegxdMc1hHIosm/ri bU6w== 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=IA1Q0iyJnFyXg0kf5oPdvIoooL7RmKaTRR2Z0M5Fthg=; b=fRD2XQVJKrZmIHq1fx/uE4c3Y2zaj6Z/YtSBNSpIzw+6Hroa7tEV3I5puorJuIuxgH zWqzOkjRbzjuQKTcU0wVM85vk1t8hK2fuqDPjeB661WInZ/LsoQVrDf+Qn/SmZm3oZnV dVkeY8f3UFoU5hZB51FHwu0uV2nLY6fpRONs1hbVvUpaioAVxBBJf3tst98v8LoPN8vW KfGBLT9cb2QqCiraQ/hPB72Tq2FGcPYZsGNIU6HAy3M+CqbNWk0QQ7D1vB4qg7sxFCdO 3yD6cw7Ac+ryhCLi6/vFcqneKO3z2gj2TRAnMUdpbYBfCNUyJbL45Tc1boLw0UNkrOUT bGqw== X-Gm-Message-State: AOAM533l7aHf8dhG/e8M/qT1C2UwcfhqLBsUZJu7GKVFU07HGCQxBO0c vmHBkwSBWJ6JfokSd0QDZ2GtJKvrWMoWUZ0Yd70= X-Received: by 2002:a17:906:6c8f:: with SMTP id s15mr4302205ejr.52.1629816210025; Tue, 24 Aug 2021 07:43:30 -0700 (PDT) MIME-Version: 1.0 References: <20210810210319.6564-1-zhouzhouyi@gmail.com> In-Reply-To: From: Zhouyi Zhou Date: Tue, 24 Aug 2021 22:43:18 +0800 Message-ID: Subject: Re: [PATCH][RFC] lockdep: improve comments in wait-type checks To: Peter Zijlstra Cc: Boqun Feng , mingo@redhat.com, will@kernel.org, longman@redhat.com, paulmck@kernel.org, Josh Triplett , rostedt , Mathieu Desnoyers , Lai Jiangshan , "Joel Fernandes, Google" , linux-kernel , rcu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thank both of you for correcting my mistakes. I do benefit a lot from your emails. Cheers Zhouyi On Tue, Aug 24, 2021 at 9:47 PM Peter Zijlstra wrote: > > On Wed, Aug 11, 2021 at 10:44:21AM +0800, Boqun Feng wrote: > > Hi, > > > > On Wed, Aug 11, 2021 at 05:03:19AM +0800, Zhouyi Zhou wrote: > > > Hi Peter, > > > I think comments in wait-type checks may benifit from some comments > > > improvement. > > > > Thanks for looking into this! > > > > Even for an RFC patch, it's better that you write a proper commit log, > > and note that you can put all this background information right after > > the "---" line, if you think that will help people review it. > > > > > I recklessly add Paul to signed-off-by, because I asked his opinion > > > about comment in rcu_read_lock_bh part. > > > > > > > Probably a Suggested-by will suffice, but I leave that to Paul ;-) > > This, also since Paul never actually touched the patch. > > > > Thanks a lot > > > Zhouyi > > > > > > Signed-off-by: Zhouyi Zhou > > > Signed-off-by: Paul E. McKenney > > > > Please make you the last one in the "Signed-off-by" list, see > > Documentation/process/submitting-patches.rst: > > > > "Notably, the last Signed-off-by: must always be that of the developer > > submitting the patch." > > The first sob should be that of the author, and given that's the same > person as the submitter in this case, he's got a problem at his hands > ;-) >