On Mon, 2007-11-19 at 16:53 +1100, David Gibson wrote: > On Fri, Nov 16, 2007 at 01:06:39PM -0600, Steve Fox wrote: > > Unfortunately I can't seem to get a large alignment to work as I'd > > expect at the end of the BSS. No matter how I define it, > > > > . = ALIGN(0x10000000000) > > > > or > > > > . = 0x20000000000 > > > > I still get the same memsz padding for the BSS: > > What? Hang on...? How did the BSS memsz get into this. I think > there's some context as to what problems the current script is causing > that I'm missing here...
>From my understanding, with proper BSS padding virtaddr + memsz should end up aligned on a 1TB boundary, 0x20000000000 in this case. But readelf shows it totals 0x10100000000. If I use gdb to break inside glibc, I see the heap beginning immediately after 0x10100000000, which mixes huge and base pages in the same segment. Am I off in the weeds? -- Steve Fox IBM Linux Technology Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Libhugetlbfs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel
