linux-5.15/lru_list
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#u3e4ce26]
#backlinks
*説明 [#hfe4e0ce]
-パス: [[linux-5.15/include/linux/mmzone.h]]
-LRU listの種類。5つある。
-- 0: LRU_INACTIVE_ANON = LRU_BASE = 0
-- 1: LRU_ACTIVE_ANON = LRU_BASE + LRU_ACTIVE = 0 + 1
-- 2: LRU_INACTIVE_FILE = LRU_BASE + LRU_FILE = 0 + 2
-- 3: LRU_ACTIVE_FILE = LRU_BASE + LRU_FILE + LRU_ACTIVE ...
-- 4: LRU_UNEVICTABLE
--[[linux-5.15/メモリ管理]]
-LRUリストに繋がっているページ数を確認するには/proc/zonei...
--nr_zone_inactive_anon 6000
--nr_zone_active_anon 5900
--nr_zone_inactive_file 100000
--nr_zone_active_file 3000
--nr_zone_unevictable 0
**参考 [#we1ab751]
*実装 [#w313d3f7]
/*
* We do arithmetic on the LRU lists in various places i...
* so it is important to keep the active lists LRU_ACTIV...
* the array than the corresponding inactive lists, and ...
* the *_FILE lists LRU_FILE higher than the correspondi...
*
* This has to be kept in sync with the statistics in zo...
* above and the descriptions in vmstat_text in mm/vmsta...
*/
#define LRU_BASE 0
#define LRU_ACTIVE 1
#define LRU_FILE 2
enum lru_list {
LRU_INACTIVE_ANON = LRU_BASE,
LRU_ACTIVE_ANON = LRU_BASE + LRU_ACTIVE,
LRU_INACTIVE_FILE = LRU_BASE + LRU_FILE,
LRU_ACTIVE_FILE = LRU_BASE + LRU_FILE + LRU_ACTIVE,
LRU_UNEVICTABLE,
NR_LRU_LISTS
};
*コメント [#q4770966]
終了行:
*参照元 [#u3e4ce26]
#backlinks
*説明 [#hfe4e0ce]
-パス: [[linux-5.15/include/linux/mmzone.h]]
-LRU listの種類。5つある。
-- 0: LRU_INACTIVE_ANON = LRU_BASE = 0
-- 1: LRU_ACTIVE_ANON = LRU_BASE + LRU_ACTIVE = 0 + 1
-- 2: LRU_INACTIVE_FILE = LRU_BASE + LRU_FILE = 0 + 2
-- 3: LRU_ACTIVE_FILE = LRU_BASE + LRU_FILE + LRU_ACTIVE ...
-- 4: LRU_UNEVICTABLE
--[[linux-5.15/メモリ管理]]
-LRUリストに繋がっているページ数を確認するには/proc/zonei...
--nr_zone_inactive_anon 6000
--nr_zone_active_anon 5900
--nr_zone_inactive_file 100000
--nr_zone_active_file 3000
--nr_zone_unevictable 0
**参考 [#we1ab751]
*実装 [#w313d3f7]
/*
* We do arithmetic on the LRU lists in various places i...
* so it is important to keep the active lists LRU_ACTIV...
* the array than the corresponding inactive lists, and ...
* the *_FILE lists LRU_FILE higher than the correspondi...
*
* This has to be kept in sync with the statistics in zo...
* above and the descriptions in vmstat_text in mm/vmsta...
*/
#define LRU_BASE 0
#define LRU_ACTIVE 1
#define LRU_FILE 2
enum lru_list {
LRU_INACTIVE_ANON = LRU_BASE,
LRU_ACTIVE_ANON = LRU_BASE + LRU_ACTIVE,
LRU_INACTIVE_FILE = LRU_BASE + LRU_FILE,
LRU_ACTIVE_FILE = LRU_BASE + LRU_FILE + LRU_ACTIVE,
LRU_UNEVICTABLE,
NR_LRU_LISTS
};
*コメント [#q4770966]
ページ名: