Messages in this thread | | | Date | Mon, 19 Jan 2009 17:29:47 +0100 | From | Sam Ravnborg <> | Subject | Re: [PATCH] KVM: Avoid using CONFIG_ in userspace visible headers |
| |
> > btw., would be nice to somehow untangle consciously-exported interface > definitions from kernel side bits, and standardize these > feature/capability flags like __KVM_HAVE_IOAPIC, etc. > > Right now we have this body of 75,000 lines of code spread out in 600+ > header files that are so-called 'exported' to user-space, but 95% of that > interface definition code is never being relied on by any user-space bit! > They are exported due to cargo-cult mentality or due to dependencies.
With the exported headers we at least have a clear definition what part of the headers are actually exported. So what we have now is a much better base to cut off from.
And there is plenty of room for improvements but it requires someone with understanding of the kernel side and the user side to do this.
I for once find it hard to judge what is really used by user space and not. Diving into glibc does not help as userspace is much more than glibc although glibc is an important 'customer' here.
Sam
| |