Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread James Bottomley
On Wed, 2014-01-22 at 18:02 +, Chris Mason wrote: On Wed, 2014-01-22 at 09:21 -0800, James Bottomley wrote: On Wed, 2014-01-22 at 17:02 +, Chris Mason wrote: [ I like big sectors and I cannot lie ] I think I might be sceptical, but I don't think that's showing in my concerns ...

Re: fanotify use after free.

2014-01-22 Thread Linus Torvalds
On Tue, Jan 21, 2014 at 10:27 PM, Dave Jones da...@redhat.com wrote: BUG fanotify_event_info (Not tainted): Poison overwritten Looking at the poison data, it seems that is is the u32 response; field that has been overwritten (with all zero). That doesn't really help me guess where

Re: [tip:core/urgent] MAINTAINERS: Restore L: linux-kernel@vger.kernel.org entries

2014-01-22 Thread Joe Perches
On Wed, 2014-01-22 at 18:06 +, Mark Brown wrote: On Wed, Jan 22, 2014 at 09:30:23AM -0800, Joe Perches wrote: Perhaps the biggest benefit of cc'ing lkml is a centralized repository of proposed patches in https://patchwork.kernel.org/project/LKML/list/ Which isn't triumphantly usable

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread Ric Wheeler
On 01/22/2014 01:13 PM, James Bottomley wrote: On Wed, 2014-01-22 at 18:02 +, Chris Mason wrote: On Wed, 2014-01-22 at 09:21 -0800, James Bottomley wrote: On Wed, 2014-01-22 at 17:02 +, Chris Mason wrote: [ I like big sectors and I cannot lie ] I think I might be sceptical, but I

Re: [BISECTED] Linux 3.12.7 introduces page map handling regression

2014-01-22 Thread Linus Torvalds
On Wed, Jan 22, 2014 at 10:07 AM, Rik van Riel r...@redhat.com wrote: The difference between a numa pte and a protnone pte is the VMA permissions. If that is indeed the only difference, then we should damn well get rid of that f*cking stupid _PAGE_NUMA name entirely. It's misleading crap.

[PATCH] ARM: hw_breakpoint: Add ARMv8 support

2014-01-22 Thread Christopher Covington
Add the trivial support necessary to get hardware breakpoints working for GDB on ARMv8 simulators running in AArch32 mode. Signed-off-by: Christopher Covington c...@codeaurora.org --- arch/arm/include/asm/hw_breakpoint.h | 1 + arch/arm/kernel/hw_breakpoint.c | 1 + 2 files changed, 2

Re: uninline rcu_lock_acquire/etc ?

