[RFC 1/4] memblock: Introduce a for_each_reserved_mem_region iterator.

2013-07-11 Thread Robin Holt
As part of initializing struct page's in 2MiB chunks, we noticed that at the end of free_all_bootmem(), there was nothing which had forced the reserved/allocated 4KiB pages to be initialized. This helper function will be used for that expansion. Signed-off-by: Robin Holt h...@sgi.com Signed-off

[RFC 2/4] Have __free_pages_memory() free in larger chunks.

2013-07-11 Thread Robin Holt
. Signed-off-by: Robin Holt h...@sgi.com Signed-off-by: Nate Zimmer nzim...@sgi.com To: H. Peter Anvin h...@zytor.com To: Ingo Molnar mi...@kernel.org Cc: Linux Kernel linux-kernel@vger.kernel.org Cc: Linux MM linux...@kvack.org Cc: Rob Landley r...@landley.net Cc: Mike Travis tra...@sgi.com Cc: Daniel J

[RFC 0/4] Transparent on-demand struct page initialization embedded in the buddy allocator

2013-07-11 Thread Robin Holt
will perform. I am on vacation for the next three days so I am sorry in advance for my infrequent or non-existant responses. Signed-off-by: Robin Holt h...@sgi.com Signed-off-by: Nate Zimmer nzim...@sgi.com To: H. Peter Anvin h...@zytor.com To: Ingo Molnar mi...@kernel.org Cc: Linux Kernel linux

Re: [PATCH v2] Make transparent hugepages cpuset aware

2013-06-19 Thread Robin Holt
On Wed, Jun 19, 2013 at 02:24:07PM -0700, David Rientjes wrote: > On Wed, 19 Jun 2013, Robin Holt wrote: > > > The convenience being that many batch schedulers have added cpuset > > support. They create the cpuset's and configure them as appropriate > > for the job as

Re: [PATCH v2] Make transparent hugepages cpuset aware

2013-06-19 Thread Robin Holt
On Tue, Jun 18, 2013 at 05:01:23PM -0700, David Rientjes wrote: > On Tue, 18 Jun 2013, Alex Thorlton wrote: > > > Thanks for your input, however, I believe the method of using a malloc > > hook falls apart when it comes to static binaries, since we wont' have > > any shared libraries to hook

Re: [PATCH v2] Make transparent hugepages cpuset aware

2013-06-19 Thread Robin Holt
On Tue, Jun 18, 2013 at 05:01:23PM -0700, David Rientjes wrote: On Tue, 18 Jun 2013, Alex Thorlton wrote: Thanks for your input, however, I believe the method of using a malloc hook falls apart when it comes to static binaries, since we wont' have any shared libraries to hook into.

Re: [PATCH v2] Make transparent hugepages cpuset aware

2013-06-19 Thread Robin Holt
On Wed, Jun 19, 2013 at 02:24:07PM -0700, David Rientjes wrote: On Wed, 19 Jun 2013, Robin Holt wrote: The convenience being that many batch schedulers have added cpuset support. They create the cpuset's and configure them as appropriate for the job as determined by a mixture of input

Re: [Trivial PATCH 14/33] sgi: xpc: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Robin Holt
On Thu, Jun 13, 2013 at 07:37:39PM -0700, Joe Perches wrote: > This typedef is unnecessary and should just be removed. > > Signed-off-by: Joe Perches Acked-by: Robin Holt > --- > drivers/misc/sgi-xp/xpc_main.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(

Re: [Trivial PATCH 14/33] sgi: xpc: Convert use of typedef ctl_table to struct ctl_table

2013-06-13 Thread Robin Holt
On Thu, Jun 13, 2013 at 07:37:39PM -0700, Joe Perches wrote: This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches j...@perches.com Acked-by: Robin Holt h...@sgi.com --- drivers/misc/sgi-xp/xpc_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH -v11 resend 03/11] Remove -stable friendly PF_THREAD_BOUND define

2013-06-06 Thread Robin Holt
Remove the prior patch's #define for easier backporting to the stable releases. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List

[PATCH -v11 resend 02/11] Migrate shutdown/reboot to boot cpu.

2013-06-06 Thread Robin Holt
-by: Robin Holt Tested-by: Shawn Guo To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List Cc: --- Changes since -v8 - Change stack parameter to make future

[PATCH -v11 resend 08/11] arm, Remove unused restart_mode fields from some arm subarchs

2013-06-06 Thread Robin Holt
These restart_mode fields are not used at all. Remove them to make moving the reboot= cmdline options to the general kernel easier. Signed-off-by: Robin Holt To: Andrew Morton Cc: Russell King Cc: Russ Anderson Cc: Robin Holt Cc: H. Peter Anvin Cc: Guan Xuetao Cc: Linux Kernel Mailing

[PATCH -v11 resend 11/11] Move arch/x86 reboot= handling to generic kernel.

2013-06-06 Thread Robin Holt
Merge together the unicore32, arm, and x86 reboot= command line parameter handling. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russell King Cc: Guan Xuetao Cc: Russ Anderson Cc: Robin Holt Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing

[PATCH -v11 resend 05/11] checkpatch.pl the new kernel/reboot.c file.

2013-06-06 Thread Robin Holt
Get the new file to pass scripts/checkpatch.pl Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List --- Changes since v6

[PATCH -v11 resend 06/11] x86, prepare reboot_mode for moving to generic kernel code.

2013-06-06 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Miguel Boton Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux

[PATCH -v11 resend 07/11] unicore32, prepare reboot_mode for moving to generic kernel code.

2013-06-06 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: Guan Xuetao Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: H. Peter Anvin Cc: Linux Kernel Mailing

[PATCH -v11 resend 09/11] arm, prepare reboot_mode for moving to generic kernel code.

2013-06-06 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: Russell King Cc: Russ Anderson Cc: Robin Holt Cc: H. Peter Anvin Cc: Guan Xuetao Cc: Linux Kernel Mailing

[PATCH -v11 resend 01/11] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug

2013-06-06 Thread Robin Holt
ric enough to be useful for other usecases too. Signed-off-by: Srivatsa S. Bhat Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailin

[PATCH -v11 resend 04/11] Move shutdown/reboot related functions to kernel/reboot.c

2013-06-06 Thread Robin Holt
This patch is preparatory. It moves reboot related syscall, etc functions from kernel/sys.c to kernel/reboot.c. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86

[PATCH -v11 resend 00/11] Shutdown from reboot_cpuid without stopping other cpus.

2013-06-06 Thread Robin Holt
Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: mmotm 2013-06-05-17-24 uploaded

2013-06-06 Thread Robin Holt
On Wed, Jun 05, 2013 at 05:26:36PM -0700, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2013-06-05-17-24 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This

Re: mmotm 2013-06-05-17-24 uploaded

2013-06-06 Thread Robin Holt
On Wed, Jun 05, 2013 at 05:26:36PM -0700, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2013-06-05-17-24 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a

[PATCH -v11 resend 00/11] Shutdown from reboot_cpuid without stopping other cpus.

2013-06-06 Thread Robin Holt
-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc: Russell King li...@arm.linux.org.uk Cc: Guan Xuetao g...@mprc.pku.edu.cn Cc: Linux Kernel Mailing List linux-kernel@vger.kernel.org Cc: the arch/x86 maintainers x...@kernel.org Cc: Arm Mailing

[PATCH -v11 resend 07/11] unicore32, prepare reboot_mode for moving to generic kernel code.

2013-06-06 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: Guan Xuetao g...@mprc.pku.edu.cn Cc: Russ Anderson r...@sgi.com Cc: Robin

[PATCH -v11 resend 09/11] arm, prepare reboot_mode for moving to generic kernel code.

2013-06-06 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Russ Anderson r...@sgi.com Cc

[PATCH -v11 resend 01/11] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug

2013-06-06 Thread Robin Holt
and make it generic enough to be useful for other usecases too. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h

[PATCH -v11 resend 04/11] Move shutdown/reboot related functions to kernel/reboot.c

2013-06-06 Thread Robin Holt
This patch is preparatory. It moves reboot related syscall, etc functions from kernel/sys.c to kernel/reboot.c. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc

[PATCH -v11 resend 05/11] checkpatch.pl the new kernel/reboot.c file.

2013-06-06 Thread Robin Holt
Get the new file to pass scripts/checkpatch.pl Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Guan Xuetao g

[PATCH -v11 resend 06/11] x86, prepare reboot_mode for moving to generic kernel code.

2013-06-06 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Miguel Boton mboton.l...@gmail.com Cc: Russ

[PATCH -v11 resend 08/11] arm, Remove unused restart_mode fields from some arm subarchs

2013-06-06 Thread Robin Holt
These restart_mode fields are not used at all. Remove them to make moving the reboot= cmdline options to the general kernel easier. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Russ Anderson r...@sgi.com Cc

[PATCH -v11 resend 11/11] Move arch/x86 reboot= handling to generic kernel.

2013-06-06 Thread Robin Holt
Merge together the unicore32, arm, and x86 reboot= command line parameter handling. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Guan Xuetao g...@mprc.pku.edu.cn Cc: Russ

[PATCH -v11 resend 03/11] Remove -stable friendly PF_THREAD_BOUND define

2013-06-06 Thread Robin Holt
Remove the prior patch's #define for easier backporting to the stable releases. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc: Russell King rmk+ker

[PATCH -v11 resend 02/11] Migrate shutdown/reboot to boot cpu.

2013-06-06 Thread Robin Holt
-by: Robin Holt h...@sgi.com Tested-by: Shawn Guo shawn@linaro.org To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Guan Xuetao g...@mprc.pku.edu.cn Cc: Linux

Re: Handling NUMA page migration

2013-06-04 Thread Robin Holt
On Tue, Jun 04, 2013 at 02:14:45PM +0200, Frank Mehnert wrote: > On Tuesday 04 June 2013 13:58:07 Robin Holt wrote: > > This is probably more appropriate to be directed at the linux-mm > > mailing list. > > > > On Tue, Jun 04, 2013 at 09:22:10AM +0200, Fr

Re: Handling NUMA page migration

2013-06-04 Thread Robin Holt
This is probably more appropriate to be directed at the linux-mm mailing list. On Tue, Jun 04, 2013 at 09:22:10AM +0200, Frank Mehnert wrote: > Hi, > > our memory management on Linux hosts conflicts with NUMA page migration. > I assume this problem existed for a longer time but Linux 3.8

Re: Handling NUMA page migration

2013-06-04 Thread Robin Holt
This is probably more appropriate to be directed at the linux-mm mailing list. On Tue, Jun 04, 2013 at 09:22:10AM +0200, Frank Mehnert wrote: Hi, our memory management on Linux hosts conflicts with NUMA page migration. I assume this problem existed for a longer time but Linux 3.8 introduced

Re: Handling NUMA page migration

2013-06-04 Thread Robin Holt
On Tue, Jun 04, 2013 at 02:14:45PM +0200, Frank Mehnert wrote: On Tuesday 04 June 2013 13:58:07 Robin Holt wrote: This is probably more appropriate to be directed at the linux-mm mailing list. On Tue, Jun 04, 2013 at 09:22:10AM +0200, Frank Mehnert wrote: Hi, our memory

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Robin Holt
Russ, Can we open a bug for the BIOS folks and see if we can get this addressed? Robin On Fri, May 24, 2013 at 08:43:31AM +0100, Matt Fleming wrote: > On Thu, 23 May, at 03:32:34PM, Russ Anderson wrote: > >efi: mem127: type=4, attr=0xf, > > range=[0x6bb22000-0x7ca9c000)

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-24 Thread Robin Holt
Russ, Can we open a bug for the BIOS folks and see if we can get this addressed? Robin On Fri, May 24, 2013 at 08:43:31AM +0100, Matt Fleming wrote: On Thu, 23 May, at 03:32:34PM, Russ Anderson wrote: efi: mem127: type=4, attr=0xf, range=[0x6bb22000-0x7ca9c000) (271MB)

[PATCH -v11 resend 02/11] Migrate shutdown/reboot to boot cpu.

2013-05-16 Thread Robin Holt
-by: Robin Holt Tested-by: Shawn Guo To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List Cc: --- Changes since -v8 - Change stack parameter to make future

[PATCH -v11 resend 07/11] unicore32, prepare reboot_mode for moving to generic kernel code.

2013-05-16 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: Guan Xuetao Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: H. Peter Anvin Cc: Linux Kernel Mailing

[PATCH -v11 resend 03/11] Remove -stable friendly PF_THREAD_BOUND define

2013-05-16 Thread Robin Holt
Remove the prior patch's #define for easier backporting to the stable releases. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List

[PATCH -v11 resend 05/11] checkpatch.pl the new kernel/reboot.c file.

2013-05-16 Thread Robin Holt
Get the new file to pass scripts/checkpatch.pl Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List --- Changes since v6

[PATCH -v11 resend 04/11] Move shutdown/reboot related functions to kernel/reboot.c

2013-05-16 Thread Robin Holt
This patch is preparatory. It moves reboot related syscall, etc functions from kernel/sys.c to kernel/reboot.c. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86

[PATCH -v11 resend 01/11] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug

2013-05-16 Thread Robin Holt
ric enough to be useful for other usecases too. Signed-off-by: Srivatsa S. Bhat Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailin

[PATCH -v11 resend 08/11] arm, Remove unused restart_mode fields from some arm subarchs

2013-05-16 Thread Robin Holt
These restart_mode fields are not used at all. Remove them to make moving the reboot= cmdline options to the general kernel easier. Signed-off-by: Robin Holt To: Andrew Morton Cc: Russell King Cc: Russ Anderson Cc: Robin Holt Cc: H. Peter Anvin Cc: Guan Xuetao Cc: Linux Kernel Mailing

[PATCH -v11 resend 06/11] x86, prepare reboot_mode for moving to generic kernel code.

2013-05-16 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Miguel Boton Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux

[PATCH -v11 resend 11/11] Move arch/x86 reboot= handling to generic kernel.

2013-05-16 Thread Robin Holt
Merge together the unicore32, arm, and x86 reboot= command line parameter handling. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russell King Cc: Guan Xuetao Cc: Russ Anderson Cc: Robin Holt Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing

[PATCH -v11 resend 09/11] arm, prepare reboot_mode for moving to generic kernel code.

2013-05-16 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: Russell King Cc: Russ Anderson Cc: Robin Holt Cc: H. Peter Anvin Cc: Guan Xuetao Cc: Linux Kernel Mailing

[PATCH -v11 resend 00/11] Shutdown from reboot_cpuid without stopping other cpus.

2013-05-16 Thread Robin Holt
Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH -v11 resend 00/11] Shutdown from reboot_cpuid without stopping other cpus.

2013-05-16 Thread Robin Holt
-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc: Russell King li...@arm.linux.org.uk Cc: Guan Xuetao g...@mprc.pku.edu.cn Cc: Linux Kernel Mailing List linux-kernel@vger.kernel.org Cc: the arch/x86 maintainers x...@kernel.org Cc: Arm Mailing

[PATCH -v11 resend 09/11] arm, prepare reboot_mode for moving to generic kernel code.

2013-05-16 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Russ Anderson r...@sgi.com Cc

[PATCH -v11 resend 11/11] Move arch/x86 reboot= handling to generic kernel.

2013-05-16 Thread Robin Holt
Merge together the unicore32, arm, and x86 reboot= command line parameter handling. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Guan Xuetao g...@mprc.pku.edu.cn Cc: Russ

[PATCH -v11 resend 06/11] x86, prepare reboot_mode for moving to generic kernel code.

2013-05-16 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Miguel Boton mboton.l...@gmail.com Cc: Russ

[PATCH -v11 resend 08/11] arm, Remove unused restart_mode fields from some arm subarchs

2013-05-16 Thread Robin Holt
These restart_mode fields are not used at all. Remove them to make moving the reboot= cmdline options to the general kernel easier. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Russ Anderson r...@sgi.com Cc

[PATCH -v11 resend 01/11] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug

2013-05-16 Thread Robin Holt
and make it generic enough to be useful for other usecases too. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h

[PATCH -v11 resend 05/11] checkpatch.pl the new kernel/reboot.c file.

2013-05-16 Thread Robin Holt
Get the new file to pass scripts/checkpatch.pl Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Guan Xuetao g

[PATCH -v11 resend 04/11] Move shutdown/reboot related functions to kernel/reboot.c

2013-05-16 Thread Robin Holt
This patch is preparatory. It moves reboot related syscall, etc functions from kernel/sys.c to kernel/reboot.c. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc

[PATCH -v11 resend 07/11] unicore32, prepare reboot_mode for moving to generic kernel code.

2013-05-16 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: Guan Xuetao g...@mprc.pku.edu.cn Cc: Russ Anderson r...@sgi.com Cc: Robin

[PATCH -v11 resend 03/11] Remove -stable friendly PF_THREAD_BOUND define

2013-05-16 Thread Robin Holt
Remove the prior patch's #define for easier backporting to the stable releases. Signed-off-by: Robin Holt h...@sgi.com To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc: Russell King rmk+ker

[PATCH -v11 resend 02/11] Migrate shutdown/reboot to boot cpu.

2013-05-16 Thread Robin Holt
-by: Robin Holt h...@sgi.com Tested-by: Shawn Guo shawn@linaro.org To: Andrew Morton a...@linux-foundation.org Cc: H. Peter Anvin h...@zytor.com Cc: Russ Anderson r...@sgi.com Cc: Robin Holt h...@sgi.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Guan Xuetao g...@mprc.pku.edu.cn Cc: Linux

Re: kmalloc warning in mlx4_buddy_init.

2013-05-15 Thread Robin Holt
On Wed, May 15, 2013 at 07:15:42AM -0700, Eric Dumazet wrote: > On Wed, 2013-05-15 at 03:23 -0500, Robin Holt wrote: > > Roland, > > > > We are seeing the following when booting on a large system. > > > > [ 171.399023] mlx4_core 0004:01:00.0: irq 241

Re: Commit 911af505 introduced a bootmem warning.

2013-05-15 Thread Robin Holt
On Wed, May 15, 2013 at 07:32:49AM -0700, Paul E. McKenney wrote: > On Wed, May 15, 2013 at 02:57:42AM -0500, Robin Holt wrote: > > Paul, > > > > When we boot Linus' current kernel we get the following warn

kmalloc warning in mlx4_buddy_init.

2013-05-15 Thread Robin Holt
This looks to be a kmalloc larger than MAX_ORDER. Not sure which of the two kcallocs in mlx4_buddy_init. Thanks, Robin Holt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.

Commit 911af505 introduced a bootmem warning.

2013-05-15 Thread Robin Holt
B_CPU_ALL */ 911af505e (Paul E. McKenney2013-02-11 10:23:27 -0800 102) #endif /* #ifndef CONFIG_RCU_NOCB_CPU_NONE */ Thanks, Robin Holt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo i

Commit 911af505 introduced a bootmem warning.

2013-05-15 Thread Robin Holt
*/ Thanks, Robin Holt -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

kmalloc warning in mlx4_buddy_init.

2013-05-15 Thread Robin Holt
: Initializing 0007:02:00.0 This looks to be a kmalloc larger than MAX_ORDER. Not sure which of the two kcallocs in mlx4_buddy_init. Thanks, Robin Holt -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: Commit 911af505 introduced a bootmem warning.

2013-05-15 Thread Robin Holt
On Wed, May 15, 2013 at 07:32:49AM -0700, Paul E. McKenney wrote: On Wed, May 15, 2013 at 02:57:42AM -0500, Robin Holt wrote: Paul, When we boot Linus' current kernel we get the following warning early in boot

Re: kmalloc warning in mlx4_buddy_init.

2013-05-15 Thread Robin Holt
On Wed, May 15, 2013 at 07:15:42AM -0700, Eric Dumazet wrote: On Wed, 2013-05-15 at 03:23 -0500, Robin Holt wrote: Roland, We are seeing the following when booting on a large system. [ 171.399023] mlx4_core 0004:01:00.0: irq 2410 for MSI/MSI-X [ 171.406560] [ cut here

Re: Full dynticks needs evtdesc set before marking cpu online.

2013-05-13 Thread Robin Holt
On Mon, May 13, 2013 at 04:04:45PM +0200, Thomas Gleixner wrote: > On Mon, 13 May 2013, Robin Holt wrote: > > On Mon, May 13, 2013 at 03:03:55PM +0200, Thomas Gleixner wrote: > > > On Mon, 13 May 2013, Robin Holt wrote: > > > > > > > On Mon, May 13, 2013 at

Re: Full dynticks needs evtdesc set before marking cpu online.

2013-05-13 Thread Robin Holt
On Mon, May 13, 2013 at 03:03:55PM +0200, Thomas Gleixner wrote: > On Mon, 13 May 2013, Robin Holt wrote: > > > On Mon, May 13, 2013 at 11:21:00AM +0200, Thomas Gleixner wrote: > > > On Wed, 8 May 2013, Robin Holt wrote: > > > > > > > Thomas, >

Re: Full dynticks needs evtdesc set before marking cpu online.

2013-05-13 Thread Robin Holt
On Mon, May 13, 2013 at 11:21:00AM +0200, Thomas Gleixner wrote: > On Wed, 8 May 2013, Robin Holt wrote: > > > Thomas, > > > > We are seeing failures booting medium sized machines which I think is > > a change in expectations that dyntick put on x86's start_s

Re: Full dynticks needs evtdesc set before marking cpu online.

2013-05-13 Thread Robin Holt
On Mon, May 13, 2013 at 11:21:00AM +0200, Thomas Gleixner wrote: On Wed, 8 May 2013, Robin Holt wrote: Thomas, We are seeing failures booting medium sized machines which I think is a change in expectations that dyntick put on x86's start_secondary. During boot of cpus, we see

Re: Full dynticks needs evtdesc set before marking cpu online.

2013-05-13 Thread Robin Holt
On Mon, May 13, 2013 at 03:03:55PM +0200, Thomas Gleixner wrote: On Mon, 13 May 2013, Robin Holt wrote: On Mon, May 13, 2013 at 11:21:00AM +0200, Thomas Gleixner wrote: On Wed, 8 May 2013, Robin Holt wrote: Thomas, We are seeing failures booting medium sized machines which

Re: Full dynticks needs evtdesc set before marking cpu online.

2013-05-13 Thread Robin Holt
On Mon, May 13, 2013 at 04:04:45PM +0200, Thomas Gleixner wrote: On Mon, 13 May 2013, Robin Holt wrote: On Mon, May 13, 2013 at 03:03:55PM +0200, Thomas Gleixner wrote: On Mon, 13 May 2013, Robin Holt wrote: On Mon, May 13, 2013 at 11:21:00AM +0200, Thomas Gleixner wrote: On Wed

[PATCH -v11 01/11] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug

2013-05-11 Thread Robin Holt
ric enough to be useful for other usecases too. Signed-off-by: Srivatsa S. Bhat Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailin

[PATCH -v11 03/11] Remove -stable friendly PF_THREAD_BOUND define

2013-05-11 Thread Robin Holt
Remove the prior patch's #define for easier backporting to the stable releases. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List

[PATCH -v11 05/11] checkpatch.pl the new kernel/reboot.c file.

2013-05-11 Thread Robin Holt
Get the new file to pass scripts/checkpatch.pl Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List --- Changes since v6

[PATCH -v11 00/11] Shutdown from reboot_cpuid without stopping other cpus.

2013-05-11 Thread Robin Holt
Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH -v11 07/11] unicore32, prepare reboot_mode for moving to generic kernel code.

2013-05-11 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: Guan Xuetao Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: H. Peter Anvin Cc: Linux Kernel Mailing

[PATCH -v11 08/11] arm, Remove unused restart_mode fields from some arm subarchs

2013-05-11 Thread Robin Holt
These restart_mode fields are not used at all. Remove them to make moving the reboot= cmdline options to the general kernel easier. Signed-off-by: Robin Holt To: Andrew Morton Cc: Russell King Cc: Russ Anderson Cc: Robin Holt Cc: H. Peter Anvin Cc: Guan Xuetao Cc: Linux Kernel Mailing

[PATCH -v11 04/11] Move shutdown/reboot related functions to kernel/reboot.c

2013-05-11 Thread Robin Holt
This patch is preparatory. It moves reboot related syscall, etc functions from kernel/sys.c to kernel/reboot.c. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86

[PATCH -v11 09/11] arm, prepare reboot_mode for moving to generic kernel code.

2013-05-11 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: Russell King Cc: Russ Anderson Cc: Robin Holt Cc: H. Peter Anvin Cc: Guan Xuetao Cc: Linux Kernel Mailing

[PATCH -v11 11/11] Move arch/x86 reboot= handling to generic kernel.

2013-05-11 Thread Robin Holt
Merge together the unicore32, arm, and x86 reboot= command line parameter handling. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russell King Cc: Guan Xuetao Cc: Russ Anderson Cc: Robin Holt Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing

[PATCH -v11 06/11] x86, prepare reboot_mode for moving to generic kernel code.

2013-05-11 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Miguel Boton Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux

[PATCH -v11 02/11] Migrate shutdown/reboot to boot cpu.

2013-05-11 Thread Robin Holt
-by: Robin Holt Tested-by: Shawn Guo To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List Cc: --- Changes since -v8 - Change stack parameter to make future

Re: [PATCH -v10 00/11] Shutdown from reboot_cpuid without stopping other cpus.

