linux-network

View the Project on GitHub super-learners/linux-network

Chapter 1. Introduction

Basic Terminology

Common Coding Patterns

Memory Caches

주어진 cache에 할당할 수 있는 instance 개수 제한은 kmem_cache_alloc을 감싸는 wrapper에서 하거나 /proc에서 parameter 설정을 통해 할 수 있음.

Caching and Hash Tables

Reference Counts

Garbage Collection

Function Pointers and Virtual Function Tables (VFTs)

goto Statements

Vector Definitions

Conditional Directives (#ifdef and family)

Compile-Time Optimization for Condition Checks

Mutual Exclusion

Conversions Between Host and Network Order

Catching Bugs

Statistics

Measuring Time

User-Space Tools

Browsing the Source Code

Dead Code

When a Feature Is Offered as a Patch