From eed29d66442c0e6babcea33ab03f02cdf49e62af Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 14 Aug 2002 21:21:10 -0700 Subject: [PATCH] pagemap_lru_lock wrapup Some fallout from the pagemap_lru_lock changes: - lru_cache_del() is no longer used. Kill it. - page_cache_release() almost never actually frees pages. So inline page_cache_release() and move its rarely-called slow path into (the misnamed) mm/swap.c - update the locking comment in filemap.c. pagemap_lru_lock used to be one of the outermost locks in the VM locking hierarchy. Now, we never take any other locks while holding pagemap_lru_lock. So it doesn't have any relationship with anything. - put_page() now removes pages from the LRU on the final put. The lock is interrupt safe. --- kernel/ksyms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel') diff --git a/kernel/ksyms.c b/kernel/ksyms.c index 011b4983ce91..dff658338907 100644 --- a/kernel/ksyms.c +++ b/kernel/ksyms.c @@ -93,7 +93,7 @@ EXPORT_SYMBOL(__alloc_pages); EXPORT_SYMBOL(alloc_pages_node); EXPORT_SYMBOL(__get_free_pages); EXPORT_SYMBOL(get_zeroed_page); -EXPORT_SYMBOL(page_cache_release); +EXPORT_SYMBOL(__page_cache_release); EXPORT_SYMBOL(__free_pages); EXPORT_SYMBOL(free_pages); EXPORT_SYMBOL(num_physpages); -- cgit v1.2.3