[PATCH 0/2] cache: fix cache logic not go into invalid state
HATAYAMA Daisuke
d.hatayama at jp.fujitsu.com
Tue Sep 17 02:29:27 EDT 2013
I faced failure of sadump phys_base calculation and found a bug in
cache.c causes it. Due to the bug, cache_alloc() returns NULL forever
throughout execution. The fix is the 2nd patch. During the
investigation I also found a lack of malloc() allocation failure
check. The fix is the 1st patch. Primary is the 2nd one.
I built this patch set on top of devel branch.
---
HATAYAMA Daisuke (2):
cache: allocate buffers at initialization to detect malloc() failure
cache: reuse entry in pending list
cache.c | 50 +++++++++++++++++++++++++++++++++-----------------
cache.h | 1 +
makedumpfile.c | 3 +++
3 files changed, 37 insertions(+), 17 deletions(-)
--
Thanks.
HATAYAMA, Daisuke
More information about the kexec
mailing list