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

Andi Kleen
2008-10-07T11:26:31Z

> 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.

-Andi

--
ak@linux.intel.com