Re: [oom]: [3/4] track wired pages on a per-zone basis

From: William Lee Irwin III
Date: Wed Jun 23 2004 - 16:45:28 EST


On Wed, Jun 23, 2004 at 02:07:48PM -0700, William Lee Irwin III wrote:
> + for (wired = cpu = 0; cpu < NR_CPUS; ++cpu)
> + wired += zone->nr_wired[cpu];
> + wired >>= PAGE_SHIFT - 10;
> + seq_printf(m, "Node %d, zone %8s wired: %lu kB\n",
> + pgdat->node_id, zone->name, wired);

Should be:
> + wired <<= PAGE_SHIFT - 10;


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/