⇤ ← Revision 1 as of 2019-09-30 20:21:07
Size: 16980
Comment:
|
Size: 19191
Comment: start adding memory management changes
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
= Memory management = * memory control group * Extend the shrink file to shrink all memcg caches for the slab cache. Before the commit, writing 1 to /sys/kernel/slab/<slab>/shrink was shrinking only the root cache. With SLUB_MEMCG_SYSFS_ON enabled and slub_memcg_sysfs=1 used, it was possible to shrink also memcg caches, but it was impractical. Now all memcg caches will be shrunk when writing to the "global" shrink file. [[https://git.kernel.org/linus/04f768a39d55967246c002aa66b407b3bfdd8269|commit]] * kmemleak: make it more robust during early allocations (before slab subsystem is initialized) by using a single memory pool [[https://git.kernel.org/linus/b751c52bb587ae66f773b15204ef7a147467f4c7|commit]] [[https://git.kernel.org/linus/dba82d9431770e68c45b03f0ffa2daa8abfb9429|commit]] [[https://git.kernel.org/linus/0647398a8c7bd55e0b7565c5076e86b7c3c204c5|commit]] [[https://git.kernel.org/linus/c5665868183fec689dbab9fb8505188b2c4f0757|commit]] [[https://git.kernel.org/linus/0e965a6bda80f3227dfb74af6ae644e396beaacb|commit]] [[https://git.kernel.org/linus/c59180ae3e5b43d3534748b19a57905712ea5fff|commit]] * KASAN: for software tag-based mode, enhance the memory corruption report with a guess whether it is "use-after-free" or "out-of-bound" error instead of "invalid-access" error. [[https://git.kernel.org/linus/ae8f06b31a83e54777514308a63f669a1fed519e|commit]] * Introduce page_shift(), page_size() and compound_nr() to make common operations with compound pages simpler and more readable. [[https://git.kernel.org/linus/a50b854e073cd3335bbbada8dcff83a857297dd7|commit]] [[https://git.kernel.org/linus/94ad9338109fe9d0b8a4a16828719dd6dcaee4c2|commit]] [[https://git.kernel.org/linus/d8c6546b1aea843fbeb4d54a1202f1adda6504be|commit]] * page_owner: when both page_owner and debug_pagealloc are enabled, store also the stack of who last freed the page and print it in dump_page() to improve debugging double free or use-after-free. [[https://git.kernel.org/linus/7e2f2a0cd17cfc42acb4b6a293d5cb6c7eda9862|commit]] [[https://git.kernel.org/linus/37389167a281f3ccb6bc958c32b2e088c7269fe0|commit]] [[https://git.kernel.org/linus/8974558f49a6a41b4a74db672e13bca616eff6d8|commit]] |
Linux 5.4 changelog.
1. Memory management
- memory control group
Extend the shrink file to shrink all memcg caches for the slab cache. Before the commit, writing 1 to /sys/kernel/slab/<slab>/shrink was shrinking only the root cache. With SLUB_MEMCG_SYSFS_ON enabled and slub_memcg_sysfs=1 used, it was possible to shrink also memcg caches, but it was impractical. Now all memcg caches will be shrunk when writing to the "global" shrink file. commit
kmemleak: make it more robust during early allocations (before slab subsystem is initialized) by using a single memory pool commit commit commit commit commit commit
KASAN: for software tag-based mode, enhance the memory corruption report with a guess whether it is "use-after-free" or "out-of-bound" error instead of "invalid-access" error. commit
Introduce page_shift(), page_size() and compound_nr() to make common operations with compound pages simpler and more readable. commit commit commit
page_owner: when both page_owner and debug_pagealloc are enabled, store also the stack of who last freed the page and print it in dump_page() to improve debugging double free or use-after-free. commit commit commit
This changelog is not complete, meanwhile you can read about it here:
or, instead, you can take a look at the list of merge requests: