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]
Message-ID: <Pine.LNX.4.64.0704241256470.12907@schroedinger.engr.sgi.com>
Date:	Tue, 24 Apr 2007 12:59:17 -0700 (PDT)
From:	Christoph Lameter <clameter@....com>
To:	Andrew Morton <akpm@...ux-foundation.org>
cc:	Hugh Dickins <hugh@...itas.com>, Nick Piggin <npiggin@...e.de>,
	linux-kernel@...r.kernel.org, pj@....com
Subject: Re: Pagecache: find_or_create_page does not call a proper page
 allocator function

On Tue, 24 Apr 2007, Andrew Morton wrote:

> No, think of the following scenario:
> 
> - file I/O causes a read of an ext2 file's bitmap.  The bitmap is
>   brought into /dev/hda1's pagecache using !__GFP_HIGHMEM
> 
> - references are released against that page and it's now just clean
>   reclaimable pagecache
> 
> - someone (say, an online filesystem checker or something) mmaps
>   /dev/hda1 and reads that page.
> 
> - migration comes alnog and migrates that page into highmem
> 
> - file I/O causes a read of that bitmap again.  We find it in
>   /dev/hda's pagecache.

Read of the bitmap? How would that work? Page cache lookup right?

>   Here's set_bh_page().

A highmem page can have buffers???
-
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