lkml.org 
[lkml]   [2001]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Memory Problem in 2.4.9 ?
On Wed, 22 Aug 2001, Daniel Phillips wrote:

> --- ../2.4.9.clean/mm/filemap.c Thu Aug 16 14:12:07 2001
> +++ ./mm/filemap.c Wed Aug 22 01:11:44 2001
> @@ -980,7 +980,7 @@
> static inline void check_used_once (struct page *page)
> {
> if (!PageActive(page)) {
> - if (page->age)
> + if (page->age > 8)
> activate_page(page);
> else {
> page->age = PAGE_AGE_START;

This makes absolutely no sense since you'll never set the
page age higher than PAGE_AGE_START until the is actually
on the active list.

Rik
--
IA64: a worthy successor to i860.

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

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