-
- Downloads
HWPOISON: Clean up memory_failure() vs. __memory_failure()
There is only one caller of memory_failure(), all other users call __memory_failure() and pass in the flags argument explicitly. The lone user of memory_failure() will soon need to pass flags too. Add flags argument to the callsite in mce.c. Delete the old memory_failure() function, and then rename __memory_failure() without the leading "__". Provide clearer message when action optional memory errors are ignored. Acked-by:Borislav Petkov <bp@amd64.org> Signed-off-by:
Tony Luck <tony.luck@intel.com>
Showing
- arch/x86/kernel/cpu/mcheck/mce.c 8 additions, 4 deletionsarch/x86/kernel/cpu/mcheck/mce.c
- drivers/base/memory.c 1 addition, 1 deletiondrivers/base/memory.c
- include/linux/mm.h 1 addition, 2 deletionsinclude/linux/mm.h
- mm/hwpoison-inject.c 2 additions, 2 deletionsmm/hwpoison-inject.c
- mm/madvise.c 1 addition, 1 deletionmm/madvise.c
- mm/memory-failure.c 21 additions, 25 deletionsmm/memory-failure.c
Loading
Please register or sign in to comment