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>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 26 Nov 2010 17:36:21 +0100
From:	Peter Zijlstra <peterz@...radead.org>
To:	Bob Walters <bob.s.walters@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: mlock'ed pages are paging out to shared mapped files?

On Fri, 2010-11-26 at 11:25 -0500, Bob Walters wrote:
> 
> Please CC directly, I'm not subscribed.
> 
> I'm writing to determine if observed mlock behavior is a bug or the
> intended implementation.   The kernel seems to be paging out
> modifications made to locked pages of a shared (MAP_SHARED) memory
> mapped regular file, on Linux 2.6.35.6-48 (Fedora 14 distro, x86_64).
> Man pages implies that this might be a bug.   I have a repeatable
> process involving the following test: 

That's not paged-out, its a shared mapping (ie a mapped file), you dirty
the pages, we clean them by writing them out to disk.

That is the expected behaviour, if the man-page implies anything else
its bonkers.
--
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