On Thu, 10 Nov 2011, Luigi Semenzato wrote: > Greetings, > > I am considering the use of libhugetlbfs for some application. We > have a large binary that also needs to start quickly. I could not > find a high-level overview of the strategy employed for placing the > text segment in huge pages and I am wondering if anybody can point me > to any material related to this. Pointers into the relevant sections > of the source code would also be helpful. > > Thanks! > Luigi
Hi Luigi, All the pointers to code or the HOWTO will be assuming you are using the latest stable release. The HOWTO, starting on line 369, explains how to use the feature. If you simply want to dive into the code to see how it is done, the elflink.c file is the place to start. The entry point into this file is hugetlbfs_setup_elflink() which is called from init.c. Please post any questions you have about segment remapping, most of the folks who have ever worked on this library are still lurking and odds are good someone here will be able to handle your questions. Eric
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel