Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:06:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:show_migration_types

Proto:static void show_migration_types(unsigned char type)

Type:void

Parameter:

TypeParameterName
unsigned chartype
5191  static const char types[MIGRATE_TYPES] = {[MIGRATE_UNMOVABLE] = 'U', [MIGRATE_MOVABLE] = 'M', [MIGRATE_RECLAIMABLE] = 'E', [MIGRATE_HIGHATOMIC] = 'H', [MIGRATE_CMA] = 'C', [MIGRATE_ISOLATE] = 'I', }
5204  p = tmp
5207  When i < MIGRATE_TYPES cycle
5208  If type & 1 << i Then p++ = types[i]
5212  p = '\0'
5213  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
Caller
NameDescribe
show_free_areasShow free area list (used inside shift_scroll-lock stuff)* We also calculate the percentage fragmentation