2014-01-22 Thread Oleg Nesterov
On 01/21, Paul E. McKenney wrote: On Tue, Jan 21, 2014 at 08:39:09PM +0100, Oleg Nesterov wrote: On 01/21, Oleg Nesterov wrote: But I agreed that the code looks simpler with bitfields, so perhaps this patch is better. Besides, I guess the major offender is rcu... Paul, can't

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread James Bottomley
On Wed, 2014-01-22 at 13:17 -0500, Ric Wheeler wrote: On 01/22/2014 01:13 PM, James Bottomley wrote: On Wed, 2014-01-22 at 18:02 +, Chris Mason wrote: On Wed, 2014-01-22 at 09:21 -0800, James Bottomley wrote: On Wed, 2014-01-22 at 17:02 +, Chris Mason wrote: [ I like big sectors

Re: [PATCH 13/15] sched: Use a static_key for sched_clock_stable

2014-01-22 Thread Markus Trippelsdorf
On 2014.01.22 at 09:26 -0500, Sasha Levin wrote: On 01/22/2014 08:14 AM, Markus Trippelsdorf wrote: On 2014.01.22 at 13:30 +0100, Peter Zijlstra wrote: On Wed, Jan 22, 2014 at 01:26:09PM +0100, Markus Trippelsdorf wrote: On 2014.01.22 at 13:07 +0100, Peter Zijlstra wrote: On Wed, Jan

Re: [PATCH v9 6/6] MCS Lock: Allow architecture specific asm files to be used for contended case

2014-01-22 Thread Peter Zijlstra
On Tue, Jan 21, 2014 at 03:36:22PM -0800, Tim Chen wrote: diff --git a/arch/powerpc/include/asm/Kbuild b/arch/powerpc/include/asm/Kbuild index 8b19a80..24027ce 100644 --- a/arch/powerpc/include/asm/Kbuild +++ b/arch/powerpc/include/asm/Kbuild @@ -1,6 +1,8 @@ +generic-y += += generic-y

Re: [Xen-devel] [PATCH v4] xen/grant-table: Avoid m2p_override during mapping

2014-01-22 Thread Zoltan Kiss
On 22/01/14 16:39, Stefano Stabellini wrote: On Tue, 21 Jan 2014, Zoltan Kiss wrote: @@ -121,7 +125,7 @@ static inline unsigned long mfn_to_pfn(unsigned long mfn) pfn = m2p_find_override_pfn(mfn, ~0); } - /* + /* Spurious change? It removes a stray space

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread Chris Mason
On Wed, 2014-01-22 at 10:13 -0800, James Bottomley wrote: On Wed, 2014-01-22 at 18:02 +, Chris Mason wrote: We're likely to have people mixing 4K drives and fill in some other size here on the same box. We could just go with the biggest size and use the existing bh code for the

Re: [BISECTED] Linux 3.12.7 introduces page map handling regression

2014-01-22 Thread Rik van Riel
On 01/22/2014 01:24 PM, Linus Torvalds wrote: On Wed, Jan 22, 2014 at 10:07 AM, Rik van Riel r...@redhat.com wrote: The difference between a numa pte and a protnone pte is the VMA permissions. If that is indeed the only difference, then we should damn well get rid of that f*cking stupid

Re: [PATCH 0/2] mm-def_flags cleanups (Was: Change khugepaged to respect MMF_THP_DISABLE flag)

2014-01-22 Thread Alex Thorlton
On Wed, Jan 22, 2014 at 06:45:53PM +0100, Oleg Nesterov wrote: Alex, Andrew, I think this simple series makes sense in any case, but _perhaps_ it can also help THP_DISABLE. On 01/20, Alex Thorlton wrote: On Mon, Jan 20, 2014 at 09:15:25PM +0100, Oleg Nesterov wrote: Although I got

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread Ric Wheeler
On 01/22/2014 01:35 PM, James Bottomley wrote: On Wed, 2014-01-22 at 13:17 -0500, Ric Wheeler wrote: On 01/22/2014 01:13 PM, James Bottomley wrote: On Wed, 2014-01-22 at 18:02 +, Chris Mason wrote: On Wed, 2014-01-22 at 09:21 -0800, James Bottomley wrote: On Wed, 2014-01-22 at 17:02

Re: [patch 9/9] mm: keep page cache radix tree nodes in check

2014-01-22 Thread Johannes Weiner
On Mon, Jan 13, 2014 at 04:39:47PM +0900, Minchan Kim wrote: On Fri, Jan 10, 2014 at 01:10:43PM -0500, Johannes Weiner wrote: Previously, page cache radix tree nodes were freed after reclaim emptied out their page pointers. But now reclaim stores shadow entries in their place, which are

Re: x86: Inconsistent xAPIC synchronization in arch_irq_work_raise?

2014-01-22 Thread Andi Kleen
Huang Ying, can you explain to Jan why you do the wait afterwards? I borrow the code from the original MCE report event code. Andi, could you help us to explain it? I don't recall all the details, but I believe i also just copied it from the APIC code. I don't think I did any particular

Re: [PATCH 13/15] sched: Use a static_key for sched_clock_stable

2014-01-22 Thread Peter Zijlstra
On Wed, Jan 22, 2014 at 07:35:38PM +0100, Markus Trippelsdorf wrote: FYI it happens on real hardware on my machine: [ 60.375384] process: using AMD E400 aware idle routine But this is a different issue. I've bisected it to: commit 20d1c86a57762f0a33a78988e3fc8818316badd4 Author: Peter

Re: [PATCH 13/15] sched: Use a static_key for sched_clock_stable

2014-01-22 Thread Markus Trippelsdorf
On 2014.01.22 at 19:42 +0100, Peter Zijlstra wrote: On Wed, Jan 22, 2014 at 07:35:38PM +0100, Markus Trippelsdorf wrote: FYI it happens on real hardware on my machine: [ 60.375384] process: using AMD E400 aware idle routine But this is a different issue. I've bisected it to:

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread James Bottomley
On Wed, 2014-01-22 at 18:37 +, Chris Mason wrote: On Wed, 2014-01-22 at 10:13 -0800, James Bottomley wrote: On Wed, 2014-01-22 at 18:02 +, Chris Mason wrote: [agreement cut because it's boring for the reader] Realistically, if you look at what the I/O schedulers output on a standard

Re: [patch 9/9] mm: keep page cache radix tree nodes in check

2014-01-22 Thread Johannes Weiner
On Wed, Jan 22, 2014 at 01:57:14AM -0500, Johannes Weiner wrote: Not at this time, I'll try to look into that. For now, I am updating the patch to revert the shrinker back to DEFAULT_SEEKS and change the object count to only include objects above a certain threshold, which assumes a

Re: [Xen-devel] [PATCH v4] xen/grant-table: Avoid m2p_override during mapping

2014-01-22 Thread Stefano Stabellini
On Wed, 22 Jan 2014, Zoltan Kiss wrote: On 22/01/14 16:39, Stefano Stabellini wrote: On Tue, 21 Jan 2014, Zoltan Kiss wrote: @@ -121,7 +125,7 @@ static inline unsigned long mfn_to_pfn(unsigned long mfn) pfn = m2p_find_override_pfn(mfn, ~0); } - /*

Re: [LSF/MM TOPIC] [ATTEND] scsi-mq

2014-01-22 Thread James Smart
James, I'd like to attend to participate in the EH, MQ, and T10 PI RDMA discussions. -- james s On 1/16/2014 11:29 AM, Sagi Grimberg wrote: On 1/16/2014 1:05 AM, Nicholas A. Bellinger wrote: Hi all, I'd like to discuss the current state of scsi-mq prototype code. And now that blk-mq

[PATCH RFC 1/4] drivers: of: add initialization code for reserved memory

2014-01-22 Thread Josh Cartwright
From: Marek Szyprowski m.szyprow...@samsung.com This patch adds device tree support for contiguous and reserved memory regions defined in device tree. Large memory blocks can be reliably reserved only during early boot. This must happen before the whole memory management subsystem is

Re: [Xen-devel] [PATCH v4] xen/grant-table: Avoid m2p_override during mapping

2014-01-22 Thread Zoltan Kiss
On 22/01/14 18:50, Stefano Stabellini wrote: On Wed, 22 Jan 2014, Zoltan Kiss wrote: On 22/01/14 16:39, Stefano Stabellini wrote: On Tue, 21 Jan 2014, Zoltan Kiss wrote: @@ -121,7 +125,7 @@ static inline unsigned long mfn_to_pfn(unsigned long mfn) pfn =

[PATCH RFC 2/4] drivers: of: implement reserved-memory handling for dma

2014-01-22 Thread Josh Cartwright
Add support for handling 'shared-dma-pool' reserved-memory nodes. Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Laura Abbott lau...@codeaurora.org Cc: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Josh Cartwright jo...@codeaurora.org --- drivers/of/Kconfig |

Re: [PATCH v2 0/8] ASoC: simple-card: simplify code

2014-01-22 Thread Mark Brown
On Wed, Jan 15, 2014 at 04:51:28PM +0100, Jean-Francois Moine wrote: This patch set simplifies the code and make easier a possible multi-DAI links extension. Just as a general thing about this and the other simple-card patches that are floating around: there's a lot of them all working on the

[PATCH RFC 0/4] reserved-memory regions/CMA in devicetree, again

2014-01-22 Thread Josh Cartwright
Hey Marek- What is the current status of the reserved-memory/CMA device tree support series? It looks like it's stalled out a bit since the revert[2]. Hopefully this series is a push in the right direction? --- This set is an adaptation of Marek's original patchset posted here[1], and then

[PATCH RFC 3/4] ARM: init: add support for reserved memory defined by device tree

2014-01-22 Thread Josh Cartwright
From: Marek Szyprowski m.szyprow...@samsung.com Enable reserved memory initialization from device tree. Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Laura Abbott lau...@codeaurora.org Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- arch/arm/mm/init.c | 3 +++ 1 file

[PATCH RFC 4/4] of: document bindings for reserved-memory nodes

2014-01-22 Thread Josh Cartwright
From: Grant Likely grant.lik...@linaro.org Reserved memory nodes allow for the reservation of static (fixed address) regions, or dynamically allocated regions for a specific purpose. [joshc: Based on binding document proposed (in non-patch form) here:

Re: [PATCH v2 1/8] ASoC: simple-card: simplify code

2014-01-22 Thread Mark Brown
On Wed, Jan 15, 2014 at 04:51:33PM +0100, Jean-Francois Moine wrote: The check of the mandatory fields is done for DT in its specific sequence. Move the global check to the non-DT sequence. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v2 2/8] ASoC: simple-card: simplify code

2014-01-22 Thread Mark Brown
On Wed, Jan 15, 2014 at 04:51:37PM +0100, Jean-Francois Moine wrote: The DT values are copied to the non-DT structure before being moved to the card structure. Set directly the DT values in the card and move the non-DT copy to the non-DT sequence. Applied, thanks. Every patch in this series

[Bug 67651] Bisected: Lots of fragmented mmaps cause gimp to fail in 3.12 after exceeding vm_max_map_count

2014-01-22 Thread Mel Gorman
Cyrill, Gimp is broken due to a kernel bug included in 3.12. It cannot open large files without failing memory allocations due to exceeding vm.max_map_count. The relevant bugzilla entries are https://bugzilla.kernel.org/show_bug.cgi?id=67651 https://bugzilla.gnome.org/show_bug.cgi?id=719619#c0

Re: [PATCH 13/15] sched: Use a static_key for sched_clock_stable

2014-01-22 Thread Markus Trippelsdorf
On 2014.01.22 at 19:42 +0100, Peter Zijlstra wrote: On Wed, Jan 22, 2014 at 07:35:38PM +0100, Markus Trippelsdorf wrote: FYI it happens on real hardware on my machine: [ 60.375384] process: using AMD E400 aware idle routine But this is a different issue. I've bisected it to:

Re: [PATCH 1/2] i2c: Add message transfer tracepoints for I2C

2014-01-22 Thread Wolfram Sang
On Thu, Jan 09, 2014 at 09:49:54PM +, David Howells wrote: Add tracepoints into the I2C message transfer function to retrieve the message sent or received. The following config options must be turned on to make use of the facility: CONFIG_FTRACE

Re: [PATCH 13/15] sched: Use a static_key for sched_clock_stable

2014-01-22 Thread Markus Trippelsdorf
On 2014.01.22 at 20:09 +0100, Markus Trippelsdorf wrote: On 2014.01.22 at 19:42 +0100, Peter Zijlstra wrote: On Wed, Jan 22, 2014 at 07:35:38PM +0100, Markus Trippelsdorf wrote: FYI it happens on real hardware on my machine: [ 60.375384] process: using AMD E400 aware idle routine

Re: staging: vt6656: device.h Remove typedef enum __device_init_type.

2014-01-22 Thread Malcolm Priestley
On Tue, 2014-01-21 at 18:01 -0800, Joe Perches wrote: On Tue, 2014-01-21 at 17:57 -0800, Greg KH wrote: On Tue, Jan 21, 2014 at 10:16:43AM -0500, Dave Jones wrote: On Tue, Jan 21, 2014 at 12:21:30AM +, Linux Kernel wrote: Gitweb:

Re: [PATCH 13/15] sched: Use a static_key for sched_clock_stable

2014-01-22 Thread Josh Boyer
On Wed, Jan 22, 2014 at 1:45 PM, Markus Trippelsdorf mar...@trippelsdorf.de wrote: On 2014.01.22 at 19:42 +0100, Peter Zijlstra wrote: On Wed, Jan 22, 2014 at 07:35:38PM +0100, Markus Trippelsdorf wrote: FYI it happens on real hardware on my machine: [ 60.375384] process: using AMD E400

[no subject]

2014-01-22 Thread bonkesaid600
Is the room still available for rent?. Please reply me at trinity...@gmail.com Joséphine

Re: Deadlock between cpu_hotplug_begin and cpu_add_remove_lock

2014-01-22 Thread Oleg Nesterov
On 01/22, Srivatsa S. Bhat wrote: Wait a min, that _will_ actually work for all cases because I have provided an option to invoke _any_ arbitrary function as the setup routine. And probably the generic solution makes sense. I am not sure I actually understand the semantics of

Re: [Bug 67651] Bisected: Lots of fragmented mmaps cause gimp to fail in 3.12 after exceeding vm_max_map_count

2014-01-22 Thread Cyrill Gorcunov
On Wed, Jan 22, 2014 at 07:08:16PM +, Mel Gorman wrote: Cyrill, Gimp is broken due to a kernel bug included in 3.12. It cannot open large files without failing memory allocations due to exceeding vm.max_map_count. The relevant bugzilla entries are

Re: [PATCH 0/2] mm-def_flags cleanups (Was: Change khugepaged to respect MMF_THP_DISABLE flag)

2014-01-22 Thread Oleg Nesterov
On 01/22, Alex Thorlton wrote: At a glance, without testing, it looks like a good idea to me. By using def_flags, we leverage functionality that's already in place to achieve the same result. We don't need to add any new checks into the fault path or into khugepaged, since we're just

[PATCH] 6lowpan: add a license to 6lowpan_iphc module

2014-01-22 Thread Yann Droneaud
Since commit 8df8c56a5abc, 6lowpan_iphc is a module of its own. Unfortunately, it lacks some infrastructure to behave like a good kernel citizen: kernel: 6lowpan_iphc: module license 'unspecified' taints kernel. kernel: Disabling lock debugging due to kernel taint This patch adds the basic

Re: [PATCH v2 3/8] ASoC: simple-card: simplify code

2014-01-22 Thread Mark Brown
On Wed, Jan 15, 2014 at 04:51:41PM +0100, Jean-Francois Moine wrote: The OF pointers are put in the stack and then copied to the card descriptor. Put them directly at their right place. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v2 4/8] ASoC: simple-card: simplify code

2014-01-22 Thread Mark Brown
On Wed, Jan 15, 2014 at 04:51:45PM +0100, Jean-Francois Moine wrote: Have a cleaner code using a DAI link pointer. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 4/5] spi: Check that Quad/Dual is half duplex

2014-01-22 Thread Gerhard Sittig
On Tue, Jan 21, 2014 at 21:06 +0100, Geert Uytterhoeven wrote: On Tue, Jan 21, 2014 at 7:21 PM, Mark Brown broo...@kernel.org wrote: On Tue, Jan 21, 2014 at 04:10:08PM +0100, Geert Uytterhoeven wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org Quad and Dual SPI Transfers use

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread James Bottomley
On Wed, 2014-01-22 at 13:39 -0500, Ric Wheeler wrote: On 01/22/2014 01:35 PM, James Bottomley wrote: On Wed, 2014-01-22 at 13:17 -0500, Ric Wheeler wrote: [...] I think that the key to having the file system work with larger sectors is to create them properly aligned and use the actual,

Re: uninline rcu_lock_acquire/etc ?

2014-01-22 Thread Paul E. McKenney
On Wed, Jan 22, 2014 at 07:31:25PM +0100, Oleg Nesterov wrote: On 01/21, Paul E. McKenney wrote: On Tue, Jan 21, 2014 at 08:39:09PM +0100, Oleg Nesterov wrote: On 01/21, Oleg Nesterov wrote: But I agreed that the code looks simpler with bitfields, so perhaps this patch is

[GIT PULL] (xen) stable/for-linus-3.14-rc0-tag

2014-01-22 Thread Konrad Rzeszutek Wilk
Hey Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-linus-3.14-rc0-tag which has two major features that Xen community is excited about: blurb - please include it in the merge commit The first is event channel scalability by

Re: uninline rcu_lock_acquire/etc ?

2014-01-22 Thread Oleg Nesterov
On 01/22, Paul E. McKenney wrote: On Wed, Jan 22, 2014 at 07:31:25PM +0100, Oleg Nesterov wrote: Also, this all should be exported. And I think cleanuped somehow. I would be happy to take a patch with the above issues fixed. Yes, yes, thanks. Sorry for noise, I forgot to say that of

Re: [PATCH v2 5/8] ASoC: simple-card: simplify code

2014-01-22 Thread Mark Brown
On Wed, Jan 15, 2014 at 04:51:48PM +0100, Jean-Francois Moine wrote: The CPU and CODEC DAI names are still copied to the user info structure. Put them directly in the DAI links. Applied, thanks. signature.asc Description: Digital signature

Re: [RFC][PATCH] preempt: Debug for possible missed preemption checks

2014-01-22 Thread Paul Gortmaker
On 14-01-16 11:57 PM, Steven Rostedt wrote: Peter Zijlstra mentioned that he wanted to catch the following problem: local_irq_disable(); preempt_disable(); local_irq_enable(); local_irq_disable(); preempt_enable(); local_irq_enable(); [...] + +static void

[PATCH] clk: Fix notifier documentation

2014-01-22 Thread Soren Brinkmann
Contradicting to documenation, the notifier callbacks do receive the original clock rate in struct clk_notifier_data.old_rate and the new frequency struct clk_notifier_data.new_rate, independent of the notification reason. This behavior also seems to make more sense, since callbacks can use the

Re: [PATCH v2 2/2] regulator: s5m8767: Document new bindings for Buck9 GPIO control

2014-01-22 Thread Mark Brown
On Wed, Jan 22, 2014 at 05:07:28PM +0100, Krzysztof Kozlowski wrote: Add documentation for new bindings for controlling (enable/disable) the Buck9 Converter by GPIO (BUCK9EN). Your CC list for this is *very* large... + - s5m8767,pmic-ext-control-enable: regulator can be enabled/disabled

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread Andrew Morton
On Wed, 22 Jan 2014 11:30:19 -0800 James Bottomley james.bottom...@hansenpartnership.com wrote: But this, I think, is the fundamental point for debate. If we can pull alignment and other tricks to solve 99% of the problem is there a need for radical VM surgery? Is there anything coming down

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread Ric Wheeler
On 01/22/2014 01:37 PM, Chris Mason wrote: Circling back to what we might talk about at the conference, Ric do you have any ideas on when these drives might hit the wild? -chris I will poke at vendors to see if we can get someone to make a public statement, but I cannot do that for them. Ric

Re: [PATCH 0/2] mm-def_flags cleanups (Was: Change khugepaged to respect MMF_THP_DISABLE flag)

2014-01-22 Thread Oleg Nesterov
On 01/22, Oleg Nesterov wrote: On 01/22, Alex Thorlton wrote: + case PR_SET_THP_DISABLE: + case PR_GET_THP_DISABLE: + down_write(me-mm-mmap_sem); + if (option == PR_SET_THP_DISABLE) { + if (arg2) + me-mm-def_flags |=

Re: [Bug 67651] Bisected: Lots of fragmented mmaps cause gimp to fail in 3.12 after exceeding vm_max_map_count

2014-01-22 Thread Andrew Morton
On Wed, 22 Jan 2014 19:08:16 + Mel Gorman mgor...@suse.de wrote: X-related junk is there was because I was using a headless server and xinit directly to launch gimp to reproduce the bug. I've never done this. Can you share the magic recipe for running an X app in this way? Thanks. -- To

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-01-22 Thread Nicholas A. Bellinger
Hi Peter, Does this satisfy your questions..? Do you have any more concerns about TASK_RUNNING + prepare_to_wait() usage in percpu_ida_alloc() that need to be addressed before I can drop this series into target-pending/for-next to address the original bug..? Thank you, --nab On Tue,

Re: [PATCH] Revert sched: Fix sleep time double accounting in enqueue entity

2014-01-22 Thread Paul Turner
On Wed, Jan 22, 2014 at 9:53 AM, bseg...@google.com wrote: Vincent Guittot vincent.guit...@linaro.org writes: This reverts commit 282cf499f03ec1754b6c8c945c9674b02631fb0f. With the current implementation, the load average statistics of a sched entity change according to other activity on

[PATCH] staging/usbip: Add missing speeds to userspace speed_strings array

2014-01-22 Thread Shuah Khan
Add speed strings for usb wireless and 3.0 to speed_strings array. Signed-off-by: Shuah Khan shuah...@samsung.com --- drivers/staging/usbip/userspace/libsrc/usbip_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/usbip/userspace/libsrc/usbip_common.c

[PATCH] hid-microsoft: Add ID's for Surface Type/Touch Cover 2

2014-01-22 Thread Reyad Attiyat
This patch fixes bug 64811 (https://bugzilla.kernel.org/show_bug.cgi?id=64811) The Microsoft Surface Type/Touch cover 2 devices have the flag HID_DG_CONTACTID in their reports.This causes the device to bind to the hid-multitouch driver, which doesn't handle generic keyboard/mouse input events.

Re: [PATCH-v2 0/3] percpu_ida+Co: Make percpu_ida_alloc accept task state bitmask

2014-01-22 Thread Nicholas A. Bellinger
Hey Jens, On Mon, 2014-01-20 at 03:44 +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org Hi Linus, Here is the -v2 series for converting percpu_ida_alloc() + consumer usage to accept the task state bitmask parameter, w/o the extra legacy gfp_t wrapper.

[PATCH] perf tools: demangle kernel and kernel module symbols too

2014-01-22 Thread Avi Kivity
Some kernels contain C++ code, and thus their symbols need to be demangled. This allows 'perf kvm top' to generate readable output. Signed-off-by: Avi Kivity a...@cloudius-systems.com --- tools/perf/util/symbol-elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] watchdog: Add sp805_wdt depends on ARM64

2014-01-22 Thread Wim Van Sebroeck
Hi Naresh, From: Naresh Bhat naresh.b...@linaro.org Add sp805_wdt depends on ARM64. Signed-off-by: Naresh Bhat naresh.b...@linaro.org --- drivers/watchdog/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig

Re: [PATCH 0/2] mm-def_flags cleanups (Was: Change khugepaged to respect MMF_THP_DISABLE flag)

2014-01-22 Thread Alex Thorlton
On Wed, Jan 22, 2014 at 08:43:27PM +0100, Oleg Nesterov wrote: On 01/22, Oleg Nesterov wrote: On 01/22, Alex Thorlton wrote: + case PR_SET_THP_DISABLE: + case PR_GET_THP_DISABLE: + down_write(me-mm-mmap_sem); + if (option ==

Re: Deadlock between cpu_hotplug_begin and cpu_add_remove_lock

2014-01-22 Thread Srivatsa S. Bhat
On 01/23/2014 12:48 AM, Oleg Nesterov wrote: On 01/22, Srivatsa S. Bhat wrote: Wait a min, that _will_ actually work for all cases because I have provided an option to invoke _any_ arbitrary function as the setup routine. And probably the generic solution makes sense. I am not sure I

Re: [PATCH] watchdog: mach-moxart: add restart handler

2014-01-22 Thread Wim Van Sebroeck
Hi Jonas, mach-moxart lacks a separate register for reset; as a workaround, add a function that can be hooked to arm_pm_restart. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com Added to linux-watchdog-next. --- Notes: During review of this driver, the restart handler for moxart

Re: [PATCH 65/73] drivers/edac: delete non-required instances of include linux/init.h

2014-01-22 Thread Borislav Petkov
On Tue, Jan 21, 2014 at 04:23:08PM -0500, Paul Gortmaker wrote: None of these files are actually using any __init type directives and hence don't need to include linux/init.h. Most are just a left over from __devinit and __cpuinit removal, or simply due to code getting copied from one driver

Re: [PATCH v2 6/8] ASoC: simple-card: simplify code

2014-01-22 Thread Mark Brown
On Wed, Jan 15, 2014 at 04:51:52PM +0100, Jean-Francois Moine wrote: In the non-DT sequence, the platform data is copied as a whole to the dynamic card info and the same pointer 'cinfo' is used to copy the platform information to the card. Applied, thanks. signature.asc Description: Digital

Re: [PATCH v2 7/8] ASoC: simple-card: simplify code

2014-01-22 Thread Mark Brown
On Wed, Jan 15, 2014 at 04:51:56PM +0100, Jean-Francois Moine wrote: The platform data structure contains information which is used only by the driver, and the driver allocates platform information fields which are of no use. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v2 8/8] ASoC: simple-card: simplify code

2014-01-22 Thread Mark Brown
On Wed, Jan 15, 2014 at 04:52:00PM +0100, Jean-Francois Moine wrote: Rename the pointer to the private data structure to 'priv' to avoid confusion with the platform data pointer. Applied, thanks. signature.asc Description: Digital signature

Re: [RFC][PATCH] preempt: Debug for possible missed preemption checks

2014-01-22 Thread Steven Rostedt
On Wed, 22 Jan 2014 14:47:42 -0500 Paul Gortmaker paul.gortma...@windriver.com wrote: + +static void update_pied_state(enum pied_stat_type type, bool enable, + unsigned long ip) +{ + struct stack_trace *trace; + int state, new_state; + unsigned long

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread Chris Mason
On Wed, 2014-01-22 at 11:50 -0800, Andrew Morton wrote: On Wed, 22 Jan 2014 11:30:19 -0800 James Bottomley james.bottom...@hansenpartnership.com wrote: But this, I think, is the fundamental point for debate. If we can pull alignment and other tricks to solve 99% of the problem is there a

Re: [PATCH 13/15] sched: Use a static_key for sched_clock_stable

2014-01-22 Thread Peter Zijlstra
On Wed, Jan 22, 2014 at 08:12:54PM +0100, Markus Trippelsdorf wrote: On 2014.01.22 at 20:09 +0100, Markus Trippelsdorf wrote: On 2014.01.22 at 19:42 +0100, Peter Zijlstra wrote: On Wed, Jan 22, 2014 at 07:35:38PM +0100, Markus Trippelsdorf wrote: FYI it happens on real hardware on my

Re: [PATCH] regulator: ti-abb: Add support for interleaved LDO registers

2014-01-22 Thread Mark Brown
On Tue, Jan 21, 2014 at 04:32:12PM -0600, Nishanth Menon wrote: The other alternative will be to use reg-names and map individual registers (there are just setup and control registers to deal with per abb instance). That will coexist with other pinctrl, bandgap and other drivers which are not

Re: [PATCH 2/2] mm: thp: kill the bogus -def_flags check in hugepage_madvise()

2014-01-22 Thread Hugh Dickins
On Wed, 22 Jan 2014, Oleg Nesterov wrote: hugepage_madvise() checks mm-def_flags VM_NOHUGEPAGE but this can be never true, currently mm-def_flags can only have VM_LOCKED. But line 1087 of arch/s390/mm/pgtable.c says mm-def_flags |= VM_NOHUGEPAGE; from

Re: [BISECTED] Linux 3.12.7 introduces page map handling regression

2014-01-22 Thread Elena Ufimtseva
On Wed, Jan 22, 2014 at 9:29 AM, Daniel Borkmann borkm...@iogearbox.net wrote: On 01/22/2014 08:29 AM, Steven Noonan wrote: On Wed, Jan 22, 2014 at 12:02:15AM -0500, Konrad Rzeszutek Wilk wrote: On Tue, Jan 21, 2014 at 07:20:45PM -0800, Steven Noonan wrote: On Tue, Jan 21, 2014 at

Re: [PATCH 4/5] spi: Check that Quad/Dual is half duplex

2014-01-22 Thread Geert Uytterhoeven
On Wed, Jan 22, 2014 at 8:19 PM, Gerhard Sittig g...@denx.de wrote: On Tue, Jan 21, 2014 at 21:06 +0100, Geert Uytterhoeven wrote: On Tue, Jan 21, 2014 at 7:21 PM, Mark Brown broo...@kernel.org wrote: On Tue, Jan 21, 2014 at 04:10:08PM +0100, Geert Uytterhoeven wrote: From: Geert

[PATCH] regmap: irq: Remove domain on exit

2014-01-22 Thread Mark Brown
From: Mark Brown broo...@linaro.org irqdomain now supports removal of domains on exit so we can properly clean up on deletion of a regmap irqchip. Signed-off-by: Mark Brown broo...@linaro.org --- drivers/base/regmap/regmap-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [ANNOUNCE] Git v1.9-rc0

2014-01-22 Thread Ken Moffat
On Wed, Jan 22, 2014 at 10:10:18AM -0800, Junio C Hamano wrote: Vicent Martí tan...@gmail.com writes: Do these consume CPU every time somebody asks for a tarball? That might be considered wrong depending on the view. No, our infrastructure caches frequently requested tarballs so they

Re: [PATCH] mm/zswap: add writethrough option

2014-01-22 Thread Andrew Morton
On Wed, 22 Jan 2014 09:19:58 -0500 Dan Streetman ddstr...@ieee.org wrote: Acutally, I really don't know how much benefit we have that in-memory swap overcomming to the real storage but if you want, zRAM with dm-cache is another option rather than invent new wheel by just having is

Re: [BISECTED] Linux 3.12.7 introduces page map handling regression

2014-01-22 Thread Steven Noonan
On Wed, Jan 22, 2014 at 03:18:50PM -0500, Elena Ufimtseva wrote: On Wed, Jan 22, 2014 at 9:29 AM, Daniel Borkmann borkm...@iogearbox.net wrote: On 01/22/2014 08:29 AM, Steven Noonan wrote: On Wed, Jan 22, 2014 at 12:02:15AM -0500, Konrad Rzeszutek Wilk wrote: On Tue, Jan 21, 2014 at

Re: [PATCH V5 2/3] mm/memblock: Add support for excluded memory areas

2014-01-22 Thread Andrew Morton
On Wed, 22 Jan 2014 12:18:21 +0100 Philipp Hachtmann pha...@linux.vnet.ibm.com wrote: Hi again, I'd like to remind that the s390 development relies on this patch (and the next one, for cleanliness, of course) being added. It would be very good to see it being added to the -mm tree resp.

Re: [PATCH 4/5] ARM: trusted_foundations: implement do_idle()

2014-01-22 Thread Stephen Warren
On 01/21/2014 03:10 AM, Alexandre Courbot wrote: Support the do_idle() firmware call, which is necessary to properly support cpuidle. diff --git a/arch/arm/firmware/trusted_foundations.c b/arch/arm/firmware/trusted_foundations.c +#define TF_CPU_PM 0xfffc +#define

Re: [PATCH 3/5] ARM: firmware: enable Trusted Foundations by default

2014-01-22 Thread Stephen Warren
On 01/21/2014 03:10 AM, Alexandre Courbot wrote: As discussed previously (https://lkml.org/lkml/2013/11/26/289), enable Trusted Foundation support by default since it already depends on a supporting architecture being selected. Doing so allows us to remove it from tegra_defconfig.

Re: [PATCH 5/5] ARM: tegra: cpuidle: use firmware call for power down

2014-01-22 Thread Stephen Warren
On 01/21/2014 03:10 AM, Alexandre Courbot wrote: Invoke the do_idle() firmware call before suspending a CPU so that the underlying firmware (if any) can take necessary action. diff --git a/arch/arm/mach-tegra/cpuidle-tegra114.c b/arch/arm/mach-tegra/cpuidle-tegra114.c @@ -45,6 +46,8 @@

Re: [PATCH 0/5] ARM: firmware: improvements to Trusted Foundations support

2014-01-22 Thread Stephen Warren
On 01/21/2014 03:10 AM, Alexandre Courbot wrote: These (mostly minor) patches fix a few typos, improve points that were agreed upon when the Trusted Foundation series was initially submitted, and more importantly add support for the do_idle() firmware operation that is needed for cpuidle to be

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread Martin K. Petersen
Ric == Ric Wheeler rwhee...@redhat.com writes: Ric I will have to see if I can get a storage vendor to make a public Ric statement, but there are vendors hoping to see this land in Linux Ric in the next few years. I assume that anyone with a shipping device Ric will have to at least emulate the

Re: [PATCH v2 5/7] ARM: perf_event: Fully support Krait CPU PMU events

2014-01-22 Thread Stephen Boyd
On 01/21/14 10:37, Stephen Boyd wrote: On 01/21/14 10:07, Will Deacon wrote: Do you need isbs to ensure the pmresrn side-effects have happened, or are the registers self-synchronising? Similarly for your other IMP DEF registers. There aren't any isbs in the downstream android sources so I

Re: [PATCH] regulator: ti-abb: Add support for interleaved LDO registers

2014-01-22 Thread Nishanth Menon
On 01/22/2014 02:19 PM, Mark Brown wrote: On Tue, Jan 21, 2014 at 04:32:12PM -0600, Nishanth Menon wrote: The other alternative will be to use reg-names and map individual registers (there are just setup and control registers to deal with per abb instance). That will coexist with other

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread Martin K. Petersen
James == James Bottomley james.bottom...@hansenpartnership.com writes: or even (not today, but some day) reject the IO. James I really doubt this. All 4k drives today do RMW ... I don't see James that changing any time soon. All consumer grade 4K phys drives do RMW. It's a different story

[GIT PULL] XFS updates for 3.14-rc1

2014-01-22 Thread Ben Myers
Hi Linus, Please pull these XFS updates for 3.14-rc1. This is primarily bug fixes, many of which you already have. New stuff includes a series to decouple the in-memory and on-disk log format, helpers in the area of inode clusters, and i_version handling. We decided to try to

[tip:irq/core] irqchip: renesas-irqc: Enable mask on suspend

2014-01-22 Thread tip-bot for Magnus Damm
Commit-ID: 43881ec7a88a3d3b2fd6da58168173e135b41fba Gitweb: http://git.kernel.org/tip/43881ec7a88a3d3b2fd6da58168173e135b41fba Author: Magnus Damm d...@opensource.se AuthorDate: Wed, 4 Dec 2013 21:05:56 +0900 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 22 Jan 2014

Re: [ANNOUNCE] Git v1.9-rc0

2014-01-22 Thread Junio C Hamano
Ken Moffat zarniwh...@ntlworld.com writes: I note that all of these *are* still available at googlecode for the moment : https://code.google.com/p/git-core/downloads/list As I said, Cgc is not the ony download site. The end of http://git-blame.blogspot.com/p/git-public-repositories.html

[tip:irq/core] irqchip: renesas-irqc: Use lazy disable

2014-01-22 Thread tip-bot for Magnus Damm
Commit-ID: 3aba55605326be6d7e624090858aa921ab519cda Gitweb: http://git.kernel.org/tip/3aba55605326be6d7e624090858aa921ab519cda Author: Magnus Damm d...@opensource.se AuthorDate: Wed, 4 Dec 2013 21:05:46 +0900 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 22 Jan 2014

Re: [PATCH] clocksource: fix some comments typo in clocksource.c

2014-01-22 Thread Thomas Gleixner
On Thu, 2 Jan 2014, Yijing Wang wrote: Fix some trivial comments typo in kernel/time/clocksource.c That's not a typo. Thats a left over. The function simply cannot fail anymore. So the subject of that patch should be something like: clocksource: Remove outdated comments And the changelog

[tip:irq/core] irqchip: Add support for TI-NSPIRE irqchip

2014-01-22 Thread tip-bot for Daniel Tang
Commit-ID: 397e7b515785cad6e10b29f3001fd80c3f519bb8 Gitweb: http://git.kernel.org/tip/397e7b515785cad6e10b29f3001fd80c3f519bb8 Author: Daniel Tang dt.ta...@gmail.com AuthorDate: Thu, 5 Dec 2013 17:12:17 +1100 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 22 Jan 2014

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread Jan Kara
On Wed 22-01-14 09:00:33, James Bottomley wrote: On Wed, 2014-01-22 at 11:45 -0500, Ric Wheeler wrote: On 01/22/2014 11:03 AM, James Bottomley wrote: On Wed, 2014-01-22 at 15:14 +, Chris Mason wrote: On Wed, 2014-01-22 at 09:34 +, Mel Gorman wrote: On Tue, Jan 21, 2014 at

Re: [PATCH 13/15] sched: Use a static_key for sched_clock_stable

2014-01-22 Thread Peter Zijlstra
I think its the right region to look through. My current suspect is the linear continuity fit with the initial 'random' multiplier. That initial 'random' multiplier can get us quite high, and we'll fit the function to match that but continue at a sane rate. I'll try and prod a little

<    1   2   3   4   5   6   7   8   9   10   >