From: Christoph Lameter Date: Fri, 30 Jun 2006 08:55:35 +0000 (-0700) Subject: [PATCH] zoned vm counters: conversion of nr_pagecache to per zone counter X-Git-Tag: v2.6.18-rc1~312 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=347ce434d57da80fd5809c0c836f206a50999c26;p=pandora-kernel.git [PATCH] zoned vm counters: conversion of nr_pagecache to per zone counter Currently a single atomic variable is used to establish the size of the page cache in the whole machine. The zoned VM counters have the same method of implementation as the nr_pagecache code but also allow the determination of the pagecache size per zone. Remove the special implementation for nr_pagecache and make it a zoned counter named NR_FILE_PAGES. Updates of the page cache counters are always performed with interrupts off. We can therefore use the __ variant here. Signed-off-by: Christoph Lameter Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed