Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - P index

CONFIG_PAGE_POISONING: Debug page memory allocations

General informations

The Linux kernel configuration item CONFIG_PAGE_POISONING has multiple definitions:

found in mm/Kconfig.debug

The configuration item CONFIG_PAGE_POISONING:

Help text

(none)

Debug page memory allocations found in mm/Kconfig.debug

The configuration item CONFIG_PAGE_POISONING:

Help text

Fill the pages with poison patterns after free_pages() and verify the patterns before alloc_pages(). This results in a large slowdown, but helps to find certain types of memory corruption.

This option cannot be enabled in combination with hibernation as that would result in incorrect warnings of memory corruption after a resume because free pages are not saved to the suspend image.

Poison pages after freeing found in mm/Kconfig.debug

The configuration item CONFIG_PAGE_POISONING:

Help text

Fill the pages with poison patterns after free_pages() and verify the patterns before alloc_pages. The filling of the memory helps reduce the risk of information leaks from freed data. This does have a potential performance impact.

Note that "poison" here is not the same thing as the "HWPoison" for MEMORY_FAILURE. This is software poisoning only.

If unsure, say N

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - P index

Automatically generated (in year 2016) with gen-web-lkddb.py in lkddb-sources.