Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rwsem.h Create Date:2022-07-28 05:35:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This is the same regardless of which rwsem implementation that is being used.* It is just a heuristic meant to be called by somebody alreadying holding the* rwsem to see if somebody from an incompatible type is wanting access to the* lock.

Proto:static inline int rwsem_is_contended(struct rw_semaphore *sem)

Type:int

Parameter:

TypeParameterName
struct rw_semaphore *sem
121  Return Not list_empty - tests whether a list is empty*@head: the list to test.
Caller
NameDescribe
shrink_slab_memcg
shrink_slabshrink_slab - shrink slab caches*@gfp_mask: allocation context*@nid: node whose slab caches to target*@memcg: memory cgroup whose slab caches to target*@priority: the reclaim priority* Call the shrink functions to age shrinkable caches