lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZwPvKST69TdcaVO8@smile.fi.intel.com>
Date: Mon, 7 Oct 2024 17:24:41 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: David Hildenbrand <david@...hat.com>
Cc: Dan Williams <dan.j.williams@...el.com>,
	"Huang, Ying" <ying.huang@...el.com>,
	Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org, linux-cxl@...r.kernel.org,
	Davidlohr Bueso <dave@...olabs.net>,
	Jonathan Cameron <jonathan.cameron@...wei.com>,
	Dave Jiang <dave.jiang@...el.com>,
	Alison Schofield <alison.schofield@...el.com>,
	Vishal Verma <vishal.l.verma@...el.com>,
	Ira Weiny <ira.weiny@...el.com>,
	Alistair Popple <apopple@...dia.com>,
	Bjorn Helgaas <bhelgaas@...gle.com>, Baoquan He <bhe@...hat.com>
Subject: Re: [PATCH -v2] Resource: fix region_intersects() for CXL memory

On Thu, Sep 05, 2024 at 02:57:34PM +0200, David Hildenbrand wrote:
> On 05.09.24 14:50, Andy Shevchenko wrote:
> > On Thu, Sep 05, 2024 at 02:42:05PM +0200, David Hildenbrand wrote:
> > > On 05.09.24 14:36, Andy Shevchenko wrote:
> > > > On Thu, Sep 05, 2024 at 01:08:35PM +0200, David Hildenbrand wrote:
> > > > > On 05.09.24 12:56, Andy Shevchenko wrote:
> > > > > > On Wed, Sep 04, 2024 at 04:58:20PM -0700, Dan Williams wrote:
> > > > > > > Huang, Ying wrote:
> > > > > > > > Andy Shevchenko <andriy.shevchenko@...ux.intel.com> writes:

[..]

> > > > > > > > > You may move Cc list after '---', so it won't unnecessarily pollute the commit
> > > > > > > > > message.
> > > > > > > > 
> > > > > > > > Emm... It appears that it's a common practice to include "Cc" in the
> > > > > > > > commit log.
> > > > > > > 
> > > > > > > Yes, just ignore this feedback, it goes against common practice. Cc list
> > > > > > > as is looks sane to me.
> > > > > > 
> > > > > > It seems nobody can give technical arguments why it's better than just keeping
> > > > > > them outside of the commit message. Mantra "common practice" nowadays is
> > > > > > questionable.
> > > > > 
> > > > > Just look at how patches look like in the git tree that Andrew picks up.
> > > > > (IIRC, he adds a bunch of CCs himself that are not even part of the original
> > > > > patch).
> > > > 
> > > > I know that and it's historical, he has a lot of the scripts that work and when
> > > > he moved to the Git it was another long story. Now you even can see how he uses
> > > > Git in his quilt approach. So, it's an exceptional and not usual workflow, hence
> > > > bad example. Try again :-)
> > > 
> > > Point is, it doesn't matter what we do in this patch here if Andrew will
> > > unify it at all.
> > 
> > Point is, that this is exceptional. And better to teach people based on better
> > practices, no?
> 
> "Better" in your opinion.

> I don't care

Exactly, that's what I pointed out as well to the previous reply to Dan:
it's matter of our care about number of things.

> about a couple of Cc lines in a git
> commit. They've been useful for me, apparently not for you.

I hardly can imagine how _nowadays_ this may be still useful in this form.
What I admit is the lore archive and Link tag is really useful. Much more
than bare Cc list.

> If you succeed in convincing Andrew to change it, then Andrew can fixup his
> scripts to remove all of these from the patches he sends out.

Maybe at some point in time. As you know he is the most conservative maintainer
(from tooling or workflow perspective), so it might take time, but I'm going to
do my best to convince people to look at this problem from different angles.

> > > > > Having in the git tree who was actually involved/CCed can be quite valuable.
> > > > > More helpful than get_maintainers.pl sometimes.
> > > > 
> > > > First of all, there is no guarantee they _were_ involved. From this perspective
> > > > having Link: tag instead has much more value and supports my side of arguments.
> > > 
> > > Link is certainly preferable. Usually when I fix a commit, I make sure to CC
> > > the people that are listed for the patch, because it at least should have
> > > ended up in their mailbox.
> > > 
> > > Often, it also helped to see if a buggy commit was at least CCed to the
> > > right persons without digging through mailing list archives.
> > 
> > How is it better than having it in lore.kernel.org in archives where you even
> > see who _actually_ participated in discussion, if any?
> 
> You might have to dig through multiple code revisions to find that out.

The Link tag will refer to the one that has been applied. It keeps not less
information as bare Cc list, but on top one may:

1) either put a few Link tags with versioning;
2) or refer to the previous version of the patches in the respective cover
letter.

> Again, I used this in the past quite successfully.
> 
> > Again, Cc neither in the Git commit, nor in the email guarantees the people
> > were involved. Having Cc in the commit just a big noise that pollutes it.
> > Especially I do not understand at all Cc: mailing-list@....bla.bla cases.
> > They are not people, they have a lot of archives besides lore.kernel.org,
> > only waste of resources in all means of that. I tried to summarize that in
> > the submitted patches to the documentation, that I referred earlier in this
> > thread to.
> 
> I, for my part, never add "Cc:" to patches or cover letters that refer to
> mailing lists. I add these manually to my git-send-email "--cc" list. I
> though Andrews script also fix that up, but I might be wrong.

I see some people / scripts? still put mailing lists to the Cc list which
comes as part of the commit messages. This is most odd part to me why.

> Anyhow, this is a discussion to be had with Andrew, not with me, so feel
> free to engage with Andrew to change is scripts to throw away all CC.

I will try, definitely.

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