Re: [PATCH, RFC, v2] shmat: introduce flag SHM_MAP_HINT

Kirill A. Shutemov
2008-10-07T11:22:17Z

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

On Tue, Oct 07, 2008 at 01:26:31PM +0200, Andi Kleen wrote:
> > I want say that we shouldn't do this check if shmaddr is a search hint.
> > I'm not sure that check is unneeded if shmadd is the exact address.
>
> mmap should fail in this case because it does the same check for
> MAP_FIXED. Obviously it cannot succeed when there is already something
> else there.

We can do it in separate patch, I think.

--
Regards, Kirill A. Shutemov
+ Belarus, Minsk
+ ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]