Skip to content

Explore kernel's per-CPU variables through structured modules, each covering distinct aspects like per-CPU interfaces, dynamic allocation, and more, with C examples and detailed Markdown documentation!

License

Notifications You must be signed in to change notification settings

ANSANJAY/KernelPerCPUVariable

Repository files navigation

2_KernelPerCPUVariable πŸš€πŸŒ

Welcome to a repository where kernel's per-CPU variables are not only explored but also implemented practically! πŸ–₯οΈπŸ’‘ Dive into structured modules, unraveling the facets of per-CPU data and its interfaces in the Linux Kernel with ease and depth! πŸŒ€βœ¨

Repository Structure πŸŒ³πŸ”

  • 1_per CPU variable: Introduction and basics of per-CPU variables 🌟
  • 2_percpu interface: Understanding and using the percpu interface πŸ”„
  • 3_per_cpu(variable, cpu_id): Implementing per_cpu macro for data access πŸš—
  • 5_perCPU data at runtime: Dynamic allocation and handling of per-CPU data πŸŽ’πŸ”„
  • 6_drawback: Exploring and documenting the limitations & issues πŸš§πŸ“œ

Explore Modules πŸ—‚οΈπŸ‘€

Each module is crafted with:

  • hello.c: A C example demonstrating key concepts πŸ“œπŸš€
  • Makefile: For smooth and easy compilation πŸ› οΈπŸ”„
  • Additional Markdown files providing in-depth notes and explorations πŸ“˜πŸ”Ž

Getting Started πŸŒ±πŸš€

  1. Navigate into the module of your interest πŸ—‚οΈ
  2. Compile using the provided Makefile πŸ› οΈ
  3. Explore the accompanying documentation πŸ“˜
  4. Experiment with the .c examples and observe the outcomes πŸ§ͺπŸŽ‰

Contribute & Learn 🀝🌟

Feel free to contribute, share insights, or ask questions to perpetuate learning and collaborative growth! πŸš€πŸ’¬

πŸ“„ LICENSE: Ensuring open and free use while respecting the creators β€οΈπŸ”„

Happy Learning & Exploring the Kernel Space! πŸŽ‰πŸ’»

About

Explore kernel's per-CPU variables through structured modules, each covering distinct aspects like per-CPU interfaces, dynamic allocation, and more, with C examples and detailed Markdown documentation!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published