Re: [RFC PATCH 2/3] topology: support node_numa_mem() for determining the fallback node

2014-02-07 Thread Nishanth Aravamudan
On 07.02.2014 [12:51:07 -0600], Christoph Lameter wrote: > Here is a draft of a patch to make this work with memoryless nodes. Hi Christoph, this should be tested instead of Joonsoo's patch 2 (and 3)? Thanks, Nish ___ Linuxppc-dev mailing list Linuxppc

Re: arch/powerpc/math-emu/mtfsf.c - incorrect mask?

2014-02-07 Thread James Yang
On Fri, 7 Feb 2014, Gabriel Paubert wrote: > Hi Stephen, > > On Fri, Feb 07, 2014 at 11:27:57AM +1000, Stephen N Chivers wrote: > > Gabriel Paubert wrote on 02/06/2014 07:26:37 PM: > > > > > From: Gabriel Paubert > > > To: Stephen N Chivers > > > Cc: linuxppc-dev@lists.ozlabs.org, Chris

[PATCH] powerpc: fix build failure in sysdev/mpic.c for MPIC_WEIRD=y

2014-02-07 Thread Paul Gortmaker
Commit 446f6d06fab0b49c61887ecbe8286d6aaa796637 ("powerpc/mpic: Properly set default triggers") breaks the mpc7447_hpc_defconfig as follows: CC arch/powerpc/sysdev/mpic.o arch/powerpc/sysdev/mpic.c: In function 'mpic_set_irq_type': arch/powerpc/sysdev/mpic.c:886:9: error: case label does no

Re: [RFC PATCH 2/3] topology: support node_numa_mem() for determining the fallback node

2014-02-07 Thread Christoph Lameter
Here is a draft of a patch to make this work with memoryless nodes. The first thing is that we modify node_match to also match if we hit an empty node. In that case we simply take the current slab if its there. If there is no current slab then a regular allocation occurs with the memoryless node.

Re: [PATCH v2] powerpc ticket locks

