Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:list_splice - join two lists, this is designed for stacks*@list: the new list to add.*@head: the place to add it in the first list.

Proto:static inline void list_splice(const struct list_head *list, struct list_head *head)

Type:void

Parameter:

TypeParameterName
const struct list_head *list
struct list_head *head
423  If Not list_empty - tests whether a list is empty*@head: the list to test. Then __list_splice(list, head, next)
Caller
NameDescribe
list_test_list_splice
perf_addr_filters_splice
shrink_page_listshrink_page_list() returns the number of reclaimed pages
reclaim_clean_pages_from_list
isolate_lru_pagespgdat->lru_lock is heavily contended. Some of the functions that* shrink the lists perform better by taking out a batch of pages* and working on them outside the LRU lock.* For pagecache intensive workloads, this function is the hottest
move_pages_to_lruThis moves pages from @list to corresponding LRU list.* We move them the other way if the page is referenced by one or more* processes, from rmap.* If the pages are mostly unmapped, the processing is fast and it is
shrink_active_list
split_map_pages
__kmem_cache_shrinkkmem_cache_shrink discards empty slabs and promotes the slabs filled* up most to the head of the partial lists. New allocations will then* fill those up and thus they can be removed from the partial lists.* The slabs with the least items are placed last
smk_write_relabel_selfsmk_write_relabel_self - write() for /smack/relabel-self*@file: file pointer, not actually used*@buf: where to get the data from*@count: bytes sent*@ppos: where to start - must be 0
commit_treevfsmount lock must be held for write
move_expired_inodesMove expired (dirtied before work->older_than_this) dirty inodes from*@delaying_queue to @dispatch_queue.
do_make_slave
ep_scan_ready_listp_scan_ready_list - Scans the ready list in a way that makes possible for* the scan code, to call f_op->poll(). Also allows for* O(NumReady) performance.*@ep: Pointer to the epoll private data structure.*@sproc: Pointer to the scan callback.