blog


Project maintained by abiaog Hosted on GitHub Pages — Theme by mattgraham

spinlock

seqlock

typedef struct {
	struct seqcount seqcount;
	spinlock_t lock;
} seqlock_t;

RCU(Read-Copy-Update)

PER CPU Variables

DEFINE_PER_CPU()
per_cpu(var,cpu)
get_cpu_var(), put_cpu_var()

Reference

seq-locks-vs-rcu-vs-per-cpu-use-cases