/* Returns the numebr of pages that can currently be freed and used by the kernel for direct mappings.  */
unsigned long determine_dirtyable_memory(void)
/* Returns the numebr of pages that can currently be freed and used by the kernel for direct mappings.  */
unsigned long determine_dirtyable_memory(void)
{
	unsigned long x;
	x = global_page_state(NR_FREE_PAGES) + global_reclaimable_pages();
	if (!vm_highmem_is_dirtyable)
		x -= highmem_dirtyable_memory(x);
	return x + 1;
}