diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-08-14 21:21:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-08-14 21:21:10 -0700 |
| commit | eed29d66442c0e6babcea33ab03f02cdf49e62af (patch) | |
| tree | 88e50119cdc4c3673c1494e897b099a925b3ba10 /kernel | |
| parent | aaba9265318483297267400fbfce1c399b3ac018 (diff) | |
[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.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/ksyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
