linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@logfs.org>
To: akpm@linux-foundation.org
Cc: mm-commits@vger.kernel.org, jblunck@suse.de, agruen@suse.de,
	hch@lst.de, linux-fsdevel@vger.kernel.org,
	viro@zeniv.linux.org.uk
Subject: Re: + embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt.patch added to -mm tree
Date: Mon, 5 Nov 2007 23:10:21 +0100	[thread overview]
Message-ID: <20071105221021.GC21533@lazybastard.org> (raw)
In-Reply-To: <200711052101.lA5L1Q1p019531@imap1.linux-foundation.org>

On Mon, 5 November 2007 13:01:25 -0800, akpm@linux-foundation.org wrote:
> 
> The patch titled
>      Embed a struct path into struct nameidata instead of nd->{dentry,mnt}
> has been added to the -mm tree.  Its filename is
>      embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt.patch
> 
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
> 
> See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
> out what to do about this
> 
> ------------------------------------------------------
> Subject: Embed a struct path into struct nameidata instead of nd->{dentry,mnt}
> From: Jan Blunck <jblunck@suse.de>
> 
> Switch from nd->{dentry,mnt} to nd->path.{dentry,mnt} everywhere.
> 
> Signed-off-by: Jan Blunck <jblunck@suse.de>
> Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
> Acked-by: Christoph Hellwig <hch@lst.de>
> Cc: Al Viro <viro@zeniv.linux.org.uk>
> CC: <linux-fsdevel@vger.kernel.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Frowned-upon-by: Joern Engel <joern@logfs.org>

This patch changes some 400 lines, most if not all of which get longer
and more complicated to read.  23 get sufficiently longer to require an
additional linebreak.  I can't remember complexity being invited into
the kernel without good reasoning, yet the patch description is
surprisingly low on reasoning:
> Switch from nd->{dentry,mnt} to nd->path.{dentry,mnt} everywhere.

The following two patches manage to remove 7 lines in total.  In total
23 were added, 7 removed , 400+ made longer and more complicated.  Is
there another more favorable metric?  Will this patchset prevent bugs?
Shrink the kernel size?  Anything?

If churn is the only effect of this, please considere it NAKed again.

Jörn

-- 
A surrounded army must be given a way out.
-- Sun Tzu
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2007-11-05 22:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-05 21:01 + embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt.patch added to -mm tree akpm
2007-11-05 22:10 ` Jörn Engel [this message]
2007-11-06  9:11   ` + embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt.pa tch " Jan Blunck
2007-11-06 11:30     ` Jörn Engel
2007-11-06 12:59       ` Jan Blunck
2007-11-06 13:27         ` Jörn Engel
2007-11-06 13:41         ` hooanon05
2007-11-07  9:04           ` Jan Blunck
2007-11-06 20:18       ` Andrew Morton

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=20071105221021.GC21533@lazybastard.org \
    --to=joern@logfs.org \
    --cc=agruen@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=hch@lst.de \
    --cc=jblunck@suse.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /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).