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

CONFIG_DEBUG_KOBJECT_RELEASE: kobject release debugging

General informations

The Linux kernel configuration item CONFIG_DEBUG_KOBJECT_RELEASE:

Help text

kobjects are reference counted objects. This means that their last reference count put is not predictable, and the kobject can live on past the point at which a driver decides to drop its initial reference to the kobject gained on allocation. An example of this would be a struct device which has just been unregistered.

However, some buggy drivers assume that after such an operation, the memory backing the kobject can be immediately freed. This goes completely against the principles of a refcounted object.

If you say Y here, the kernel will delay the release of kobjects on the last reference count to improve the visibility of this kind of kobject release bug.



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

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