lkml.org 
[lkml]   [2003]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] 2.4.23-pre7 vmscan.c typo
Shantanu Goel <sgoel01@yahoo.com> wrote:
>
> The following appears to be a typo in mm/vmscan.c
>

It sure is. Scary.

--- a/mm/vmscan.c 2003-10-19 21:36:26.000000000 -0400
+++ a/mm/vmscan.c 2003-10-19 21:37:17.000000000 -0400
@@ -596,7 +596,7 @@
continue;
}

- nr_pages--;
+ ratio--;

del_page_from_active_list(page);
add_page_to_inactive_list(page);


I note that `ratio' here is the number of pages which we try to deactivate
rather than the number of pages which we scan. Is this intentional?

-
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:58    [W:1.419 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site