mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Jackson <pj@sgi.com>
To: Mike Travis <travis@sgi.com>
Cc: mingo@elte.hu, tglx@linutronix.de, hpa@zytor.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] x86: add cpuset_scnprintf function
Date: Wed, 2 Apr 2008 05:39:49 -0500	[thread overview]
Message-ID: <20080402053949.8f71b31d.pj@sgi.com> (raw)
In-Reply-To: <47F33A1D.3050301@sgi.com>

Mike wrote:
> I wanted to not break current apps unmercifully, but perhaps I should
> default it to the "non-compatible" mode (and adjust the schedstat version
> to indicate this)?  [It's the only output that I found that seemed to care.]

It doesn't matter which way you set the default.  My concerns apply
either way.  I don't think your reply addressed my concerns.


> I know if I'm a user and I'm really interested in understanding
> the outputs when there's hundreds and hundreds of cpus, then the
> more compact format is much more useful.

That's not sufficient reason to change an API visible across the
kernel-user boundary.


> Plus I was under the impression that one of the basic tenets of Linux
> was that API's can and will change?

Kernel internals have a relatively lower barrier to API changes.

Kernel API's visible to kernel drivers or loadable modules have a
higher barrier to change.

Kernel API's visible to user space, such as this one, have a much
higher barrier to incompatible change.

I hesitate to NAQ patches because I strike out more often than someone
like Al Viro.  But I'm getting tempted on this one.

Perhaps you could write yourself a user utility that scanned its input
for masks in legacy format, converted them to list format, and passed
all else unscathed?

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.940.382.4214

  reply	other threads:[~2008-04-02 10:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01 22:54 Mike Travis
2008-04-01 22:54 ` [PATCH 1/3] " Mike Travis
2008-04-01 22:54 ` [PATCH 2/3] x86: modify show_shared_cpu_map in intel_cacheinfo Mike Travis
2008-04-01 22:54 ` [PATCH 3/3] cpumask: use new cpuset_scnprintf function Mike Travis
2008-04-02  6:20 ` [PATCH 0/3] x86: add " Paul Jackson
2008-04-02  7:47   ` Mike Travis
2008-04-02 10:39     ` Paul Jackson [this message]
2008-04-02 14:36   ` Mike Travis
2008-04-02 15:28     ` Paul Jackson

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=20080402053949.8f71b31d.pj@sgi.com \
    --to=pj@sgi.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=travis@sgi.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®