On 07.03.2007 [16:29:22 +1100], David Gibson wrote:
> Currently, the task-size-overrun tests determines TASK_SIZE by
> searching the address space from the top of the stack mapping, until
> it gets an mmap() error indicating that it's run out of address space.
> 
> For this to work safely, the stack must be the highest existing
> mapping, which is not always true for recent kernels, at least on i386
> and x86_64.
> 
> This patch fixes the test by having it search from the top of the
> highest existing mapping, whether or not that is the stack.
> 
> Signed-off-by: David Gibson <[EMAIL PROTECTED]>

Applied, thanks,
Nish

-- 
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to