lkml.org 
[lkml]   [1999]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: madvise() first draft
On Wed, 25 Aug 1999, Chuck Lever wrote:

> On Wed, 25 Aug 1999, Jeff Garzik wrote:
> > > On Wed, 25 Aug 1999, Jeff Garzik wrote:
> > > > If MADV_xxx are the same on all platforms, shouldn't they go in
> > > > include/linux somewhere (perhaps referenced by something in asm-arch/*)
> > > > ?
> > >
> > > most of the stuff in include/asm/mman.h is the same for all platforms, i
> > > believe, so i was following precedent there.
> >
> > Understand, but arch already has wads of duplicate code and constants ;)
>
> i really don't want to pull on that chain! if people agree on a new
> precedent, i'll be happy to follow it.

I believe the reason many of the duplicates exist is to make syscall
emulation for foreign binaries easier - where things were different, they
could be made to match the 'native' OS. I don't think this is much of a
concern these days. It now makes more sense for Linux to aim to minimize
its own cross-platform differences for the sake of keeping the kernel
manageable.

--
"Love the dolphins," she advised him. "Write by W.A.S.T.E.."


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.040 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site