diff options
author | Zhang Yanfei <[email protected]> | 2013-03-28 16:15:35 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-03-29 09:17:22 -0700 |
commit | eca4549f57a19f8881dcd7b9cef719b3452003c0 (patch) | |
tree | e7b156e0d7c9344337263ed81d683d15203b08fa /net/lapb/lapb_in.c | |
parent | 6ae07f27ab202069bd567967a0099070eb7f77d5 (diff) |
sysfs: Add crash_notes_size to export percpu note size
For percpu notes, we are exporting only address and not size. So
the userspace tool kexec-tools is putting an upper limit of 1024
and putting the value in p_memsz and p_filesz fields. So the patch
add the new sysfile crash_notes_size to export the exact percpu
note size and let the kexec-tools parse it intead of using 1024.
The idea came from Vivek Goyal. And a later patch will be sent to
kexec-tools to let it parse the size.
Cc: "Eric W. Biederman" <[email protected]>
Cc: Vivek Goyal <[email protected]>
Signed-off-by: Zhang Yanfei <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions