Re: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED

From: Alan Cox
Date: Tue Oct 07 2008 - 19:06:54 EST


On Tue, 7 Oct 2008 23:10:38 +0200
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> > Sorry, no.
> > This description still doesn't explain why this interface is needed.
> >
> > The one of the points is this interface is used by another person or not.
> > You should explain how large this interface benefit has.
> >
> > Andi kleen explained this interface _can_ be used another one.
> > but nobody explain who use it actually.
>
> Anyone who doesn't want to use fixed addresses.

Can use shm_open and mmap to get POSIX standard shm behaviour via a sane
interface without adding more crap to the sys3 shm madness.

Sorry this patch is completely bogus - introduce the user programs
involved to 1990s technology. They have to be updated to use such a
change as is proposed anyway so they might as well use shm_open/mmap at
which point no kernel changes are needed.

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