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

CONFIG_KEYS_REQUEST_CACHE: Enable temporary caching of the last request_key() result

General informations

The Linux kernel configuration item CONFIG_KEYS_REQUEST_CACHE:

Help text

This option causes the result of the last successful request_key() call that didn't upcall to the kernel to be cached temporarily in the task_struct. The cache is cleared by exit and just prior to the resumption of userspace.

This allows the key used for multiple step processes where each step wants to request a key that is likely the same as the one requested by the last step to save on the searching.

An example of such a process is a pathwalk through a network filesystem in which each method needs to request an authentication key. Pathwalk will call multiple methods for each dentry traversed (permission, d_revalidate, lookup, getxattr, getacl, ...).



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

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