On Thu, Oct 12, 2006 at 04:27:42PM -0500, Steve Fox wrote: > On Thu, 2006-10-12 at 09:26 -0500, Steve Fox wrote: > > > Instead of creating the shared mapping of size memsz (aligned), we're > > going to make it only filesz + non-zero BSS (we've found that glibc > > initializes stdin, stdout, stderr before we get control). Reducing the > > size of the shared mapping should result in less reserved hugepages. > > elflink: Reduce the shared mapping to filesz + non-zero BSS. This should > decrease the number of huge pages we reserve. > > --- > This patch is an RFC. We need to test thoroughly before committing.
Not particularly more than any other patch, I think. The semantics here are all pretty well defined, and I think it's pretty clear there's no need to SHARED map the pages if we're not going to write to them. -- 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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel