Re: unused swap offset / bad page map.

From: Dave Jones
Date: Wed Aug 07 2013 - 11:54:32 EST

void __lru_cache_add(struct page *page)
struct pagevec *pvec = &get_cpu_var(lru_add_pvec);

if (!pagevec_space(pvec))
pagevec_add(pvec, page);

I added a printk, and found that pagevec_add frequently returns 0. Is that ok ?

What happens to 'page' in this case ?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at