lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 21 Mar 2007 18:39:40 -0700
From:	"Phy Prabab" <phyprabab@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: mmap and swap

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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