-
- Downloads
[PATCH] EDAC: atomic scrub operations
EDAC requires a way to scrub memory if an ECC error is found and the chipset does not do the work automatically. That means rewriting memory locations atomically with respect to all CPUs _and_ bus masters. That means we can't use atomic_add(foo, 0) as it gets optimised for non-SMP This adds a function to include/asm-foo/atomic.h for the platforms currently supported which implements a scrub of a mapped block. It also adjusts a few other files include order where atomic.h is included before types.h as this now causes an error as atomic_scrub uses u32. Signed-off-by:Alan Cox <alan@redhat.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- drivers/md/kcopyd.c 1 addition, 0 deletionsdrivers/md/kcopyd.c
- fs/nfsctl.c 1 addition, 0 deletionsfs/nfsctl.c
- include/asm-i386/atomic.h 12 additions, 0 deletionsinclude/asm-i386/atomic.h
- include/asm-x86_64/atomic.h 12 additions, 0 deletionsinclude/asm-x86_64/atomic.h
- kernel/audit.c 1 addition, 1 deletionkernel/audit.c
- kernel/auditsc.c 1 addition, 1 deletionkernel/auditsc.c
- net/ipv4/raw.c 1 addition, 1 deletionnet/ipv4/raw.c
Loading
Please register or sign in to comment