#include <linux/mm.h>
#include <linux/module.h>
#include <linux/gfp.h>
#include <linux/kernel_stat.h>
#include <linux/swap.h>
#include <linux/pagemap.h>
#include <linux/init.h>
#include <linux/highmem.h>
#include <linux/vmstat.h>
#include <linux/file.h>
#include <linux/writeback.h>
#include <linux/blkdev.h>
#include <linux/buffer_head.h>
#include <linux/mm_inline.h>
#include <linux/backing-dev.h>
#include <linux/rmap.h>
#include <linux/topology.h>
#include <linux/cpu.h>
#include <linux/cpuset.h>
#include <linux/compaction.h>
#include <linux/notifier.h>
#include <linux/rwsem.h>
#include <linux/delay.h>
#include <linux/kthread.h>
#include <linux/freezer.h>
#include <linux/memcontrol.h>
#include <linux/delayacct.h>
#include <linux/sysctl.h>
#include <linux/oom.h>
#include <linux/prefetch.h>
#include <asm/tlbflush.h>
#include <asm/div64.h>
#include <linux/swapops.h>
#include "internal.h"
#include <trace/events/vmscan.h>
Go to the source code of this file.
|
void | register_shrinker (struct shrinker *shrinker) |
|
| EXPORT_SYMBOL (register_shrinker) |
|
void | unregister_shrinker (struct shrinker *shrinker) |
|
| EXPORT_SYMBOL (unregister_shrinker) |
|
unsigned long | shrink_slab (struct shrink_control *shrink, unsigned long nr_pages_scanned, unsigned long lru_pages) |
|
int | remove_mapping (struct address_space *mapping, struct page *page) |
|
void | putback_lru_page (struct page *page) |
|
unsigned long | reclaim_clean_pages_from_list (struct zone *zone, struct list_head *page_list) |
|
int | __isolate_lru_page (struct page *page, isolate_mode_t mode) |
|
int | isolate_lru_page (struct page *page) |
|
unsigned long | try_to_free_pages (struct zonelist *zonelist, int order, gfp_t gfp_mask, nodemask_t *nodemask) |
|
void | wakeup_kswapd (struct zone *zone, int order, enum zone_type classzone_idx) |
|
unsigned long | global_reclaimable_pages (void) |
|
unsigned long | zone_reclaimable_pages (struct zone *zone) |
|
int | kswapd_run (int nid) |
|
void | kswapd_stop (int nid) |
|
| module_init (kswapd_init) |
|
int | scan_unevictable_handler (struct ctl_table *table, int write, void __user *buffer, size_t *length, loff_t *ppos) |
|
#define CREATE_TRACE_POINTS |
#define prefetch_prev_lru_page |
( |
|
_page, |
|
|
|
_base, |
|
|
|
_field |
|
) |
| do { } while (0) |
#define prefetchw_prev_lru_page |
( |
|
_page, |
|
|
|
_base, |
|
|
|
_field |
|
) |
| do { } while (0) |
- Enumerator:
PAGEREF_RECLAIM |
|
PAGEREF_RECLAIM_CLEAN |
|
PAGEREF_KEEP |
|
PAGEREF_ACTIVATE |
|
Definition at line 609 of file vmscan.c.
- Enumerator:
PAGE_KEEP |
|
PAGE_ACTIVATE |
|
PAGE_SUCCESS |
|
PAGE_CLEAN |
|
Definition at line 362 of file vmscan.c.
unsigned long global_reclaimable_pages |
( |
void |
| ) |
|
module_init |
( |
kswapd_init |
| ) |
|
unsigned long scan_unevictable_pages |