전체 글 (484) 썸네일형 리스트형 [mm] OOM Killer log and kernel code review log [ 747.358161] 81920 pages cma reserved [ 747.358164] Tasks state (memory values in pages): [ 747.358167] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name [ 747.358186] [ 142] 0 142 12270 43 94208 236 -250 systemd-journal ... [ 747.358591] [ 1468] 0 1468 1740 131 45056 0 0 bash [ 747.358597] [ 1502] 1000 1502 39991 99 65536 0 0 gvfsd-metadata [ 747.358607] [ 1604] 0 16.. [T32] gitlab link for 'awesome-trace32' gitlab link for 'awesome-trace32' https://gitlab.com/lauterbach/awesome-trace32 [MM] 페이지 엔트리 속성 (PTE) 매크로 https://elixir.bootlin.com/linux/v5.15.30/source/arch/arm64/include/asm/pgtable-hwdef.h#L151 #define PTE_VALID (_AT(pteval_t, 1) [Linux] mm: memory layout memory layout is traced at boot in the previous kernel version where the current version cannot show the memory map. https://elixir.bootlin.com/linux/v4.14.30/source/arch/arm64/mm/init.c#L583 void __init mem_init(void) { if (swiotlb_force == SWIOTLB_FORCE || max_pfn > (arm64_dma_phys_limit >> PAGE_SHIFT)) swiotlb_init(1); else swiotlb_force = SWIOTLB_NO_FORCE; set_max_mapnr(pfn_to_page(max_pfn) .. LK (Little kernel) source https://github.com/hyperion70/iq451_mt6589/tree/master/bootable/bootloader/lk/arch Little Kernel Boot Loader Overview LM80-P0436-1 (07/13) Page reclaims There are 5 LRU lists for below pages; * Active anon page * Inactive anon page * Active file page (page cache) * inactive file page (page cache) * Unevictable page https://elixir.bootlin.com/linux/v5.15.30/source/include/linux/mmzone.h#L272 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 + .. do_save_current_register_arm64.cmm ;**************************************************************************** ;** do_save_current_register_arm64.cmm ;** This script is designed to save current a set of registers(Arm64). ;** ;** ;** ;** when who what, where, why ;** -------------- ------------ ------------------------------------------------------ ;** 07/12/2023 austindh.kim@gmail.com First version ;****************************.. KTPI - commit . https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e046eb0c9bf26d94be9e4592c00c7a78b0fa9bfd https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=376133b7edc20f237a42e4c72415cc9e8c0a9704 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7655abb953860485940d4de74fb45a8192149bb6 https://git.kernel.org/pub/scm/linux/kernel/g.. 이전 1 ··· 13 14 15 16 17 18 19 ··· 61 다음