您當前的位置:首頁 > 歷史

【Kernel】跟蹤記憶體Patch(2021120-2021324)

作者:由 趙俊民 發表于 歷史時間:2021-07-09

1 [PATCH] mm: cma: support sysfs

Since CMA is getting used more widely, it‘s more important to keep monitoring CMA statistics for system health since it’s directly related to user experience。 This patch introduces sysfs for the CMA and exposes stats below to keep monitor for telemetric in the system。

the number of CMA allocation attempts

the number of CMA allocation failures

the number of CMA page allocation attempts

the number of CMA page allocation failures

https://

lore。kernel。org/linux-m

m/20210210075509。3788729-1-minchan@kernel。org/

2 [PATCH] mm, kasan: don‘t poison boot memory

這個是個折中,主要從這個patch學習一下,怎麼去初始化boot memory。

[PATCH] mm, kasan: don’t poison boot memory

3。 [PATCH] mm/slub: Add slub_debug option to panic on memory corruption

發生錯誤的時候觸發panic。

mm/slub: Add slub_debug option to panic on memory corruption

4。 [PATCH] arm: print alloc free paths for address in registers

列印暫存器記憶體是否在slub等資訊。如

[ 124。365233] register r6: c8ae9180 belongs to slab object

[PATCH v2] arm: print alloc free paths for address in registers

5。 [PATCH] mm/page_alloc: Add a bulk page allocator

[PATCH 2/5] mm/page_alloc: Add a bulk page allocator[PATCH 0/5] Introduce a bulk order-0 page allocator with two in-tree users

如何分配大記憶體,挺好的思路。

6。 [PATCH] Page folios

Page folios [LWN。net]

處理compound pages情況,估計很難被社群接受。這個有意思的提到了type system。一個恰當的抽象對於表達和計算還是挺重要的。關於複合頁介紹:

https://

lwn。net/Articles/619514

/

標簽: patch  mm  CMA  page  slub