Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:page_zonenum

Proto:static inline enum zone_type page_zonenum(const struct page *page)

Type:enum zone_type

Parameter:

TypeParameterName
const struct page *page
937  Return Atomic flags, some possibly * updated asynchronously >> ZONES_PGSHIFT & ZONES_MASK
Caller
NameDescribe
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
rmqueue_pcplistLock and remove page from the per-cpu list
rmqueueAllocate a page from the given zone. Use pcplists for order-0 allocations.