#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/blkdev.h>
+#include <linux/backing-dev.h>
#include <asm/pgalloc.h>
#include <asm/uaccess.h>
int sysctl_overcommit_memory; /* default is heuristic overcommit */
int sysctl_overcommit_ratio = 50; /* default is 50% */
+int sysctl_max_map_count = DEFAULT_MAX_MAP_COUNT;
+EXPORT_SYMBOL(sysctl_max_map_count);
+
/*
* Handle all mappings that got truncated by a "truncate()"
* system call.
show_process_blocks();
#endif
- return -EINVAL;
+ return 0;
}
/* Release all mmaps. */
return -ENOMEM;
}
-void pte_chain_init(void)
+void swap_unplug_io_fn(struct backing_dev_info *)
{
}