diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2007-05-08 09:34:40 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 20:15:20 +0200 |
commit | 5e97b9309baa76b476ec7e0d6e9c097edeb4142c (patch) | |
tree | f36f3410ce537babc60025ea499970d148c69b14 /fs/proc/base.c | |
parent | atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular depe... (diff) | |
download | linux-5e97b9309baa76b476ec7e0d6e9c097edeb4142c.tar.xz linux-5e97b9309baa76b476ec7e0d6e9c097edeb4142c.zip |
local_t: architecture independent extension
This series extena and standardises local_t operations on each architecture,
allowing a rich set of atomic operations to be done on per-cpu data with
minimal performance impact. On architectures where there seems to be no
difference between the SMP and UP operation (same memory barriers, same
LOCKing), local.h simply includes asm-generic/local.h, which removes
duplicated code from the current kernel tree.
This patch:
local_t: architecture independent extension
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/base.c')
0 files changed, 0 insertions, 0 deletions