Messages in this thread |  | | Date | Sun, 3 Nov 2002 13:22:04 -0800 | | From | William Lee Irwin III <> | | Subject | Re: Hot/cold allocation -- swsusp can not handle hot pages |
| |
On Sun, Nov 03, 2002 at 12:52:06PM -0800, William Lee Irwin III wrote: > static void empty_pageset(struct zone *zone, struct per_cpu_pages *pcp) > { > pcp->batch = pcp->low = pcp->high = 1; > pcp->count -= free_pages_bulk(zone, pcp->batch, &pcp->list, 0); > }
Should be pcp->count -= free_pages_bulk(zone, pcp->count, &pcp->list, 0);
Bill - 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/
|  |