2014-02-07 Thread Torsten Duwe
On Fri, Feb 07, 2014 at 06:12:24PM +0100, Peter Zijlstra wrote: > On Fri, Feb 07, 2014 at 05:58:01PM +0100, Torsten Duwe wrote: > > +static __always_inline void arch_spin_lock(arch_spinlock_t *lock) > > { > > + register struct __raw_tickets old, tmp, > > + inc = { .tail = TICKET_LOCK_I

Re: [RFC PATCH 2/3] topology: support node_numa_mem() for determining the fallback node

2014-02-07 Thread Christoph Lameter
On Fri, 7 Feb 2014, Joonsoo Kim wrote: > > > > It seems like a better approach would be to do this when a node is brought > > online and determine the fallback node based not on the zonelists as you > > do here but rather on locality (such as through a SLIT if provided, see > > node_distance()). >

Re: [RFC PATCH 3/3] slub: fallback to get_numa_mem() node if we want to allocate on memoryless node

2014-02-07 Thread Christoph Lameter
On Fri, 7 Feb 2014, Joonsoo Kim wrote: > > This check wouild need to be something that checks for other contigencies > > in the page allocator as well. A simple solution would be to actually run > > a GFP_THIS_NODE alloc to see if you can grab a page from the proper node. > > If that fails then fa

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 06:08:45PM +0100, Torsten Duwe wrote: > > static inline unsigned int xadd(unsigned int *v, unsigned int i) > > { > > int t, ret; > > > > __asm__ __volatile__ ( > > "1: lwarx %0, 0, %4\n" > > " mr %1, %0\n" > > " add %0, %3, %0\n" > > " stwcx. %

Re: [PATCH v2] powerpc ticket locks

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 05:58:01PM +0100, Torsten Duwe wrote: > +static __always_inline void arch_spin_lock(arch_spinlock_t *lock) > { > + register struct __raw_tickets old, tmp, > + inc = { .tail = TICKET_LOCK_INC }; > + > CLEAR_IO_SYNC; > + __asm__ __volatile__( > +"1:

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Torsten Duwe
On Fri, Feb 07, 2014 at 04:18:47PM +0100, Peter Zijlstra wrote: > On Fri, Feb 07, 2014 at 01:28:37PM +0100, Peter Zijlstra wrote: > > Anyway, you can do a version with lwarx/stwcx if you're looking get rid > > of lharx. > > the below seems to compile into relatively ok asm. It can be done better >

[PATCH v2] powerpc ticket locks

2014-02-07 Thread Torsten Duwe
Ticket locks for ppc, version 2. Changes since v1: * The atomically exchanged entity is always 32 bits. * asm inline string variations thus removed. * Carry the additional holder hint only #if defined(CONFIG_PPC_SPLPAR) Signed-off-by: Torsten Duwe -- arch/powerpc/include/asm/spinlock_types.h |

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 09:51:16AM -0600, Kumar Gala wrote: > > On Feb 7, 2014, at 3:02 AM, Torsten Duwe wrote: > > > On Thu, Feb 06, 2014 at 02:19:52PM -0600, Scott Wood wrote: > >> On Thu, 2014-02-06 at 18:37 +0100, Torsten Duwe wrote: > >>> On Thu, Feb 06, 2014 at 05:38:37PM +0100, Peter Zijl

[RFC PATCH 09/18] powerpc/boot: define byteswapping routines for little endian

2014-02-07 Thread Cédric Le Goater
These are not the most efficient versions of swab but the wrapper does not do much byte swapping. On a big endian cpu, these routines are a no-op. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/of.h |7 +++ arch/powerpc/boot/swab.h | 29 + 2 files c

[RFC PATCH 18/18] powerpc/boot: add PPC64_BOOT_WRAPPER config option

2014-02-07 Thread Cédric Le Goater
The previous patch broke compatibility for 64bit big endian kernels. This patch adds a config option to compile the boot wrapper in 64bit only when CPU_LITTLE_ENDIAN is selected. It restores 32bit compilation and linking for the big endian kernel. Signed-off-by: Cédric Le Goater --- arch/powerp

[RFC PATCH 17/18] powerpc/boot: add support for 64bit little endian wrapper

2014-02-07 Thread Cédric Le Goater
Compilation is changed for little endian and entry points between the wrapper and the kernel are modified to fix endian order with the famous FIXUP_ENDIAN trampoline. This is PowerPC magic. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/Makefile |7 +-- arch/powerpc/boot/crt

[RFC PATCH 11/18] powerpc/boot: add little endian support to elf utils

2014-02-07 Thread Cédric Le Goater
Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/elf_util.c |4 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/boot/elf_util.c b/arch/powerpc/boot/elf_util.c index 1567a0c0f05c..316552dea4d8 100644 --- a/arch/powerpc/boot/elf_util.c +++ b/arch/powerpc/boot/elf_util.c @@

[RFC PATCH 16/18] powerpc/boot: add support for 64bit big endian wrapper

2014-02-07 Thread Cédric Le Goater
The boot wrapper is now compiled using -m64 for 64bit kernels. The linker script is generated using the kernel preprocessor flags to make use of the CONFIG_PPC64 definitions and the wrapper script is modified to take into account the new elf64ppc format. zImage is compiled as a position independe

[RFC PATCH 15/18] powerpc/boot: add a global entry point for pseries

2014-02-07 Thread Cédric Le Goater
When entering the boot wrapper in little endian, we will need to fix the endian order using a fixup trampoline like in the kernel. This patch overrides the _zimage_start entry point for this purpose. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/Makefile |2 ++ arch/powerpc/boo

[RFC PATCH 14/18] powerpc/boot: modify how we enter kernel on 64bit

2014-02-07 Thread Cédric Le Goater
Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/main.c |4 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/boot/main.c b/arch/powerpc/boot/main.c index a28f02165e97..46a7464e13c2 100644 --- a/arch/powerpc/boot/main.c +++ b/arch/powerpc/boot/main.c @@ -205,7 +205,11 @@ vo

[RFC PATCH 13/18] powerpc/boot: modify entry point for 64bit

2014-02-07 Thread Cédric Le Goater
This patch adds support a 64bit wrapper entry point. As in 32bit, the entry point does its own relocation and can be loaded at any address by the firmware. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/crt0.S | 108 -- 1 file changed, 104 inse

[RFC PATCH 02/18] powerpc/boot: use a common prom_args struct in oflib

2014-02-07 Thread Cédric Le Goater
This patch fixes warnings when the wrapper is compiled in 64bit and updates the boot wrapper code related to prom to converge with the kernel code in prom_init. This should make the review of changes easier. The kernel has a different number of possible arguments (10) when entering prom. There doe

[RFC PATCH 12/18] powerpc/boot: define a routine to enter prom

2014-02-07 Thread Cédric Le Goater
This patch defines a 'prom' routine similar to 'enter_prom' in the kernel. The difference is in the MSR which is built before entering prom. Big endian order is enforced as in the kernel but 32bit mode is not. It prepares ground for the next patches which will introduce Little endian order. Signe

[RFC PATCH 05/18] powerpc/boot: add PROM_ERROR define in oflib

2014-02-07 Thread Cédric Le Goater
This is mostly useful to make to the boot wrapper code closer with the kernel code in prom_init. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/oflib.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/boot/oflib.c b/arch/powerpc/boot/oflib.c inde

[RFC PATCH 04/18] powerpc/boot: add byteswapping routines in oflib

2014-02-07 Thread Cédric Le Goater
Values will need to be byte-swapped when calling prom (big endian) from a little endian boot wrapper. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/of.h|3 +++ arch/powerpc/boot/ofconsole.c |6 -- arch/powerpc/boot/oflib.c | 22 +++--- 3 files ch

[RFC PATCH 03/18] powerpc/boot: use prom_arg_t in oflib

2014-02-07 Thread Cédric Le Goater
This patch updates the wrapper code to converge with the kernel code in prom_init. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/oflib.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/boot/oflib.c b/arch/powerpc/boot/oflib.c index c3288a3446

[RFC PATCH 08/18] powerpc/boot: fix compile warning in 64bit

2014-02-07 Thread Cédric Le Goater
arch/powerpc/boot/oflib.c:211:9: warning: cast to pointer from integer of \ different size [-Wint-to-pointer-cast] return (phandle) of_call_prom("finddevice", 1, 1, name); This is a work around. The definite solution would be to define the phandle typedef as a u32, as in the k

[RFC PATCH 10/18] powerpc/boot: add 64bit and little endian support to addnote

2014-02-07 Thread Cédric Le Goater
It could certainly be improved using Elf macros and byteswapping routines, but the initial version of the code is organised to be a single file program with limited dependencies. yaboot is the same. Please scream if you want a total rewrite. Signed-off-by: Cédric Le Goater --- From the comment

[RFC PATCH 06/18] powerpc/boot: rework of_claim() to make it 64bit friendly

2014-02-07 Thread Cédric Le Goater
This patch fixes 64bit compile warnings and updates the wrapper code to converge the kernel code in prom_init. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/of.c|4 ++-- arch/powerpc/boot/of.h|3 ++- arch/powerpc/boot/oflib.c | 15 --- 3 files changed, 12 in

[RFC PATCH 07/18] powerpc/boot: define typedef ihandle as u32

2014-02-07 Thread Cédric Le Goater
This makes ihandle 64bit friendly. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/of.h|2 +- arch/powerpc/boot/oflib.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/boot/of.h b/arch/powerpc/boot/of.h index 3f35cf0ec432..bf228fea3517

[RFC PATCH 00/18] powerpc/boot: 64bit little endian wrapper for pseries

2014-02-07 Thread Cédric Le Goater
Hi, The following patchset adds support for 64bit little endian boot wrapper for pseries. It is based on original code from Andrew Tauferner. The first patches provide fixes for 64bit. I also changed the prom code to make it converge with the prom_init kernel code. They have a lot in common a

[RFC PATCH 01/18] powerpc/boot: fix do_div for 64bit wrapper

2014-02-07 Thread Cédric Le Goater
When the boot wrapper is compiled in 64bit, there is no need to use __div64_32. Signed-off-by: Cédric Le Goater --- arch/powerpc/boot/stdio.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/powerpc/boot/stdio.c b/arch/powerpc/boot/stdio.c index 5b57800bbc67..a701261b17

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Kumar Gala
On Feb 7, 2014, at 3:02 AM, Torsten Duwe wrote: > On Thu, Feb 06, 2014 at 02:19:52PM -0600, Scott Wood wrote: >> On Thu, 2014-02-06 at 18:37 +0100, Torsten Duwe wrote: >>> On Thu, Feb 06, 2014 at 05:38:37PM +0100, Peter Zijlstra wrote: >> Can you pair lwarx with sthcx ? I couldn't immediat

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 04:18:47PM +0100, Peter Zijlstra wrote: > void ticket_lock(tickets_t *lock) > { > tickets_t t; > > /* >* Because @head is MSB, the direct increment wrap doesn't disturb >* @tail. >*/ > t.pair = xadd(&lock->pair, 1<<16); > > i

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 01:28:37PM +0100, Peter Zijlstra wrote: > Anyway, you can do a version with lwarx/stwcx if you're looking get rid > of lharx. the below seems to compile into relatively ok asm. It can be done better if you write the entire thing by hand though. --- typedef unsigned short

[PATCH V2] powerpc: thp: Fix crash on mremap

2014-02-07 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" This patch fix the below crash NIP [c004cee4] .__hash_page_thp+0x2a4/0x440 LR [c00439ac] .hash_page+0x18c/0x5e0 ... Call Trace: [c00736103c40] [1b00] 0x1b00(unreliable) [437908.479693] [c00736103d50] [c00439ac] .hash_pa

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 05:11:26PM +0530, Preeti U Murthy wrote: > But observe the idle state "snooze" on powerpc. The power that this idle > state saves is through the lowering of the thread priority of the CPU. > After it lowers the thread priority, it is done. It cannot > "wait_for_interrupts".

Re: [PATCH v2 6/6] cpu/idle.c: move to sched/idle.c

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 11:09:23AM +, Nicolas Pitre wrote: > On Thu, 6 Feb 2014, Peter Zijlstra wrote: > > tree, tree, what's in a word. > > Something you may plant on a patch of grass? "Merging" becomes a > strange concept in that context though. :-) I do know some farmers who splice tree

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 12:49:49PM +0100, Torsten Duwe wrote: > On Fri, Feb 07, 2014 at 11:45:30AM +0100, Peter Zijlstra wrote: > > > > That might need to be lhz too, I'm confused on all the load variants. > > ;-) > > > > unlock: > > > lhz %0, 0, &tail > > > addic %0, %0, 1 > > No car

Re: [PATCH V4 3/3] time/cpuidle:Handle failed call to BROADCAST_ENTER on archs with CPUIDLE_FLAG_TIMER_STOP set

2014-02-07 Thread Rafael J. Wysocki
On Friday, February 07, 2014 01:36:52 PM Preeti U Murthy wrote: > Some archs set the CPUIDLE_FLAG_TIMER_STOP flag for idle states in which the > local timers stop. The cpuidle_idle_call() currently handles such idle states > by calling into the broadcast framework so as to wakeup CPUs at their next

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Torsten Duwe
On Fri, Feb 07, 2014 at 11:45:30AM +0100, Peter Zijlstra wrote: > > That might need to be lhz too, I'm confused on all the load variants. ;-) > > unlock: > > lhz %0, 0, &tail > > addic %0, %0, 1 No carry with this one, I'd say. Besides, unlock increments the head. > > lwsync

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-07 Thread Preeti U Murthy
Hi Nicolas, On 02/07/2014 04:18 PM, Nicolas Pitre wrote: > On Fri, 7 Feb 2014, Preeti U Murthy wrote: > >> Hi Nicolas, >> >> On 02/07/2014 06:47 AM, Nicolas Pitre wrote: >>> >>> What about creating arch_cpu_idle_enter() and arch_cpu_idle_exit() in >>> arch/powerpc/kernel/idle.c and calling ppc64

Re: ppc9a board support

2014-02-07 Thread Martyn Welch
Hi Chris, Support for the PPC9A is already in the Linux kernel, along with VME drivers. Martyn On 04/02/14 14:47, Chris Enrique wrote: hello, sorry if this message doesn't clearly hit the topic of this list but i would like to ask if anybody has information about bringing a linux-3.10 or la

Re: [PATCH v2 6/6] cpu/idle.c: move to sched/idle.c

2014-02-07 Thread Nicolas Pitre
On Thu, 6 Feb 2014, Peter Zijlstra wrote: > On Thu, Feb 06, 2014 at 02:09:59PM +, Nicolas Pitre wrote: > > Hi Peter, > > > > Did you merge those patches in your tree? > > tree, tree, what's in a word. Something you may plant on a patch of grass? "Merging" becomes a strange concept in tha

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-07 Thread Preeti U Murthy
Hi Deepthi, On 02/07/2014 03:15 PM, Deepthi Dharwar wrote: > Hi Preeti, > > Thanks for the patch. > > On 02/07/2014 12:31 PM, Preeti U Murthy wrote: >> Hi Nicolas, >> >> Find below the patch that will need to be squashed with this one. >> This patch is based on the mainline.Adding Deepthi, the a

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-07 Thread Nicolas Pitre
On Fri, 7 Feb 2014, Preeti U Murthy wrote: > Hi Nicolas, > > On 02/07/2014 06:47 AM, Nicolas Pitre wrote: > > > > What about creating arch_cpu_idle_enter() and arch_cpu_idle_exit() in > > arch/powerpc/kernel/idle.c and calling ppc64_runlatch_off() and > > ppc64_runlatch_on() respectively from

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 11:31:39AM +0100, Peter Zijlstra wrote: > Anyway, what might work is something like (please forgive my ppc asm, I > can barely read the thing, I've never before attempted writing it): > > lock: > 1:lharx %0, 0, &head > mov %1, %0 > addic %0, %0, 1 >

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Peter Zijlstra
> So if you have ll/sc on the whole word concurrent with the half-word > store, you can loose the half-word store like: > > lwarx &tickets > ... sth &tail > stwcd &tickets > > > The stwcd will over-write the tail store. Oh wait, that's stupid, it will invalidate the lock a

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 10:02:48AM +0100, Torsten Duwe wrote: > On Thu, Feb 06, 2014 at 02:19:52PM -0600, Scott Wood wrote: > > On Thu, 2014-02-06 at 18:37 +0100, Torsten Duwe wrote: > > > On Thu, Feb 06, 2014 at 05:38:37PM +0100, Peter Zijlstra wrote: > > > > > > Can you pair lwarx with sthcx ? I

Re: arch/powerpc/math-emu/mtfsf.c - incorrect mask?

2014-02-07 Thread Gabriel Paubert
Hi Stephen, On Fri, Feb 07, 2014 at 11:27:57AM +1000, Stephen N Chivers wrote: > Gabriel Paubert wrote on 02/06/2014 07:26:37 PM: > > > From: Gabriel Paubert > > To: Stephen N Chivers > > Cc: linuxppc-dev@lists.ozlabs.org, Chris Proctor > > Date: 02/06/2014 07:26 PM > > Subject: Re: a

Re: [PATCH 2/2] ARM64: powernv: remove redundant cpuidle_idle_call()

2014-02-07 Thread Catalin Marinas
On 6 February 2014 14:16, Nicolas Pitre wrote: > The core idle loop now takes care of it. > > Signed-off-by: Nicolas Pitre Acked-by: Catalin Marinas ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-07 Thread Deepthi Dharwar
Hi Preeti, Thanks for the patch. On 02/07/2014 12:31 PM, Preeti U Murthy wrote: > Hi Nicolas, > > Find below the patch that will need to be squashed with this one. > This patch is based on the mainline.Adding Deepthi, the author of > the patch which introduced the powernv cpuidle driver. Deepthi

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Torsten Duwe
On Thu, Feb 06, 2014 at 02:19:52PM -0600, Scott Wood wrote: > On Thu, 2014-02-06 at 18:37 +0100, Torsten Duwe wrote: > > On Thu, Feb 06, 2014 at 05:38:37PM +0100, Peter Zijlstra wrote: > > > > Can you pair lwarx with sthcx ? I couldn't immediately find the answer > > > in the PowerISA doc. If so I

Re: [PATCH] Convert powerpc simple spinlocks into ticket locks

2014-02-07 Thread Torsten Duwe
On Thu, Feb 06, 2014 at 07:08:26PM +0100, Peter Zijlstra wrote: > On Thu, Feb 06, 2014 at 06:37:27PM +0100, Torsten Duwe wrote: > > I must admit that I haven't tested the patch on non-pseries ppc64 nor on > > ppc32. Only ppc64 has the ldarx and I tried to atomically replace the > > holder along wi

[PATCH V4 3/3] time/cpuidle:Handle failed call to BROADCAST_ENTER on archs with CPUIDLE_FLAG_TIMER_STOP set

2014-02-07 Thread Preeti U Murthy
Some archs set the CPUIDLE_FLAG_TIMER_STOP flag for idle states in which the local timers stop. The cpuidle_idle_call() currently handles such idle states by calling into the broadcast framework so as to wakeup CPUs at their next wakeup event. With the hrtimer mode of broadcast, the BROADCAST_ENTER

[PATCH V4 2/3] tick/cpuidle: Initialize hrtimer mode of broadcast

2014-02-07 Thread Preeti U Murthy
From: Thomas Gleixner On some architectures, in certain CPU deep idle states the local timers stop. An external clock device is used to wakeup these CPUs. The kernel support for the wakeup of these CPUs is provided by the tick broadcast framework by using the external clock device as the wakeup

[PATCH V4 1/3] time: Change the return type of clockevents_notify() to integer

2014-02-07 Thread Preeti U Murthy
The broadcast framework can potentially be made use of by archs which do not have an external clock device as well. Then, it is required that one of the CPUs need to handle the broadcasting of wakeup IPIs to the CPUs in deep idle. As a result its local timers should remain functional all the time.

[PATCH V4 0/3] time/cpuidle: Support in tick broadcast framework in absence of external clock device

2014-02-07 Thread Preeti U Murthy
This patchset provides support in the tick broadcast framework for such architectures so as to enable the CPUs to get into deep idle. Presently we are in need of this support on certain implementations of PowerPC. This patchset has thus been tested on the same. This patchset has been based on the

Re: [PATCH] slub: Don't throw away partial remote slabs if there is no local memory

2014-02-07 Thread Joonsoo Kim
On Thu, Feb 06, 2014 at 11:28:12AM -0800, Nishanth Aravamudan wrote: > On 06.02.2014 [10:59:55 -0800], Nishanth Aravamudan wrote: > > On 06.02.2014 [17:04:18 +0900], Joonsoo Kim wrote: > > > On Wed, Feb 05, 2014 at 06:07:57PM -0800, Nishanth Aravamudan wrote: > > > > On 24.01.2014 [16:25:58 -0800],