On Mon, 08 Feb 2010, David Gibson wrote: > 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.
If you run this test on x86 with 4MB huge pages the readonly relinking will fail because of this check. However, they work fine with this patch in place. -- Eric B Munson IBM Linux Technology Center ebmun...@us.ibm.com
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ 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