This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] alpha bits/mman.h vs mman-linux.h


On 12/06/2013 11:31 AM, Richard Henderson wrote:
> Joseph mentions in the wiki that alpha isn't using <bits/mman-linux.h>.  I'd
> been avoiding this because mman-linux.h isn't quite as configurable as it might
> be, but here's a first cut.
> 
> Is this reasonable, with the undefs?  Ought I play more with __FOO as we
> already do for __MAP_ANONYMOUS?
 
I think it is.

It's the approach I think the upstream kernel needs to make to cleanup mman.h.

See my upstream linux RFC here:
http://www.spinics.net/lists/linux-api/msg02064.html

For each target:
(a) Include a common mman.h
(b) Undef everything that's wrong.
(c) Define your own changes.

I did a lot of review work for that RFC, there are a lot of things that could
go into mman-linux.h to make the final files smaller.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]