public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Milton Miller <miltonm@bga.com>
To: LKML <linux-kernel@vger.kernel.org>,
	Roman Zippel <zippel@linux-m68k.org>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: klibc and what's the next step?
Date: Tue, 27 Jun 2006 14:47:22 -0500	[thread overview]
Message-ID: <f5e0f599448456bcbf2699994f0bbc76@bga.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0606271316220.17704@scrub.home>

[I'm not on the list, apologies for dropping anyone from to:]

On Jun 27, 2006, at 8:11 AM, Roman Zippel wrote:
>
> Hi,
>
> On Sun, 25 Jun 2006, H. Peter Anvin wrote:
>
>> The majority of the patches are independent in the sense that they
>> should apply independently, but Makefile/Kbuild files may have to be
>> adjusted to build a partially patched tree.
>
> I could now repeat all the concerns I already mentioned, why it 
> shouldn't
> be merged as is (that doesn't mean it shouldn't be merged at all!), but
> they have been pretty much ignored anyway...

I'm guessing these threads?

http://marc.theaimsgroup.com/?l=linux-kernel&m=114946240404001&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=114967046318388&w=2


>
> What I'm more interested in is basically answering the question and 
> where
> I hope to provoke a bit broader discussion: "What's next?"
>
> Until recently for most developers klibc was not much more than a cool
> idea, but now we have the first incarnation and now we have to do a
> reality check of how it solves our problems. To say it drastically the
> current patch set as it is does not solve a single real problem yet, it
> only moves them from the kernel to kinit, which may be the first step 
> but
> where to?
>
> So what problems are we going to solve now and how? The amount of
> discussion so far is not exactly encouraging. If nobody cares, then 
> there
> don't seem to be any real problems, so why should it be merged at all? 
> Are
> shiny new features more important than functionality?

Let me see if I can summarize:

* There is concern about how much is bloat, where do we draw the line 
for in-kernel

* There is concern about duplicating user space utilities.  We moved 
the kernel broken md assemble instead of getting the current one from 
mdadm, and that should be part of mdadm package.

* There is concern that distros won't want to use this anyways -- They 
need more features and use a bigger library than klibc provides.

* Let me propose one:  Even with kinit in the kernel, users will still 
be broken because they will use there existing external initramfs.  
This means we can't move stuff like opening /dev/console to kinit.

* Some distributions are already using klibc and have been.  They see 
the reason to merge is to have the canonical api with the kernel to 
avoid version mismatch.


Ok, now let me make a radical proposal:

1_  Create the utilities in klibc distribution.

2.  A new Kbuild (Makefile) variable, features-y, declares what initrd 
features are required because they were removed from the kernel but 
configured.

3.  Create a file containing the feature list of the initrd.  Maybe a 
directory of files so we don't get overwrite problems.

4.  Have the build system parse the built-in initramfs, extract the 
feature file(s), and fail if it does not contain the magic strings 
required as defined by the Makefiles.

5.  Require features being removed have the user space tested and 
checked into a release of the kinit distribution before merging the 
removal.

Distros would just create a feature file claiming what their initrd 
loaded initramfs build script will create and point 
CONFIG_INITRAMFS_SOURCE to include that.  The whole initramfs doesn't 
have to be put in the kernel, just the feature files.

Yes, i said kinit distribution.   While it needs to build against 
klibc, it may or may not be part of that package.


> So anyone who likes to see klibc merged, because it will solve some 
> kind
> of problem for him, please speak up now. Without this information it's
> hard to judge whether we're going to solve the right problems.
>
> Peter, it would really help if you describe your own plans, how you 
> want
> to go forward with it, otherwise it leaves a huge amount of uncertainty
> and since this is a rather big change, I think it's a real good idea to
> reduce this uncertainty, so we know what to expect and everyone can 
> better
> evaluate how these changes will effect him.

I guess this would be a statement on maintaining kinit / klibc 
development.

> Right now these patches are
> devoid of any documentation, which make it hard for everyone to judge 
> them
> (and what is IMO the main reason for the current uncomfortable 
> silence).

The Kconfig variables for klibc have no help.

Was the Kbuild documetation updated to mention $(klibc)= ?

>
> Feel free to flame me now for making it so difficult, but I'm convinced
> it's better for everyone to make this step (even if it's the right one)
> with more information than we have right now...
>
> bye, Roman
>
>

milton

  parent reply	other threads:[~2006-06-28  2:19 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26  0:57 [klibc 00/43] klibc as a historyless patchset H. Peter Anvin
2006-06-27 13:12 ` klibc and what's the next step? Roman Zippel
2006-06-27 13:39   ` Jeff Garzik
2006-06-27 16:42     ` [klibc] " Greg KH
2006-06-28 23:46       ` Roman Zippel
2006-06-27 17:01     ` Andi Kleen
2006-06-27 17:11       ` H. Peter Anvin
2006-06-27 17:40         ` Andi Kleen
2006-06-27 17:45           ` H. Peter Anvin
2006-06-27 20:22             ` Joshua Hudson
2006-06-28  5:47               ` H. Peter Anvin
2006-06-29  0:04             ` Roman Zippel
2006-07-03 18:30               ` Rob Landley
2006-07-03 18:46                 ` [klibc] " maximilian attems
2006-07-04  1:36                   ` Jeff Bailey
2006-07-04  2:02                     ` H. Peter Anvin
2006-06-27 14:07   ` Jon Smirl
2006-06-27 14:40   ` Jeff Bailey
2006-06-27 19:47   ` Milton Miller [this message]
2006-06-28 23:56     ` Roman Zippel
2006-06-29  0:34       ` H. Peter Anvin
2006-06-29 23:33         ` Roman Zippel
2006-06-30  8:00           ` Gerd Hoffmann
2006-06-30 18:08             ` H. Peter Anvin
2006-06-30 22:58               ` Michael Tokarev
2006-06-30 18:11   ` Pavel Machek
2006-06-30 23:04     ` Michael Tokarev
2006-06-30 23:15       ` H. Peter Anvin
2006-07-01 10:56         ` [klibc] " Jeff Bailey
2006-07-01 15:05           ` Theodore Tso
2006-07-01 20:08             ` Linus Torvalds
2006-07-01 21:58               ` Al Viro
2006-07-01 22:31               ` H. Peter Anvin
2006-07-02  0:05               ` Theodore Tso
2006-07-02  0:17                 ` H. Peter Anvin
2006-07-02  0:38                   ` Theodore Tso
2006-07-02  0:50                     ` H. Peter Anvin
2006-07-01 22:22             ` H. Peter Anvin
2006-07-03  7:23             ` Gerd Hoffmann
2006-07-03 21:36             ` Pavel Machek
2006-07-01 15:22           ` H. Peter Anvin
2006-07-01 15:47           ` Jeff Garzik
2006-06-30 23:32       ` Pavel Machek
2006-07-11  4:48   ` Olaf Hering
2006-07-11 10:29     ` Michael Tokarev
2006-07-11 11:27       ` [klibc] " Olaf Hering
2006-07-11 16:24         ` H. Peter Anvin
2006-07-11 16:40           ` Olaf Hering
2006-07-11 17:05             ` Jeff Garzik
2006-07-11 17:16               ` Olaf Hering
2006-07-11 17:23                 ` H. Peter Anvin
2006-07-11 17:30                   ` Olaf Hering
2006-07-11 17:46                     ` H. Peter Anvin
2006-07-11 18:01                       ` Olaf Hering
2006-07-11 18:04                         ` H. Peter Anvin
2006-07-11 18:10                           ` Olaf Hering
2006-07-11 18:17                             ` H. Peter Anvin
2006-07-11 19:15                               ` Olaf Hering
2006-07-11 19:29                                 ` Linus Torvalds
2006-07-11 19:38                                   ` H. Peter Anvin
2006-07-11 19:51                                     ` Linus Torvalds
2006-07-11 19:59                                       ` Jeff Garzik
2006-07-11 20:01                                       ` Theodore Tso
2006-07-11 20:11                                       ` Olaf Hering
2006-07-11 20:57                                       ` H. Peter Anvin
2006-07-11 18:03                 ` H. Peter Anvin
2006-07-11 18:06                   ` Michael Tokarev
2006-07-11 18:15                   ` Olaf Hering
2006-07-11 18:22                     ` H. Peter Anvin
2006-07-11 18:53                       ` Alan Cox
2006-07-11 18:46                         ` H. Peter Anvin
2006-07-11 20:06                       ` Olaf Hering
2006-07-11 20:22                         ` Olaf Hering
2006-07-11 21:22                         ` Greg KH
2006-07-12 16:54                           ` Olaf Hering
2006-07-12 16:58                             ` Arjan van de Ven
2006-07-12 17:01                               ` Olaf Hering
2006-07-12 21:36                             ` Greg KH
2006-07-11 17:55               ` Michael Tokarev
2006-07-11 17:46             ` Michael Tokarev
2006-07-11 17:52               ` Olaf Hering
2006-07-11 18:02                 ` Michael Tokarev
2006-07-11 10:51     ` Sam Ravnborg
2006-07-11 13:45     ` Theodore Tso
2006-07-11 14:28       ` Michael Tokarev
2006-07-11 15:13       ` [klibc] " Olaf Hering
2006-07-11 15:30         ` Adrian Bunk
2006-07-11 15:47           ` Olaf Hering
2006-07-11 16:21         ` Alan Cox
2006-07-11 14:32     ` Rene Herman
2006-07-12 15:23       ` David Lang
2006-07-13 11:58     ` Pavel Machek
2006-06-27 18:59 ` [klibc 00/43] klibc as a historyless patchset Milton Miller
2006-06-27 19:12   ` H. Peter Anvin
2006-06-27 20:39     ` Milton Miller

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=f5e0f599448456bcbf2699994f0bbc76@bga.com \
    --to=miltonm@bga.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.org \
    /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