/* Lookup a swap entry in the swap cache. A found page will be returned unlocked and with its refcount incremented - we rely on the kernel lock getting page table operations atomic even if we drop the page lock before returning.  */
struct page* lookup_swap_cache(swp_entry_t entry)
/* Lookup a swap entry in the swap cache. A found page will be returned unlocked and with its refcount incremented - we rely on the kernel lock getting page table operations atomic even if we drop the page lock before returning.  */
struct page* lookup_swap_cache(swp_entry_t entry)
{
	struct page *page;
	page = find_get_page(&swapper_space, entry.val);
	if (page)
		INC_CACHE_INFO(find_success);
	INC_CACHE_INFO(find_total);
	return page;
}