|
1728 | 1728 | Built with CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON=y, |
1729 | 1729 | the default is on. |
1730 | 1730 |
|
1731 | | - This is not compatible with memory_hotplug.memmap_on_memory. |
1732 | | - If both parameters are enabled, hugetlb_free_vmemmap takes |
1733 | | - precedence over memory_hotplug.memmap_on_memory. |
| 1731 | + Note that the vmemmap pages may be allocated from the added |
| 1732 | + memory block itself when memory_hotplug.memmap_on_memory is |
| 1733 | + enabled, those vmemmap pages cannot be optimized even if this |
| 1734 | + feature is enabled. Other vmemmap pages not allocated from |
| 1735 | + the added memory block itself do not be affected. |
1734 | 1736 |
|
1735 | 1737 | hung_task_panic= |
1736 | 1738 | [KNL] Should the hung task detector generate panics. |
|
3073 | 3075 | [KNL,X86,ARM] Boolean flag to enable this feature. |
3074 | 3076 | Format: {on | off (default)} |
3075 | 3077 | When enabled, runtime hotplugged memory will |
3076 | | - allocate its internal metadata (struct pages) |
3077 | | - from the hotadded memory which will allow to |
3078 | | - hotadd a lot of memory without requiring |
3079 | | - additional memory to do so. |
| 3078 | + allocate its internal metadata (struct pages, |
| 3079 | + those vmemmap pages cannot be optimized even |
| 3080 | + if hugetlb_free_vmemmap is enabled) from the |
| 3081 | + hotadded memory which will allow to hotadd a |
| 3082 | + lot of memory without requiring additional |
| 3083 | + memory to do so. |
3080 | 3084 | This feature is disabled by default because it |
3081 | 3085 | has some implication on large (e.g. GB) |
3082 | 3086 | allocations in some configurations (e.g. small |
|
3086 | 3090 | Note that even when enabled, there are a few cases where |
3087 | 3091 | the feature is not effective. |
3088 | 3092 |
|
3089 | | - This is not compatible with hugetlb_free_vmemmap. If |
3090 | | - both parameters are enabled, hugetlb_free_vmemmap takes |
3091 | | - precedence over memory_hotplug.memmap_on_memory. |
3092 | | - |
3093 | 3093 | memtest= [KNL,X86,ARM,M68K,PPC,RISCV] Enable memtest |
3094 | 3094 | Format: <integer> |
3095 | 3095 | default : 0 <disable> |
|
5502 | 5502 | cache (risks via metadata attacks are mostly |
5503 | 5503 | unchanged). Debug options disable merging on their |
5504 | 5504 | own. |
5505 | | - For more information see Documentation/vm/slub.rst. |
| 5505 | + For more information see Documentation/mm/slub.rst. |
5506 | 5506 |
|
5507 | 5507 | slab_max_order= [MM, SLAB] |
5508 | 5508 | Determines the maximum allowed order for slabs. |
|
5516 | 5516 | slub_debug can create guard zones around objects and |
5517 | 5517 | may poison objects when not in use. Also tracks the |
5518 | 5518 | last alloc / free. For more information see |
5519 | | - Documentation/vm/slub.rst. |
| 5519 | + Documentation/mm/slub.rst. |
5520 | 5520 |
|
5521 | 5521 | slub_max_order= [MM, SLUB] |
5522 | 5522 | Determines the maximum allowed order for slabs. |
5523 | 5523 | A high setting may cause OOMs due to memory |
5524 | 5524 | fragmentation. For more information see |
5525 | | - Documentation/vm/slub.rst. |
| 5525 | + Documentation/mm/slub.rst. |
5526 | 5526 |
|
5527 | 5527 | slub_min_objects= [MM, SLUB] |
5528 | 5528 | The minimum number of objects per slab. SLUB will |
|
5531 | 5531 | the number of objects indicated. The higher the number |
5532 | 5532 | of objects the smaller the overhead of tracking slabs |
5533 | 5533 | and the less frequently locks need to be acquired. |
5534 | | - For more information see Documentation/vm/slub.rst. |
| 5534 | + For more information see Documentation/mm/slub.rst. |
5535 | 5535 |
|
5536 | 5536 | slub_min_order= [MM, SLUB] |
5537 | 5537 | Determines the minimum page order for slabs. Must be |
5538 | 5538 | lower than slub_max_order. |
5539 | | - For more information see Documentation/vm/slub.rst. |
| 5539 | + For more information see Documentation/mm/slub.rst. |
5540 | 5540 |
|
5541 | 5541 | slub_merge [MM, SLUB] |
5542 | 5542 | Same with slab_merge. |
|
0 commit comments