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: <20070303203556.8648c9a2.akpm@linux-foundation.org>
Date:	Sat, 3 Mar 2007 20:35:56 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	"Lee Revell" <rlrevell@...-job.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: userspace pagecache management tool

On Sat, 3 Mar 2007 21:35:59 -0500 "Lee Revell" <rlrevell@...-job.com> wrote:

> On 3/3/07, Andrew Morton <akpm@...ux-foundation.org> wrote:
> > But yes, updatedb's pagecache usage will be mainly metadata, and this tool
> > doesn't address metadata pagecache, although it could do so.
> >
> 
> With no kernel changes?  How?  I can't find an equivalent API to
> posix_fadvise() for metadata.
> 

We can use mincore and fadvise against /dev/sda1, too.

mincore's linear search would hurt but you could just run fadvise
regularly.  A lot of the blockdev pagecache is pretty useless anyway: we've
already copied it much of it into dentries and inodes, and some of ext2/3/4's
pagecache is already pinned by the fs.

-
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