On Thu, Feb 04, 2010 at 09:02:18PM +0000, Eric B. Munson wrote:
> elflink.c tests slice boundaries for all architectures, but this is
> not necessary on x86[_64] as there are no rules for placement of
> huge pages with respect to small pages.  This patch addes a define
> that will skip this check on x86[_64] builds.

Hrm.  The x86 versions of hugetlb_slice_end() and so forth are already
supposed to make this check a nop.  We shouldn't need to ifdef this
out.

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

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to