Home
last modified time | relevance | path

Searched refs:current_is_kswapd (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dmemcg_reclaim.c471 if (current_is_kswapd()) { in shrink_node_hyperhold()
509 if ((current_is_kswapd() || in shrink_node_hyperhold()
520 if (!current_is_kswapd() && current_may_throttle() && in shrink_node_hyperhold()
Dvmscan.c1126 if (current_is_kswapd() && in shrink_page_list()
1268 (!current_is_kswapd() || !PageReclaim(page) || in shrink_page_list()
1743 if (current_is_kswapd()) in too_many_isolated()
1914 item = current_is_kswapd() ? PGSCAN_KSWAPD : PGSCAN_DIRECT; in shrink_inactive_list()
1942 item = current_is_kswapd() ? PGSTEAL_KSWAPD : PGSTEAL_DIRECT; in shrink_inactive_list()
2440 proportional_reclaim = (!cgroup_reclaim(sc) && !current_is_kswapd() && in shrink_lruvec()
2774 if (current_is_kswapd()) { in shrink_node()
2817 if ((current_is_kswapd() || in shrink_node()
2828 if (!current_is_kswapd() && current_may_throttle() && in shrink_node()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_page_pool.c106 if (current_is_kswapd()) in ion_page_pool_shrink()
/kernel/linux/linux-5.10/block/
Dblk-wbt.c473 if ((rw & REQ_HIPRIO) || wb_recent_wait(rwb) || current_is_kswapd()) in get_limit()
550 if (current_is_kswapd()) in bio_to_wbt_flags()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c300 if (sc->nr_scanned < sc->nr_to_scan && current_is_kswapd()) { in i915_gem_shrinker_scan()
/kernel/linux/linux-5.10/include/linux/
Dswap.h35 static inline int current_is_kswapd(void) in current_is_kswapd() function
/kernel/linux/linux-5.10/fs/
Dinode.c775 if (current_is_kswapd()) in inode_lru_isolate()
/kernel/linux/patches/linux-5.10/zhiyuan_patch/
Dkernel.patch1452 + if (current_is_kswapd())
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree.c2869 args.kswapd = current_is_kswapd(); in xfs_btree_split()