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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 8 Feb 2011 10:47:57 +0900
From:	KAMEZAWA Hiroyuki <>
To:	Michel Lespinasse <>
Cc:, Lee Schermerhorn <>,
	Andrew Morton <>,
	Hugh Dickins <>,
	Rik van Riel <>,
	Andrea Arcangeli <>,
Subject: Re: [PATCH 2/2] mlock: do not munlock pages in __do_fault()

On Mon,  7 Feb 2011 16:47:36 -0800
Michel Lespinasse <> wrote:

> If the page is going to be written to, __do_page needs to break COW.
> However, the old page (before breaking COW) was never mapped mapped into
> the current pte (__do_fault is only called when the pte is not present),
> so vmscan can't have marked the old page as PageMlocked due to being
> mapped in __do_fault's VMA. Therefore, __do_fault() does not need to worry
> about clearing PageMlocked() on the old page.
> Signed-off-by: Michel Lespinasse <>

Reviewed-by: KAMEZAWA Hiroyuki <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists