public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Jackson <pj@sgi.com>
To: Paul Jackson <pj@sgi.com>, William Lee Irwin III <wli@holomorphy.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: bitmap, cpumask_arith (was: 2.6.6-rc1-mm1)
Date: Tue, 20 Apr 2004 14:17:13 -0700	[thread overview]
Message-ID: <20040420141713.3974e13b.pj@sgi.com> (raw)
In-Reply-To: <20040419113950.6f34f435.pj@sgi.com>

[I sent this message 24 hours ago, but don't see it on lkml - try again. - pj]

Ok ... lets see here.

This message is in reply to 4 messages from Bill Irwin, dated:
  Sat, 17 Apr 2004 19:26:38 -0700
  Sun, 18 Apr 2004 23:29:14 -0700
  Sun, 18 Apr 2004 23:49:43 -0700
  Mon, 19 Apr 2004 00:06:43 -0700


> I'm having enough trouble remembering what Paul Jackson's take on things

My take was that in my work-in-progress bitmap/cpumask patches, I have:

  1) Slightly strengthened the constraints (post-conditions) on
     bitmap ops to not set tail bits so long as none were set on
     input.  This mostly means that the complement operator zeros
     out the tail.  The operators that return scalar (weight,
     for example) or boolean (empty and full, for example) are
     still careful to avoid depending on the state of the tail.

     This changes Bill Irwin's "don't care" rule into a "don't
     care, but don't pollute further" rule.

  2) Removed cpumask_arith entirely, along with 30 odd other files,
     to be replaced by a single cpumask.h set of macros, layered
     rather thinly on top of bitmap/bitop.


> The important aspect of these is that they're pertinent to small SMP
> systems, ...

I tried making this point before, but failed to communicate.  Let me try
again.  So far as I know, there is no instance in current Linux kernel
code using this cpumask facility that is affected (currently broken) by
the cpumask_arith bugs addressed by Bill's patch.  Do you know of any
breakage in other _current_ code caused by these cpumask_arith bugs,
Bill?

As a consequence of my seeing nothing else yet overtly busted by this,
it was, and remains, my recommendation to Bill to hold off on these
patches.  Little sense in correcting the semantics of a piece of code
that I expected to remove shortly anyway, if nothing else cared for now.

However, I realize that Bill takes considerable pride in his work, and
would like to see this fixed.  It's not worth a big fuss, either way,
so far as I can tell.


> Paul, please remove akpm from the cc: list

I have removed akpm from this reply.


> the users of small SMP systems who are affected by the bug(s) you
> reported.

I am unaware that any user of any small SMP (or other) system
is affected by these bugs.


> If you could review and/or send approval or the like that would be
> very helpful ...

If we can agree on the actual state of affairs, then I will readily
agree to such to Andrew, and let him decide on the merits and
appropriate timing of this patch.

>From what I know now, this would mean telling Andrew, of Bill's patch:

  This patch fixes some bugs in the small SMP system (2 to 32 CPU) flavor
  of cpumasks.  From what we know now, these bugs aren't breaking any
  other existing code, but they are an accident waiting to happen.
  If Paul Jackson's bitmap/cpumask rework is adapted in the future,
  then this code being patched would be replaced anyway.  But for now,
  these fixes are a definite improvement.

If this does not seem like a correct statement of affairs, lets hash
that out.  Then when we agree, you should present your patch to him on
the lkml again, and I will gladly chime in with my endorsement.

Unless, of course, you change your mind and decide to hold off on this
patch, to which I would even more readily agree <grin>.


> I have taken issue only where I believe you need to acquire arch
> maintainer feedback.

And I have agreed that this is an excellent request.  I was out on
vacation last week, and hesitated to start the arch maintainer discussion
the week before, knowing that I would be on vacation, and not wanting to
start something I would not be around to follow through on.

But I am back now, and expect later this week to begin that discussion,
as you have recommended.

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

  reply	other threads:[~2004-04-20 22:16 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-19  6:01 2.6.6-rc1-mm1 Andrew Morton
2004-04-19  6:29 ` 2.6.6-rc1-mm1 William Lee Irwin III
2004-04-19  6:42   ` 2.6.6-rc1-mm1 Andrew Morton
2004-04-19  6:49     ` 2.6.6-rc1-mm1 William Lee Irwin III
2004-04-19  7:06       ` 2.6.6-rc1-mm1 William Lee Irwin III
2004-04-19 18:39         ` bitmap, cpumask_arith (was: 2.6.6-rc1-mm1) Paul Jackson
2004-04-20 21:17           ` Paul Jackson [this message]
2004-04-20 21:38             ` William Lee Irwin III
2004-04-19  6:58   ` 2.6.6-rc1-mm1 Nick Piggin
2004-04-19  9:13 ` 2.6.6-rc1-mm1 failure: kmod.o didn't compile with module-less setup Helge Hafting
2004-04-19  9:17   ` Andrew Morton
2004-04-19 15:26 ` 2.6.6-rc1-mm1 (compile stats) John Cherry
2004-04-19 19:25 ` 2.6.6-rc1-mm1 Christoph Hellwig
2004-04-20  1:13   ` 2.6.6-rc1-mm1 Ian Kent
2004-04-20  1:26     ` 2.6.6-rc1-mm1 Andrew Morton
2004-04-21  9:08       ` 2.6.6-rc1-mm1 Christoph Hellwig
2004-04-21 12:31         ` 2.6.6-rc1-mm1 raven
2004-04-21 13:18           ` 2.6.6-rc1-mm1 Christoph Hellwig
2004-04-21 13:34             ` 2.6.6-rc1-mm1 raven
2004-04-21 15:52             ` 2.6.6-rc1-mm1 raven
2004-04-21 16:09               ` 2.6.6-rc1-mm1 Christoph Hellwig
2004-04-21 12:39         ` 2.6.6-rc1-mm1 raven
2004-04-21 13:19           ` 2.6.6-rc1-mm1 Christoph Hellwig
2004-04-21 13:52             ` 2.6.6-rc1-mm1 raven
2004-04-21 14:56               ` 2.6.6-rc1-mm1 Christoph Hellwig
2004-04-21 15:39                 ` 2.6.6-rc1-mm1 raven
2004-04-20 14:27 ` 2.6.6-rc1-mm1 raven
2004-04-20 15:06 ` 2.6.6-rc1-mm1 Rik van Riel
2004-04-21  7:37   ` 2.6.6-rc1-mm1 Sean Neakums
2004-04-21 12:16     ` 2.6.6-rc1-mm1 Hugh Dickins

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=20040420141713.3974e13b.pj@sgi.com \
    --to=pj@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.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