![]() | ||||||||||
Messages in this thread |
On Sat, 3 Mar 2007 21:35:59 -0500 "Lee Revell" <rlrevell@joe-job.com> wrote: > On 3/3/07, Andrew Morton <akpm@linux-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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2007-03-04 04:39 [from the cache] ©2003-2008 | ||||||||||