1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 14:48:08 +00:00

Update per-cpu.md

This commit is contained in:
0xAX 2015-03-07 18:00:24 +06:00
parent dcb6dca8aa
commit 0c332cb137

View File

@ -1,6 +1,8 @@
Per-CPU variables Per-CPU variables
================================================================================ ================================================================================
**In Progress**
Per-CPU variables are one of kernel features. You can understand what this feature mean by it's name. We can create variable and each processor core will have own copy of this variable. We take a closer look on this feature and try to understand how it implemented and how it work in this part. Per-CPU variables are one of kernel features. You can understand what this feature mean by it's name. We can create variable and each processor core will have own copy of this variable. We take a closer look on this feature and try to understand how it implemented and how it work in this part.
Kernel provides API for creating per-cpu variables - `DEFINE_PER_CPU` macro: Kernel provides API for creating per-cpu variables - `DEFINE_PER_CPU` macro: