In mmap.c /* Check against existing mmap mappings. */ if (find_vma_intersection(mm, oldbrk, newbrk+PAGE_SIZE)) goto out; out: retval = mm->brk; up(&mm->mmap_sem); return retval; That is if an existing mmap exists in the break area we return the old break value. So is this error to be handled by the code using brk() example malloc. Should not an error like ENOMEM be sent? __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/