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

CONFIG_MN10300_CURRENT_IN_E2: Hold current task address in E2 register

General informations

The Linux kernel configuration item CONFIG_MN10300_CURRENT_IN_E2:

Help text

This option removes the E2/R2 register from the set available to gcc for normal use and instead uses it to store the address of the current process's task_struct whilst in the kernel.

This means the kernel doesn't need to calculate the address each time "current" is used (take SP, AND with mask and dereference pointer just to get the address), and instead can just use E2+offset addressing each time.

This has no effect on userspace.



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