netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Przemek Kitszel <przemyslaw.kitszel@intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Sasha Levin <sashal@kernel.org>
Cc: intel-wired-lan@lists.osuosl.org,
	Tony Nguyen <anthony.l.nguyen@intel.com>,
	netdev@vger.kernel.org, Kuniyuki Iwashima <kuniyu@google.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH 00/12] ice: split ice_virtchnl.c git-blame friendly way
Date: Tue, 12 Aug 2025 13:57:14 -0700	[thread overview]
Message-ID: <20250812135714.0e1a7ee0@kernel.org> (raw)
In-Reply-To: <20250812132910.99626-1-przemyslaw.kitszel@intel.com>

On Tue, 12 Aug 2025 15:28:58 +0200 Przemek Kitszel wrote:
> Summary:
> Split ice_virtchnl.c into two more files (+headers), in a way
> that git-blame works better.
> Then move virtchnl files into a new subdir.
> No logic changes.
> 
> I have developed (or discovered ;)) how to split a file in a way that
> both old and new are nice in terms of git-blame
> There were no much disscussion on [RFC], so I would like to propose
> to go forward with this approach.
> 
> There is more commits needed to have it nice, so it forms a git-log vs
> git-blame tradeoff, but (after the brief moment that this is on the top)
> we spend orders of magnitude more time looking at the blame output (and
> commit messages linked from that) - so I find it much better to see
> actual logic changes instead of "move xx to yy" stuff (typical for
> "squashed/single-commit splits").
> 
> Cherry-picks/rebases work the same with this method as with simple
> "squashed/single-commit" approach (literally all commits squashed into
> one (to have better git-log, but shitty git-blame output).
> 
> Rationale for the split itself is, as usual, "file is big and we want to
> extend it".
> 
> This series is available on my github (just rebased from any
> earlier mentions):
> https://github.com/pkitszel/linux/tree/virtchnl-split-Aug12
> (the simple git-email view flattens this series, removing two
> merges from the view).
> 
> 
> [RFC]:
> https://lore.kernel.org/netdev/5b94d14e-a0e7-47bd-82fc-c85171cbf26e@intel.com/T/#u
> 
> (I would really look at my fork via your preferred git interaction tool
> instead of looking at the patches below).

UI tools aside I wish you didn't cut off the diffstat from the cover
letter :/ It'd make it much easier to understand what you're splitting.

Greg, Sasha, I suspect stable will suffer the most from any file split /
movement. Do you have any recommendation on what should be allowed?

  parent reply	other threads:[~2025-08-12 20:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-12 13:28 [PATCH 00/12] ice: split ice_virtchnl.c git-blame friendly way Przemek Kitszel
2025-08-12 13:28 ` [PATCH 01/12] ice: split queue stuff out of ice_virtchnl.c - p1 Przemek Kitszel
2025-08-12 13:29 ` [PATCH 02/12] ice: split queue stuff out of ice_virtchnl.c - p2 Przemek Kitszel
2025-08-12 16:26   ` [Intel-wired-lan] " Loktionov, Aleksandr
2025-08-12 20:07   ` Paul Menzel
2025-08-13  7:38     ` Przemek Kitszel
2025-08-12 13:29 ` [PATCH 03/12] ice: extract ice_virtchnl_queues.c: cleanup - p1 Przemek Kitszel
2025-08-12 13:29 ` [PATCH 04/12] ice: extract ice_virtchnl_queues.c: cleanup - p2 Przemek Kitszel
2025-08-12 13:29 ` [PATCH 05/12] ice: split RSS stuff out of ice_virtchnl.c - p1 Przemek Kitszel
2025-08-12 13:29 ` [PATCH 06/12] ice: extract ice_virtchnl_queues.c: cleanup - p3 Przemek Kitszel
2025-08-12 13:29 ` [PATCH 07/12] ice: split RSS stuff out of ice_virtchnl.c - p2 Przemek Kitszel
2025-08-12 16:29   ` [Intel-wired-lan] " Loktionov, Aleksandr
2025-08-12 13:29 ` [PATCH 08/12] ice: finish ice_virtchnl.c split into ice_virtchnl_queues.c Przemek Kitszel
2025-08-12 13:29 ` [PATCH 09/12] ice: extract ice_virtchnl_rss.c: cleanup - p1 Przemek Kitszel
2025-08-12 13:29 ` [PATCH 10/12] ice: extract ice_virtchnl_rss.c: cleanup - p2 Przemek Kitszel
2025-08-12 13:29 ` [PATCH 11/12] ice: finish ice_virtchnl.c split into ice_virtchnl_rss.c Przemek Kitszel
2025-08-12 13:29 ` [PATCH 12/12] ice: add virt/ and move ice_virtchnl* files there Przemek Kitszel
2025-08-12 20:57 ` Jakub Kicinski [this message]
2025-08-13  5:34   ` [PATCH 00/12] ice: split ice_virtchnl.c git-blame friendly way Greg Kroah-Hartman
2025-08-13  7:33   ` Przemek Kitszel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250812135714.0e1a7ee0@kernel.org \
    --to=kuba@kernel.org \
    --cc=anthony.l.nguyen@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=kuniyu@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).