Re: [PATCH v3 05/10] x86/fpu/xstate: Define new functions for clearing fpregs and xstates

From: Borislav Petkov
Date: Wed Apr 29 2020 - 13:32:35 EST


On Wed, Apr 29, 2020 at 10:02:46AM -0700, Yu-cheng Yu wrote:
> It has been some time since Thomas commented on this tail comment.
> https://lore.kernel.org/lkml/alpine.DEB.2.21.1908161703010.1923@xxxxxxxxxxxxxxxxxxxxxxx/
>
> I think why not fixing it while at it.

So "fixing it" means removing it or putting it *over* the line?

If you think the comment is obvious and superfluous, then say so in the
commit message "remove obvious side-comment in fpu__clear(), while at
it." to let readers know *why* you've done it, especially since it is a
side-change, not really related to what the patch is trying to do.

Otherwise, readers like me wonder: why is he doing that? What else is
he doing in that patch that doesn't belong here? Why isn't that patch
straightforward doing one thing and one thing only and doing other
stuff?

This certainly doesn't make review easier.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette