Re: [PATCH 02/10] sched: Factor out code to should_we_balance()

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 12:42:57PM +0200, Peter Zijlstra wrote: > > > > > > +redo: > > > > One behavioral change worth noting here is that in the redo case if a > > CPU has become idle we'll continue trying to load-balance in the > > !new-idle case. > > > > This could be unpleasant in the case wh

Re: [PATCH] irqchip: gic: Don't complain in gic_get_cpumask() if UP system

2013-08-22 Thread Nicolas Pitre
On Thu, 22 Aug 2013, Stephen Boyd wrote: > On 08/22, Nicolas Pitre wrote: > > On Thu, 22 Aug 2013, Stephen Boyd wrote: > > > > > On 07/17, Stephen Boyd wrote: > > > > On 07/17/13 15:53, Nicolas Pitre wrote: > > > > > On Wed, 17 Jul 2013, Stephen Boyd wrote: > > > > > > > > > >> On 07/17/13 15:34,

RE: [PATCH -next] block: fix error return code in parse_parts()

2013-08-22 Thread Caizhiyong
> From: Wei Yongjun [mailto:weiyj...@gmail.com] > Sent: Friday, August 23, 2013 10:48 AM > To: ax...@kernel.dk; a...@linux-foundation.org; Caizhiyong; k...@redhat.com; > m...@sysgo.de; dw...@infradead.org; computersforpe...@gmail.com; > dedek...@infradead.org > Cc: yongjun_...@trendmicro.com.cn; li

Re: [PATCH] PCI: exynos: add support for MSI

2013-08-22 Thread Jingoo Han
On Monday, August 12, 2013 7:57 PM, Thierry Reding wrote: > On Mon, Aug 12, 2013 at 05:56:47PM +0900, Jingoo Han wrote: > [...] > > diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig > > index 855d4a7..9ef1c95 100644 > > --- a/arch/arm/mach-exynos/Kconfig > > +++ b/arch/arm/ma

RE: [PATCH -next] block: fix error return code in parse_parts()

2013-08-22 Thread Caizhiyong
> -Original Message- > From: Wei Yongjun [mailto:weiyj...@gmail.com] > Sent: Friday, August 23, 2013 10:48 AM > To: ax...@kernel.dk; a...@linux-foundation.org; Caizhiyong; k...@redhat.com; > m...@sysgo.de; dw...@infradead.org; computersforpe...@gmail.com; > dedek...@infradead.org > Cc: yong

[PATCH] irqchip: sun4i: Don't write to read-only registers

2013-08-22 Thread Axel Lin
According to the datasheet[1], the Interrupt IRQ Pending Registers are read-only. The implementation of sun4i_irq_ack() is wrong because it writes to these read-only registers. This patch removes the wrong irq_ack callback implementation and all the code writing to these read-only registers in sun

Re: [PATCH 2/2] fs: use inode_set_user to set uid/gid of inode

2013-08-22 Thread David Miller
From: Rui Xiang Date: Fri, 23 Aug 2013 10:48:38 +0800 > Use the new interface to set i_uid/i_gid in inode struct. > > Signed-off-by: Rui Xiang For the networking bits: Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

RE: [linux-nfc] [PATCH RFC] nfc: add a driver for pn532 connected on uart

2013-08-22 Thread Rymarkiewicz, WaldemarX
Hi Lars, >This adds a driver for the nxp pn532 nfc chip. >It is not meant for merging. Instead it is meant to show that some >progress has been made and what the current state is and to help >testing. >Although I can do some basic things with this driver I expect it to >contain lots of bugs. Be a

Re: [ANNOUNCE] 3.10.9-rt5

2013-08-22 Thread Fernando Lopez-Lezcano
On 08/22/2013 11:21 AM, Sebastian Andrzej Siewior wrote: Dear RT folks! I'm pleased to announce the v3.10.9-rt5 patch set. Thanks!, Changes since v3.10.9-rt4 - swait fixes from Steven. It fixed the issues with CONFIG_RCU_NOCB_CPU where the system suddenly froze and RCU wasn't doing its jo

[PATCH V2] PCI: exynos: add support for MSI

2013-08-22 Thread Jingoo Han
This patch adds support for Message Signaled Interrupt in the Exynos PCIe diver using Synopsys designware PCIe core IP. Signed-off-by: Siva Reddy Kallam Signed-off-by: Srikanth T Shivanand Signed-off-by: Jingoo Han Cc: Pratyush Anand Cc: Mohit KUMAR --- Changes since v1: - removed unnecessary

Re: [PATCH 1/3] misc: Add crossbar driver

2013-08-22 Thread Sricharan R
Hi, On Friday 23 August 2013 10:17 AM, Rajendra Nayak wrote: > On Thursday 22 August 2013 05:03 PM, Sricharan R wrote: >> maps crossbar number<-> to interrupt number and >> calls request_irq(int_no, crossbar_handler,..) > So will this mapping happen based on some data passed from DT or > just ba

Re: [PATCH v2 12/20] mm, hugetlb: remove vma_has_reserves()

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 04:34:22PM +0530, Aneesh Kumar K.V wrote: > Joonsoo Kim writes: > > > On Thu, Aug 22, 2013 at 02:14:38PM +0530, Aneesh Kumar K.V wrote: > >> Joonsoo Kim writes: > >> > >> > vma_has_reserves() can be substituted by using return value of > >> > vma_needs_reservation(). If

Re: [PATCH 1/3] misc: Add crossbar driver

2013-08-22 Thread Rajendra Nayak
On Friday 23 August 2013 11:41 AM, Sricharan R wrote: > Hi, > On Friday 23 August 2013 10:17 AM, Rajendra Nayak wrote: >> On Thursday 22 August 2013 05:03 PM, Sricharan R wrote: >>> maps crossbar number<-> to interrupt number and >>> calls request_irq(int_no, crossbar_handler,..) >> So will this

[PATCH 1/2] pinctrl: rockchip: Remove of_match_ptr macro for DT only driver

2013-08-22 Thread Axel Lin
This is a DT only driver and rockchip_pinctrl_dt_match is always compiled in. Thus remove of_match_ptr macro. Signed-off-by: Axel Lin --- drivers/pinctrl/pinctrl-rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/p

[PATCH 2/2] pinctrl: rockchip: Remove non-reachable break statement

2013-08-22 Thread Axel Lin
The break statement after return is non-reachable, remove them. Signed-off-by: Axel Lin --- drivers/pinctrl/pinctrl-rockchip.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 7eb1249..319a64a 100644 --- a/drive

Re: [PATCH 00/16] slab: overload struct slab over struct page to reduce memory usage

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 04:47:25PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > And this patchset change a management method of free objects of a slab. > > Current free objects management method of the slab is weird, because > > it touch random position of the ar

Re: [PATCH 11/12] pid: rewrite task helper functions avoiding task->pid and task->tgid

2013-08-22 Thread Peter Zijlstra
On Thu, Aug 22, 2013 at 05:43:47PM -0400, Richard Guy Briggs wrote: > On Thu, Aug 22, 2013 at 10:05:55PM +0200, Peter Zijlstra wrote: > > On Tue, Aug 20, 2013 at 05:32:03PM -0400, Richard Guy Briggs wrote: > > > This stops these four task helper functions from using the deprecated and > > > error-p

Re: [PATCH 02/16] slab: change return type of kmem_getpages() to struct page

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 05:49:43PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > @@ -2042,7 +2042,7 @@ static void slab_destroy_debugcheck(struct kmem_cache > > *cachep, struct slab *slab > > */ > > static void slab_destroy(struct kmem_cache *cachep, struct sl

Re: [PATCH 1/3] misc: Add crossbar driver

2013-08-22 Thread Sekhar Nori
On Friday 23 August 2013 11:41 AM, Sricharan R wrote: > Hi, > On Friday 23 August 2013 10:17 AM, Rajendra Nayak wrote: >> On Thursday 22 August 2013 05:03 PM, Sricharan R wrote: >>> maps crossbar number<-> to interrupt number and >>> calls request_irq(int_no, crossbar_handler,..) >> So will this

[PATCH 0/3] x86, ACPI, mm: Cleanup for {max|low|max_low}_pfn_mapped.

2013-08-22 Thread Tang Chen
This patch-set does the following: 1. Kill max_low_pfn_mapped as it is useless. This patch is from Yinghai. 2. Update min_pfn_mapped and max_pfn_mapped together in add_pfn_range_mapped(). 3. Move definition of max_pfn_mapped tp init.c together with min_pfn_mapped. Tang Chen (2): x86, mm: Upda

[PATCH 3/3] x86, mm: Move max_pfn_mapped definition to init.c.

2013-08-22 Thread Tang Chen
min_pfn_mapped is defined in init.c, we can also define max_pfn_mapped here. Signed-off-by: Tang Chen --- arch/x86/kernel/setup.c |8 arch/x86/mm/init.c |9 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/se

Re: [PATCH 04/16] slab: remove nodeid in struct slab

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 05:51:58PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > @@ -1099,8 +1098,7 @@ static void drain_alien_cache(struct kmem_cache > > *cachep, > > > > static inline int cache_free_alien(struct kmem_cache *cachep, void *objp) > > { > > - s

Re: [PATCH 05/16] slab: remove cachep in struct slab_rcu

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 05:53:00PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > We can get cachep using page in struct slab_rcu, so remove it. > > Ok but this means that we need to touch struct page. Additional cacheline > in cache footprint. In following patch

Re: [PATCH 5/8] rcu: eliminate deadlock for rcu read site

2013-08-22 Thread Lai Jiangshan
[PATCH] rcu/rt_mutex: eliminate a kind of deadlock for rcu read site Current rtmutex's lock->wait_lock doesn't disables softirq nor irq, it will cause rcu read site deadlock when rcu overlaps with any softirq-context/irq-context lock. @L is a spinlock of softirq or irq context. CPU1

[PATCH 1/3] x86, ACPI, mm: Kill max_low_pfn_mapped.

2013-08-22 Thread Tang Chen
From: Yinghai Lu Now we have pfn_mapped[] in , and max_low_pfn_mapped should not be used anymore. User should use pfn_mapped[] or just 1UL<<(32-PAGE_SHIFT) instead. Only user is ACPI_INITRD_TABLE_OVERRIDE, and it should not use that, as later accessing is using early_ioremap(). We could change

Re: [PATCH 1/3] misc: Add crossbar driver

2013-08-22 Thread Sricharan R
On Friday 23 August 2013 12:06 PM, Sekhar Nori wrote: > On Friday 23 August 2013 11:41 AM, Sricharan R wrote: >> Hi, >> On Friday 23 August 2013 10:17 AM, Rajendra Nayak wrote: >>> On Thursday 22 August 2013 05:03 PM, Sricharan R wrote: maps crossbar number<-> to interrupt number and c

Re: [PATCH 09/16] slab: use __GFP_COMP flag for allocating slab pages

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 06:00:56PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > If we use 'struct page' of first page as 'struct slab', there is no > > advantage not to use __GFP_COMP. So use __GFP_COMP flag for all the cases. > > Ok that brings it in line with

<    2   3   4   5   6   7