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

CONFIG_MEMORY_NOTIFIER_ERROR_INJECT: Memory hotplug notifier error injection module

General informations

The Linux kernel configuration item CONFIG_MEMORY_NOTIFIER_ERROR_INJECT:

Help text

This option provides the ability to inject artificial errors to memory hotplug notifier chain callbacks. It is controlled through debugfs interface under /sys/kernel/debug/notifier-error-inject/memory

If the notifier call chain should be failed with some events notified, write the error code to "actions/<notifier event>/error".

Example: Inject memory hotplug offline error (-12 == -ENOMEM)

# cd /sys/kernel/debug/notifier-error-inject/memory # echo -12 > actions/MEM_GOING_OFFLINE/error # echo offline > /sys/devices/system/memory/memoryXXX/state bash: echo: write error: Cannot allocate memory

To compile this code as a module, choose M here: the module will be called memory-notifier-error-inject.

If unsure, say N.



Raw data from LKDDb:


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 - M index

Automatically generated (in year 2024). See also LKDDb sources on GitLab