From: Linus Torvalds <torvalds@linux-foundation.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: David Howells <dhowells@redhat.com>,
akpm@linux-foundation.org, steved@redhat.com,
jens.axboe@oracle.com, linux-cachefs@redhat.com,
nfsv4@linux-nfs.org, linux-fsdevel@vger.kernel.org,
cluster-devel@redhat.com, linux-kernel@vger.kernel.org,
linux-cifs-client@lists.samba.org
Subject: Re: [PATCH] SLOW_WORK: Move slow_work's proc file to debugfs
Date: Tue, 1 Dec 2009 08:24:52 -0800 (PST) [thread overview]
Message-ID: <alpine.LFD.2.00.0912010821170.2872@localhost.localdomain> (raw)
In-Reply-To: <20091201161455.GB24897@elte.hu>
On Tue, 1 Dec 2009, Ingo Molnar wrote:
>
> Nice - thanks for doing this so quickly! It might sound like nitpicking
> but /proc ABIs tend to be a lot harder to get rid of than debugfs
> interfaces.
Ok, I applied it, so we'll not switch interfaces (even if they are just
for debugging) across releases.
Btw David, for things like this, it's _really_ nice to use git rename
detection. The diffstat (w/ summary) with rename detection looks like
this:
Documentation/slow-work.txt | 4 ++--
include/linux/slow-work.h | 8 ++++----
init/Kconfig | 8 ++++----
kernel/Makefile | 2 +-
kernel/{slow-work-proc.c => slow-work-debugfs.c} | 4 ++--
kernel/slow-work.c | 18 ++++++++++++------
kernel/slow-work.h | 6 +++---
7 files changed, 28 insertions(+), 22 deletions(-)
rename kernel/{slow-work-proc.c => slow-work-debugfs.c} (97%)
which makes it obvious that the changes were really just about renaming.
Compare to the non-rename-aware one:
Documentation/slow-work.txt | 4 +-
include/linux/slow-work.h | 8 +-
init/Kconfig | 8 +-
kernel/Makefile | 2 +-
kernel/slow-work-debugfs.c | 227 +++++++++++++++++++++++++++++++++++++++++++
kernel/slow-work-proc.c | 227 -------------------------------------------
kernel/slow-work.c | 18 +++-
kernel/slow-work.h | 6 +-
8 files changed, 253 insertions(+), 247 deletions(-)
create mode 100644 kernel/slow-work-debugfs.c
delete mode 100644 kernel/slow-work-proc.c
where you can kind of guess that slow-work-[proc|debugfs].c are largely
the same, but you don't actually _see_ that it only has four lines of
changes (and the patch then shows that the changes are just to comments).
Linus
next prev parent reply other threads:[~2009-12-01 16:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-01 15:36 David Howells
2009-12-01 16:14 ` Ingo Molnar
2009-12-01 16:24 ` Linus Torvalds [this message]
2009-12-01 17:11 ` Ingo Molnar
2009-12-01 17:26 ` David Howells
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=alpine.LFD.2.00.0912010821170.2872@localhost.localdomain \
--to=torvalds@linux-foundation.org \
--cc=akpm@linux-foundation.org \
--cc=cluster-devel@redhat.com \
--cc=dhowells@redhat.com \
--cc=jens.axboe@oracle.com \
--cc=linux-cachefs@redhat.com \
--cc=linux-cifs-client@lists.samba.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=nfsv4@linux-nfs.org \
--cc=steved@redhat.com \
/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
all inboxes | Powered by JetHome®