Re: [PATCH] locked page handling in shrink_cache() : revised

From: David S. Miller (davem@redhat.com)
Date: Fri Jan 11 2002 - 03:58:30 EST


   From: alad@hss.hns.com
   Date: Fri, 11 Jan 2002 14:17:25 +0530
   
   Sorry...
   I have corrected tha patch.
   
   + list_del(&page.lru);
   + list_add(&page.lru,inactive_list.prev);

Did you try to compile this? :-) 'page' is a pointer, so
to dereference it's lru member you must use page->lru not
page.lru
-
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/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:34 EST