* Re: [PATCH net-next v2] docs: try to encourage (netdev?) reviewers
2023-10-11 2:42 [PATCH net-next v2] docs: try to encourage (netdev?) reviewers Jakub Kicinski
@ 2023-10-11 8:47 ` Bagas Sanjaya
2023-10-12 0:14 ` Florian Fainelli
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2023-10-11 8:47 UTC (permalink / raw)
To: Jakub Kicinski, davem
Cc: netdev, edumazet, pabeni, corbet, workflows, linux-doc, andrew,
jesse.brandeburg, sd, horms, przemyslaw.kitszel, f.fainelli, jiri,
ecree.xilinx
[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]
On Tue, Oct 10, 2023 at 07:42:24PM -0700, Jakub Kicinski wrote:
> +Another technique that is useful in case of a disagreement is to ask for others
> +to chime in. If a discussion reaches a stalemate after a few exchanges,
> +then call for opinions of other reviewers or maintainers. Often those in
> +agreement with a reviewer remain silent unless called upon.
> +The opinion of multiple people carries exponentially more weight.
or no conclusing replies?
> +
> +There is no strict requirement to use specific tags like ``Reviewed-by``.
> +In fact reviews in plain English are more informative and encouraged
> +even when a tag is provided, e.g. "I looked at aspects A, B and C of this
> +submission and it looks good to me."
> +Some form of a review message or reply is obviously necessary otherwise
> +maintainers will not know that the reviewer has looked at the patch at all!
> +
So a bare Reviewed-by: tag is enough to be a reviewer, right?
> +Last but not least patch review may become a negative process, focused
> +on pointing out problems. Please throw in a compliment once in a while,
> +particularly for newbies!
... to encourage them contributing more.
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH net-next v2] docs: try to encourage (netdev?) reviewers
2023-10-11 2:42 [PATCH net-next v2] docs: try to encourage (netdev?) reviewers Jakub Kicinski
2023-10-11 8:47 ` Bagas Sanjaya
@ 2023-10-12 0:14 ` Florian Fainelli
2023-10-12 7:55 ` Martin Habets
2023-10-15 13:30 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2023-10-12 0:14 UTC (permalink / raw)
To: Jakub Kicinski, davem
Cc: netdev, edumazet, pabeni, corbet, workflows, linux-doc, andrew,
jesse.brandeburg, sd, horms, przemyslaw.kitszel, jiri,
ecree.xilinx
On 10/10/2023 7:42 PM, Jakub Kicinski wrote:
> Add a section to netdev maintainer doc encouraging reviewers
> to chime in on the mailing list.
>
> The questions about "when is it okay to share feedback"
> keep coming up (most recently at netconf) and the answer
> is "pretty much always".
>
> Extend the section of 7.AdvancedTopics.rst which deals
> with reviews a little bit to add stuff we had been recommending
> locally.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
LGTM!
--
Florian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next v2] docs: try to encourage (netdev?) reviewers
2023-10-11 2:42 [PATCH net-next v2] docs: try to encourage (netdev?) reviewers Jakub Kicinski
2023-10-11 8:47 ` Bagas Sanjaya
2023-10-12 0:14 ` Florian Fainelli
@ 2023-10-12 7:55 ` Martin Habets
2023-10-15 13:30 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 5+ messages in thread
From: Martin Habets @ 2023-10-12 7:55 UTC (permalink / raw)
To: Jakub Kicinski
Cc: davem, netdev, edumazet, pabeni, corbet, workflows, linux-doc,
andrew, jesse.brandeburg, sd, horms, przemyslaw.kitszel,
f.fainelli, jiri, ecree.xilinx
On Tue, Oct 10, 2023 at 07:42:24PM -0700, Jakub Kicinski wrote:
> Add a section to netdev maintainer doc encouraging reviewers
> to chime in on the mailing list.
>
> The questions about "when is it okay to share feedback"
> keep coming up (most recently at netconf) and the answer
> is "pretty much always".
>
> Extend the section of 7.AdvancedTopics.rst which deals
> with reviews a little bit to add stuff we had been recommending
> locally.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Martin Habets <habetsm.xilinx@gmail.com>
> --
> v2:
> - grammar fixes from Donald
> - remove parenthesis around a quote
> v1: https://lore.kernel.org/all/20231009225637.3785359-1-kuba@kernel.org/
> - spelling (compliment)
> - move to common docs:
> - ask for more opinions
> - use of tags
> - compliments
> - ask less experienced reviewers to avoid style comments
> (using Florian's wording)
>
> CC: andrew@lunn.ch
> CC: jesse.brandeburg@intel.com
> CC: sd@queasysnail.net
> CC: horms@verge.net.au
> CC: przemyslaw.kitszel@intel.com
> CC: f.fainelli@gmail.com
> CC: jiri@resnulli.us
> CC: ecree.xilinx@gmail.com
> ---
> Documentation/process/7.AdvancedTopics.rst | 18 ++++++++++++++++++
> Documentation/process/maintainer-netdev.rst | 15 +++++++++++++++
> 2 files changed, 33 insertions(+)
>
> diff --git a/Documentation/process/7.AdvancedTopics.rst b/Documentation/process/7.AdvancedTopics.rst
> index bf7cbfb4caa5..43291704338e 100644
> --- a/Documentation/process/7.AdvancedTopics.rst
> +++ b/Documentation/process/7.AdvancedTopics.rst
> @@ -146,6 +146,7 @@ pull. The git request-pull command can be helpful in this regard; it will
> format the request as other developers expect, and will also check to be
> sure that you have remembered to push those changes to the public server.
>
> +.. _development_advancedtopics_reviews:
>
> Reviewing patches
> -----------------
> @@ -167,6 +168,12 @@ comments as questions rather than criticisms. Asking "how does the lock
> get released in this path?" will always work better than stating "the
> locking here is wrong."
>
> +Another technique that is useful in case of a disagreement is to ask for others
> +to chime in. If a discussion reaches a stalemate after a few exchanges,
> +then call for opinions of other reviewers or maintainers. Often those in
> +agreement with a reviewer remain silent unless called upon.
> +The opinion of multiple people carries exponentially more weight.
> +
> Different developers will review code from different points of view. Some
> are mostly concerned with coding style and whether code lines have trailing
> white space. Others will focus primarily on whether the change implemented
> @@ -176,3 +183,14 @@ security issues, duplication of code found elsewhere, adequate
> documentation, adverse effects on performance, user-space ABI changes, etc.
> All types of review, if they lead to better code going into the kernel, are
> welcome and worthwhile.
> +
> +There is no strict requirement to use specific tags like ``Reviewed-by``.
> +In fact reviews in plain English are more informative and encouraged
> +even when a tag is provided, e.g. "I looked at aspects A, B and C of this
> +submission and it looks good to me."
> +Some form of a review message or reply is obviously necessary otherwise
> +maintainers will not know that the reviewer has looked at the patch at all!
> +
> +Last but not least patch review may become a negative process, focused
> +on pointing out problems. Please throw in a compliment once in a while,
> +particularly for newbies!
> diff --git a/Documentation/process/maintainer-netdev.rst b/Documentation/process/maintainer-netdev.rst
> index 09dcf6377c27..7feacc20835e 100644
> --- a/Documentation/process/maintainer-netdev.rst
> +++ b/Documentation/process/maintainer-netdev.rst
> @@ -441,6 +441,21 @@ in a way which would break what would normally be considered uAPI.
> new ``netdevsim`` features must be accompanied by selftests under
> ``tools/testing/selftests/``.
>
> +Reviewer guidance
> +-----------------
> +
> +Reviewing other people's patches on the list is highly encouraged,
> +regardless of the level of expertise. For general guidance and
> +helpful tips please see :ref:`development_advancedtopics_reviews`.
> +
> +It's safe to assume that netdev maintainers know the community and the level
> +of expertise of the reviewers. The reviewers should not be concerned about
> +their comments impeding or derailing the patch flow.
> +
> +Less experienced reviewers are highly encouraged to do more in-depth
> +review of submissions and not focus exclusively on trivial or subjective
> +matters like code formatting, tags etc.
> +
> Testimonials / feedback
> -----------------------
>
> --
> 2.41.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next v2] docs: try to encourage (netdev?) reviewers
2023-10-11 2:42 [PATCH net-next v2] docs: try to encourage (netdev?) reviewers Jakub Kicinski
` (2 preceding siblings ...)
2023-10-12 7:55 ` Martin Habets
@ 2023-10-15 13:30 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-10-15 13:30 UTC (permalink / raw)
To: Jakub Kicinski
Cc: davem, netdev, edumazet, pabeni, corbet, workflows, linux-doc,
andrew, jesse.brandeburg, sd, horms, przemyslaw.kitszel,
f.fainelli, jiri, ecree.xilinx
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:
On Tue, 10 Oct 2023 19:42:24 -0700 you wrote:
> Add a section to netdev maintainer doc encouraging reviewers
> to chime in on the mailing list.
>
> The questions about "when is it okay to share feedback"
> keep coming up (most recently at netconf) and the answer
> is "pretty much always".
>
> [...]
Here is the summary with links:
- [net-next,v2] docs: try to encourage (netdev?) reviewers
https://git.kernel.org/netdev/net-next/c/6e55b1cbf05d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 5+ messages in thread