/* The reclaimable count would be mostly accurate. The less reclaimable pages may be */
unsigned long global_reclaimable_pages(void)
/* The reclaimable count would be mostly accurate. The less reclaimable pages may be */
unsigned long global_reclaimable_pages(void)
{
	int nr;
	nr = global_page_state(NR_ACTIVE_FILE) +
	     global_page_state(NR_INACTIVE_FILE);
	if (nr_swap_pages > 0)
		nr += global_page_state(NR_ACTIVE_ANON) +
		      global_page_state(NR_INACTIVE_ANON);
	return nr;
}