Skip to content

Instantly share code, notes, and snippets.

View lacraig2's full-sized avatar

Luke Craig lacraig2

View GitHub Profile

Keybase proof

I hereby claim:

  • I am lacraig2 on github.
  • I am lacraig2 (https://keybase.io/lacraig2) on keybase.
  • I have a public key whose fingerprint is F7EB 070E C5E6 92F9 5FE0 15F0 6150 ADF1 4AF2 5083

To claim this, I am signing this object:

current in the Linux Kernel

In the Linux Kernel the variable task_struct* current is a reference to the current task_struct. This is the process which is currently running on the CPU or which was running until interrupted by the kernel. This is true in every architecture. [kernel reference]

Architectures implement current differently based upon their facilities and requirements.

IA64

In IA64 we find the most concise definition of current: a system register. [kernel reference]

Keybase proof

I hereby claim:

  • I am lacraig2 on github.
  • I am lacraig2 (https://keybase.io/lacraig2) on keybase.
  • I have a public key ASCSlD-YBGETHAOFZOHGNF1i2UxLo00xRuqXoFEx1sF2pwo

To claim this, I am signing this object: