X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Documentation%2Fmm%2Fpage_owner.rst;h=127514955a5e8021b1fe5ed8d1fe63b80c03679b;hb=f2b220ef93ea34ff6ce48fec382689cf02099f39;hp=f18fd89070493e8105a9dfc66c09844393ae9afd;hpb=66ae04368efbe20eb8951c9a76158f99ce672f25;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/Documentation/mm/page_owner.rst b/Documentation/mm/page_owner.rst index f18fd89..1275149 100644 --- a/Documentation/mm/page_owner.rst +++ b/Documentation/mm/page_owner.rst @@ -38,22 +38,10 @@ not affect to allocation performance, especially if the static keys jump label patching functionality is available. Following is the kernel's code size change due to this facility. -- Without page owner:: - - text data bss dec hex filename - 48392 2333 644 51369 c8a9 mm/page_alloc.o - -- With page owner:: - - text data bss dec hex filename - 48800 2445 644 51889 cab1 mm/page_alloc.o - 6662 108 29 6799 1a8f mm/page_owner.o - 1025 8 8 1041 411 mm/page_ext.o - -Although, roughly, 8 KB code is added in total, page_alloc.o increase by -520 bytes and less than half of it is in hotpath. Building the kernel with -page owner and turning it on if needed would be great option to debug -kernel memory problem. +Although enabling page owner increases kernel size by several kilobytes, +most of this code is outside page allocator and its hot path. Building +the kernel with page owner and turning it on if needed would be great +option to debug kernel memory problem. There is one notice that is caused by implementation detail. page owner stores information into the memory from struct page extension. This memory