Home
last modified time | relevance | path

Searched refs:kswapd (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/Documentation/vm/
Dbalance.rst17 the caller may also wish to avoid waking kswapd.
66 problems: first, kswapd is woken up as in 2.2 on low memory conditions
74 kswapd also needs to know about the zones it should balance. kswapd is
77 and all process contexts are sleeping. For 2.3, kswapd does not really
79 highmem pages. kswapd looks at the zone_wake_kswapd field in the zone
92 Orthogonal to this, is the decision to poke kswapd to free some zone pages.
/Linux-v5.10/mm/
Dvmscan.c3862 static int kswapd(void *p) in kswapd() function
4040 if (pgdat->kswapd) in kswapd_run()
4043 pgdat->kswapd = kthread_run(kswapd, pgdat, "kswapd%d", nid); in kswapd_run()
4044 if (IS_ERR(pgdat->kswapd)) { in kswapd_run()
4048 ret = PTR_ERR(pgdat->kswapd); in kswapd_run()
4049 pgdat->kswapd = NULL; in kswapd_run()
4060 struct task_struct *kswapd = NODE_DATA(nid)->kswapd; in kswapd_stop() local
4062 if (kswapd) { in kswapd_stop()
4063 kthread_stop(kswapd); in kswapd_stop()
4064 NODE_DATA(nid)->kswapd = NULL; in kswapd_stop()
Dcompaction.c1883 return pgdat->kswapd && (pgdat->kswapd->state == TASK_RUNNING); in kswapd_is_running()
/Linux-v5.10/Documentation/admin-guide/sysctl/
Dvm.rst945 This factor controls the aggressiveness of kswapd. It defines the
946 amount of memory left in a node/system before kswapd is woken up and
947 how much memory needs to be free before kswapd goes back to sleep.
953 A high rate of threads entering direct reclaim (allocstall) or kswapd
955 that the number of free pages kswapd maintains for latency reasons is
957 can then be used to tune kswapd aggressiveness accordingly.
/Linux-v5.10/Documentation/admin-guide/mm/
Dtranshuge.rst131 means that an application will wake kswapd in the background
139 other regions will wake kswapd in the background to reclaim
Dconcepts.rst188 allocation request will awaken the ``kswapd`` daemon. It will
/Linux-v5.10/Documentation/core-api/
Dmemory-allocation.rst101 context but can wake kswapd to reclaim memory if the zone is below
/Linux-v5.10/include/linux/
Dmmzone.h770 struct task_struct *kswapd; /* Protected by member
/Linux-v5.10/Documentation/admin-guide/cgroup-v1/
Dmemory.rst200 unmapped (by kswapd), they may exist as SwapCache in the system until they
247 The global LRU(kswapd) can swap out arbitrary pages. Swap-out means
722 it gets invoked from balance_pgdat (kswapd).
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_btree.c2802 bool kswapd; /* allocation in kswapd context */ member
2825 if (args->kswapd) in xfs_btree_split_worker()
2864 args.kswapd = current_is_kswapd(); in xfs_btree_split()
/Linux-v5.10/Documentation/process/
Dkernel-docs.rst157 cache, swap cache, kswapd.
/Linux-v5.10/
DCREDITS3167 D: kswapd fixes, random kernel hacker, rmap VM,