Messages in this thread | | | Date | Fri, 11 Jan 2002 00:58:30 -0800 (PST) | Subject | Re: [PATCH] locked page handling in shrink_cache() : revised | From | "David S. Miller" <> |
| |
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/
| |