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/