lkml.org 
[lkml]   [2002]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog