Re: [PATCH 1/2] sysfs: Add crash_notes_size to export percpu note size

2013-03-28 Thread Simon Horman
On Fri, Mar 29, 2013 at 11:50:35AM +0800, Zhang Yanfei wrote: > Hi, simon > > I forgot to add your email in the CC, could you please help > reviewing this patch since I will send the kexec-tools patch > if this patch is accepted. > > Thanks > Zhang > > 于 2013年03月28日 16:15, Zhang Yanfei 写道: > >

Re: [PATCH 1/2] sysfs: Add crash_notes_size to export percpu note size

2013-03-28 Thread Zhang Yanfei
Hi, simon I forgot to add your email in the CC, could you please help reviewing this patch since I will send the kexec-tools patch if this patch is accepted. Thanks Zhang 于 2013年03月28日 16:15, Zhang Yanfei 写道: > For percpu notes, we are exporting only address and not size. So > the userspace

[PATCH 1/2] sysfs: Add crash_notes_size to export percpu note size

2013-03-28 Thread Zhang Yanfei
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

Re: [PATCH 1/2] sysfs: Add crash_notes_size to export percpu note size

2013-03-28 Thread Zhang Yanfei
Hi, simon I forgot to add your email in the CC, could you please help reviewing this patch since I will send the kexec-tools patch if this patch is accepted. Thanks Zhang 于 2013年03月28日 16:15, Zhang Yanfei 写道: For percpu notes, we are exporting only address and not size. So the userspace tool

Re: [PATCH 1/2] sysfs: Add crash_notes_size to export percpu note size

2013-03-28 Thread Simon Horman
On Fri, Mar 29, 2013 at 11:50:35AM +0800, Zhang Yanfei wrote: Hi, simon I forgot to add your email in the CC, could you please help reviewing this patch since I will send the kexec-tools patch if this patch is accepted. Thanks Zhang 于 2013年03月28日 16:15, Zhang Yanfei 写道: For percpu

[PATCH 1/2] sysfs: Add crash_notes_size to export percpu note size

2013-03-28 Thread Zhang Yanfei
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