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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 12 Mar 2009 08:12:44 +0100
From:	"Berkhan, Enrik (GE Infra, Oil & Gas)" <enrik.berkhan@...com>
To:	"Andrew Morton" <akpm@...ux-foundation.org>,
	"David Howells" <dhowells@...hat.com>
Cc:	<torvalds@...ux-foundation.org>, <peterz@...radead.org>,
	<dhowells@...hat.com>, <uclinux-dev@...inux.org>,
	<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] NOMMU: Pages allocated to a ramfs inode's pagecache may get wrongly discarded

Andrew Morton wrote:
> On Wed, 11 Mar 2009 15:30:35 +0000
> David Howells <dhowells@...hat.com> wrote:
>> From: Enrik Berkhan <Enrik.Berkhan@...com>
>> 
>> The solution is to mark the pages dirty at the point of allocation by
>> the truncation code.
> 
> Was there a specific reason for using the low-level SetPageDirty()?

No, no specific reason. It was just my first try of a fix after spotting 
the problem. After a short discussion with David, we decided to wait for 
others' comments on using the low-/high-level approach.

Enrik
--
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