On Fri, 2007-02-02 at 09:40 -0600, Adam Litke wrote:

> As of now, the extra_copy window abuts the filesz portion of the
> segment.  Therefore, we only really need to store extrasz.  The
> pagecache dropping code can then construct a for loop like the
> following:
> 
> for (p = vaddr; p < (vaddr + filesz + extrasz); p += HPAGE_SIZE) ...

While in practice that may occur frequently, possibly all the time, it
doesn't _have_ to. Remember that we are simply looking for the first
global symbol, which doesn't have to be immediately after filesz by
definition. We can theoretically end up with something like this:
                      
|---------------|-----<--extra_copy-->----|
 filesz          memsz

-- 

Steve Fox
IBM Linux Technology Center


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to