Messages in this thread | | | Date | Mon, 27 Aug 2001 21:27:00 -0300 (BRT) | From | Marcelo Tosatti <> | Subject | find_get_swapcache_page() question |
| |
Ingo,
Looking at find_get_swapcache_page(), I can't see _how_ we can find a page on the swapper pagecache table that is not a swapcache page.
How that can happen ?
spin_lock(&pagecache_lock); page = __find_page_nolock(mapping, offset, *hash); if (page) { spin_lock(&pagemap_lru_lock); if (PageSwapCache(page)) page_cache_get(page); else page = NULL; <----- spin_unlock(&pagemap_lru_lock); } spin_unlock(&pagecache_lock);
- 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/
| |