vmcore-continue-vmcore-initialization-if-pt_note-is-found-empty.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] vmcore-continue-vmcore-initialization-if-pt_note-is-found-empty.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 08 Apr 2014 14:23:49 -0700
The patch titled
Subject: vmcore: continue vmcore initialization if PT_NOTE is found empty
has been removed from the -mm tree. Its filename was
vmcore-continue-vmcore-initialization-if-pt_note-is-found-empty.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: WANG Chao <[email protected]>
Subject: vmcore: continue vmcore initialization if PT_NOTE is found empty
Currently when an empty PT_NOTE is detected, vmcore initialization fails. It sounds too harsh. Because PT_NOTE could be empty, for example, one offlined a cpu but never restarted kdump service, and after crash, PT_NOTE program header is there but no data contains. It's better to warn about the empty PT_NOTE and continue to initialise vmcore.
And ultimately the multiple PT_NOTE are merged into a single one, all empty PT_NOTE are discarded naturally during the merge. So empty PT_NOTE is not visible to user space and vmcore is as good as expected.
---
fs/proc/vmcore.c | 2 -- 1 file changed, 2 deletions(-)
fs/proc/vmcore.c renamed from fs/proc/vmcore.c~vmcore-continue-vmcore-initialization-if-pt_note-is-found-empty +0 -2
@@ -484,7 +484,6 @@ static int __init update_note_header_siz phdr_ptr->p_memsz = real_sz;if (real_sz ==0 ) {pr_warn ("Warning: Zero PT_NOTE entries found\n" ); -return -EINVAL ; } }
@@ -671,7 +670,6 @@ static int __init update_note_header_siz phdr_ptr->p_memsz = real_sz;if (real_sz ==0 ) {pr_warn ("Warning: Zero PT_NOTE entries found\n" ); -return -EINVAL ; } }
_
Patches currently in -mm which might be from [email protected] are
origin.patch