`current` `include/asm/current.h`
Prev | Chapter 6. Common Routines | Next

## `current` `include/asm/current.h`

This global variable (really a macro) contains a pointer to the current task structure, so is only valid in user context. For example, when a process makes a system call, this will point to the task structure of the calling process. It is not NULL in interrupt context.

Prev | Up | Next
`kmalloc()`/`kfree()` `include/linux/slab.h` | Home | `mdelay()`/`udelay()` `include/asm/delay.h` `include/linux/delay.h`