mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [kbuild-devel] Re: CML1 cleanup patch
@ 2001-03-26  7:33 Michael Elizabeth Chastain
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Elizabeth Chastain @ 2001-03-26  7:33 UTC (permalink / raw)
  To: esr; +Cc: linux-kernel

Eric Raymond writes:
> (1) 19 of the 39 changes fix things that are outright bugs even in CML1.
>     These should not be allowed to persist in the stable branch.

I think that things that are bugs in CML1, on its own terms, are
worth fixing in 2.4.

Michael

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: CML1 cleanup patch
@ 2001-03-26  7:09 Eric S. Raymond
  2001-03-26  7:28 ` [kbuild-devel] " Keith Owens
  0 siblings, 1 reply; 9+ messages in thread
From: Eric S. Raymond @ 2001-03-26  7:09 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Eric S. Raymond, Peter Samuelson, linux-kernel, kbuild-devel

Jeff Garzik <jgarzik@mandrakesoft.com>:
> FWIW I am opposed to any large-scale cleanup of the configuration
> language and/or identifiers in -any- 2.4.x series kernel.

This is tweaking 39 symbols out of 1831, hardly large-scale.  These
irregularities in the namespace cause trouble out of all proportion to
their size, is my problem.  If you knew what I've been through trying
to write analysis tools...*shudder*...
 
> Not only C code but installer utilities are affected by changes in the
> CONFIG_xxx identifiers.  If we change that namespace, we are changing
> part of the API that is exported to drivers.  Definitely not 2.4.x
> stuff.

My patch fixes those installer utilities.  All three of them.  And no driver
code is or possibly could be broken by it, that's a red herring.  *No
object code will change as a result of this patch*.
 
> If we are moving to CML2 in 2.5, I see no point in big CML1 cleanups.

Yes, I know, that's what I said about Peter's DERIVED patch a week ago.
You notice *he* ain't bitching about this one?

I want this in before the 2.5 fork for several reasons:

(1) 19 of the 39 changes fix things that are outright bugs even in CML1.
    These should not be allowed to persist in the stable branch.

(2) I want to finish my analysis tools and do some really thorough
    consistency and correctness checking before the stable branch
    separates.  Alan will thank me for this later.

(2) If we do adopt CML2, having these changes in will make it *far* 
    easier to contemplate back-porting it to 2.4.x later on.

The present configuration system is a mess, everybody agrees on that.
I'm trying to clean it up, and it's a tedious and grubby enough job
even with the full cooperation of the kbuild team.  Jeff, would you
please support this instead of obstructing it?
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

  "You have taught us much. Come with us and join the movement."
  "This movement of yours, does it have slogans?" inquired the Chink.
  "Right on!" they cried. And they quoted him some.
  "Your movement, does it have a flag?" asked the Chink.
  "You bet!" and they described their emblem.
  "And does your movement have leaders?"
  "Great leaders."
  "Then shove it up your butts," said the Chink. "I have taught you nothing."

	-- Tom Robbins, "Even Cowgirls Get The Blues"

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: CML1 cleanup patch
@ 2001-03-26  6:32 Eric S. Raymond
  2001-03-26 11:57 ` [kbuild-devel] " John Cowan
  0 siblings, 1 reply; 9+ messages in thread
From: Eric S. Raymond @ 2001-03-26  6:32 UTC (permalink / raw)
  To: Peter Samuelson; +Cc: Eric S. Raymond, linux-kernel, kbuild-devel

Peter Samuelson <peter@cadcamlab.org>:
> > CONFIG_8139TOO			CONFIG_RTL8139TOO
> > CONFIG_8139TOO_PIO		CONFIG_RTL8139TOO_PIO
> > CONFIG_8139TOO_TUNE_TWISTER	CONFIG_RTL8139TOO_TUNE_TWISTER
> 
> The -TOO suffix was to distinguish between this and the former 8139
> driver, as the two coexisted in 2.2 and 2.3.  As the old driver has
> been dropped from 2.4, I propose likewise dropping the -TOO.

I'm preparing an updated version of the patch for 2.4.3-pre8.  I'll
incorporate this change.
 
> Oh, BTW -- an alternate approach to making the kernel tree compatible
> with CML2 would be to make CML2 compatible with the kernel tree.
> Define a character (say '%') as an optional prefix for a configuration
> symbol.  This character would only be required where the symbol would
> otherwise by misparsed, as with '[0-9].*'.

I considered two workarounds:

1. Adding some cruft to the language to support this case, as you suggest.

I might have gone this route, until I tripped over the two bugs and
the bad config symbols in the CRIS port tree.  That meant there was
going to have to be a cleanup patch anyway, so why not fix those 20 
symbols (out of 1831) rather than grubbifying the language?

2. Hacking the CML2 lexical analyzer to handle this case.

I could have done this, allowing tokens to be recognized as numeric only
if all chars are digits.  I didn't, for two reasons: (1) Lexical analysis
is, as it turns out, a hotspot in the CML2 compiler code -- the last thing
it needs is more overhead, and (2) interpreting symbols with leading digits
as nonnumeric tokens is just *wrong*.  Ugh.  Violates the Principle of Least
Surprise big-time.
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

Every election is a sort of advance auction sale of stolen goods. 
	-- H.L. Mencken 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-04-15 21:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-26  7:33 [kbuild-devel] Re: CML1 cleanup patch Michael Elizabeth Chastain
  -- strict thread matches above, loose matches on Subject: below --
2001-03-26  7:09 Eric S. Raymond
2001-03-26  7:28 ` [kbuild-devel] " Keith Owens
2001-03-26  7:43   ` Jeff Garzik
2001-03-26  7:52     ` Eric S. Raymond
2001-03-26  6:32 Eric S. Raymond
2001-03-26 11:57 ` [kbuild-devel] " John Cowan
2001-03-26 14:55   ` Rik van Riel
2001-03-26 17:54     ` Eric S. Raymond
2001-04-15  9:07   ` Kai Henningsen
2001-04-15 20:52     ` Olaf Titz

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®