Hello, I have a mysterious issue with swapping. I have a 32b machine running 2.4.21.x (RHEE30) w/4G RAM and 8G swap. If I run one application and pause it after having allocated 2.5G and then run another application (or just another instance of the same app) and try to allocate another 2.5G I would have imagined that the first would be swapped out. But this is not the case, rather, only part of the first application is swapped before allocation for the second application fails trying to allocate more space. What is even more interesting is that the first application seems to only swap out memory allocated via sbrk. So within this application I allocate memory via sbrk until failure (~890M) and then switch to mmap. The glibc version is 2.3.2 and I am mmaping memory via private|anonymous, so am I doing something incorrect or is that mmap can not be swapped out?
TIA, Phy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/