2013-05-11 Thread Robin Holt
I will resubmit a -v11 with Russell's comment about the wrongly added ^// in a bit. Robin On Sat, May 11, 2013 at 06:57:16AM -0500, Robin Holt wrote: > We recently noticed that reboot of a 1024 cpu machine takes approx 16 > minutes of just stopping the cpus. The slowdown was tracked to

[PATCH -v10 06/11] x86, prepare reboot_mode for moving to generic kernel code.

2013-05-11 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Miguel Boton Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux

[PATCH -v10 08/11] arm, Remove unused restart_mode fields from some arm subarchs

2013-05-11 Thread Robin Holt
These restart_mode fields are not used at all. Remove them to make moving the reboot= cmdline options to the general kernel easier. Signed-off-by: Robin Holt To: Andrew Morton Cc: Russell King Cc: Russ Anderson Cc: Robin Holt Cc: H. Peter Anvin Cc: Guan Xuetao Cc: Linux Kernel Mailing

[PATCH -v10 07/11] unicore32, prepare reboot_mode for moving to generic kernel code.

2013-05-11 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton Cc: Guan Xuetao Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: H. Peter Anvin Cc: Linux Kernel Mailing

[PATCH -v10 03/11] Remove -stable friendly PF_THREAD_BOUND define

2013-05-11 Thread Robin Holt
Remove the prior patch's #define for easier backporting to the stable releases. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List

[PATCH -v10 02/11] Migrate shutdown/reboot to boot cpu.

2013-05-11 Thread Robin Holt
-by: Robin Holt Tested-by: Shawn Guo To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List Cc: --- Changes since -v8 - Change stack parameter to make future

[PATCH -v10 01/11] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug

2013-05-11 Thread Robin Holt
ric enough to be useful for other usecases too. Signed-off-by: Srivatsa S. Bhat Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailin

[PATCH -v10 09/11] arm, prepare reboot_mode for moving to generic kernel code.

2013-05-11 Thread Robin Holt
This patch prepares for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt To: Andrew Morton To: Russell King Cc: Russ Anderson Cc: Robin Holt Cc: H. Peter Anvin Cc: Guan Xuetao Cc: Linux Kernel Mailing

[PATCH -v10 11/11] Move arch/x86 reboot= handling to generic kernel.

2013-05-11 Thread Robin Holt
Merge together the unicore32, arm, and x86 reboot= command line parameter handling. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russell King Cc: Guan Xuetao Cc: Russ Anderson Cc: Robin Holt Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing

[PATCH -v10 04/11] Move shutdown/reboot related functions to kernel/reboot.c

2013-05-11 Thread Robin Holt
This patch is preparatory. It moves reboot related syscall, etc functions from kernel/sys.c to kernel/reboot.c. Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86

[PATCH -v10 05/11] checkpatch.pl the new kernel/reboot.c file.

2013-05-11 Thread Robin Holt
Get the new file to pass scripts/checkpatch.pl Signed-off-by: Robin Holt To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86 maintainers Cc: Arm Mailing List --- Changes since v6

[PATCH -v10 00/11] Shutdown from reboot_cpuid without stopping other cpus.

2013-05-11 Thread Robin Holt
. - Added a tested-by for the original reporter. - Fix compile failure found by Joe Perches. - Integrated comments by Joe Perches. To: Andrew Morton Cc: H. Peter Anvin Cc: Russ Anderson Cc: Robin Holt Cc: Russell King Cc: Guan Xuetao Cc: Linux Kernel Mailing List Cc: the arch/x86

Re: [PATCH -v8 01/11] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug

2013-05-11 Thread Robin Holt
Thank you. That fixed the alpha allmodconfig case for me. I am currently rebuilding all the arm defconfig files and will resubmit -v10 when that is done. Robin On Sat, May 11, 2013 at 02:43:20PM +0530, Srivatsa S. Bhat wrote: > On 05/11/2013 09:46 AM, Robin Holt wrote: > > On Fri, May

Re: [PATCH -v8 01/11] CPU hotplug: Provide a generic helper to disable/enable CPU hotplug

2013-05-11 Thread Robin Holt
Thank you. That fixed the alpha allmodconfig case for me. I am currently rebuilding all the arm defconfig files and will resubmit -v10 when that is done. Robin On Sat, May 11, 2013 at 02:43:20PM +0530, Srivatsa S. Bhat wrote: On 05/11/2013 09:46 AM, Robin Holt wrote: On Fri, May 10, 2013

<    1   2   3   4   5   6   7   8   >