Re: [PATCH] ppc32: removed usage of <asm/segment.h>

3 messages, 3 authors, 2005-08-18 · open the first message on its own page

Re: [PATCH] ppc32: removed usage of <asm/segment.h>

From: Miklos Szeredi <miklos@szeredi.hu>
Date: 2005-08-17 10:08:46

quoted
They are provided by _one_ kernel, not necessarily the running kernel.
No, they're provided by packages like glibc-kernheaders or similar
that are maintained separately.
Yes.  And "maintenance" I presume means "copy" the kernel headers and
do some cleanup to be compliant to the relevant standards (which the
kernel maintainers couldn't be bothered to do).
They're split from the kernel headers and we don't need to keep
obsolete junk around.
I agree about obsolete junk.

However statements like "No kernel headers can be included by userland
anymore" can be slightly misleading.

Miklos

Re: [PATCH] ppc32: removed usage of <asm/segment.h>

From: Kumar Gala <hidden>
Date: 2005-08-18 16:25:37

On Aug 17, 2005, at 5:07 AM, Miklos Szeredi wrote:
quoted
quoted
They are provided by _one_ kernel, not necessarily the running
kernel.
quoted
No, they're provided by packages like glibc-kernheaders or similar
that are maintained separately.
Yes.  And "maintenance" I presume means "copy" the kernel headers and
do some cleanup to be compliant to the relevant standards (which the
kernel maintainers couldn't be bothered to do).

quoted
They're split from the kernel headers and we don't need to keep
obsolete junk around.
I agree about obsolete junk.

However statements like "No kernel headers can be included by userland
anymore" can be slightly misleading.
So after all of this its not clear to me if its acceptable to kill  
all users of <asm/segment.h> in the kernel and to move code that  
exists in <asm/segment.h> to <asm/uaccess.h> for arch's that need it.

- kumar

Re: [PATCH] ppc32: removed usage of <asm/segment.h>

From: Paul Mackerras <hidden>
Date: 2005-08-18 23:40:32

Kumar Gala writes:
So after all of this its not clear to me if its acceptable to kill  
all users of <asm/segment.h> in the kernel and to move code that  
exists in <asm/segment.h> to <asm/uaccess.h> for arch's that need it.
<asm/segment.h> doesn't describe any part of the user/kernel ABI, so
we should be OK to kill it.  I would say we should remove the ppc and
ppc64 versions of it once 2.6.13 is out, and offer the other arch
maintainers a patch that moves their stuff as you suggest.  I think
also we could submit patches to remove the places where it is included
in generic kernel code post 2.6.13.

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help