On Thu, Mar 15, 2007 at 12:28:50PM -0700, Nishanth Aravamudan wrote:
> 
> While running `make func` on ia64, I found that
> truncate_sigbus_versus_oom was adding a negative value to a pointer and
> causing a SEGV. This was because hpage_size was of type int, even though
> the return type of gethugepagesize() is long. The multiplication was
> truncated and led to negative values. Fix this throughout the tests,
> just in case, by making hpage_size always a long.
> 
> Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>

Oops, mea culpa.

Acked-by: David Gibson <[EMAIL PROTECTED]>

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

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