[PATCH v2 0/7] memcg-vs-slab related fixes, improvements, cleanups

2014-02-03 Thread Vladimir Davydov
Hi, This patch set mostly cleanups memcg slab caches creation/destruction paths fixing a couple of bugs in the meanwhile. The only serious change it introduces is a rework of the sysfs layout for memcg slub caches (see patch 7). Changes in v2: - do not remove cgroup name part from memcg cache

[PATCH v2 7/7] slub: rework sysfs layout for memcg caches

2014-02-03 Thread Vladimir Davydov
Currently, we try to arrange sysfs entries for memcg caches in the same manner as for global caches. Apart from turning /sys/kernel/slab into a mess when there are a lot of kmem-active memcgs created, it actually does not work properly - we won't create more than one link to a memcg cache in case

Re: [PATCH v4 2/5] arm: add new asm macro update_sctlr

2014-02-03 Thread Leif Lindholm
On Mon, Feb 03, 2014 at 10:34:15AM +, Will Deacon wrote: On Thu, Jan 30, 2014 at 01:12:47PM +, Leif Lindholm wrote: Oh, that's neat - thanks! Well, given that, I can think of two less horrible options: 1) .macro update_sctlr, tmp:req, set=, clear= mrc p15, 0,

[PATCH v2 6/7] slub: adjust memcg caches when creating cache alias

2014-02-03 Thread Vladimir Davydov
Otherwise, kzalloc() called from a memcg won't clear the whole object. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- mm/slub.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/mm/slub.c b/mm/slub.c index 8659e7184338..f3d2ef725ed6 100644 --- a/mm/slub.c +++

[PATCH v2 1/7] memcg, slab: never try to merge memcg caches

2014-02-03 Thread Vladimir Davydov
Suppose we are creating memcg cache A that could be merged with cache B of the same memcg. Since any memcg cache has the same parameters as its parent cache, parent caches PA and PB of memcg caches A and B must be mergeable too. That means PA was merged with PB on creation or vice versa, i.e. PA =

[PATCH v2 5/7] memcg, slab: do not destroy children caches if parent has aliases

2014-02-03 Thread Vladimir Davydov
Currently we destroy children caches at the very beginning of kmem_cache_destroy(). This is wrong, because the root cache will not necessarily be destroyed in the end - if it has aliases (refcount 0), kmem_cache_destroy() will simply decrement its refcount and return. In this case, at best we

[PATCH v2 2/7] memcg, slab: cleanup memcg cache name creation

2014-02-03 Thread Vladimir Davydov
The way memcg_create_kmem_cache() creates the name for a memcg cache looks rather strange: it first formats the name in the static buffer tmp_name protected by a mutex, then passes the pointer to the buffer to kmem_cache_create_memcg(), which finally duplicates it to the cache name. Let's clean

[PATCH v2 4/7] memcg, slab: unregister cache from memcg before starting to destroy it

2014-02-03 Thread Vladimir Davydov
Currently, memcg_unregister_cache(), which deletes the cache being destroyed from the memcg_slab_caches list, is called after __kmem_cache_shutdown() (see kmem_cache_destroy()), which starts to destroy the cache. As a result, one can access a partially destroyed cache while traversing a

[PATCH v2 3/7] memcg, slab: separate memcg vs root cache creation paths

2014-02-03 Thread Vladimir Davydov
Memcg-awareness turned kmem_cache_create() into a dirty interweaving of memcg-only and except-for-memcg calls. To clean this up, let's create a separate function handling memcg caches creation. Although this will result in the two functions having several hunks of practically the same code, I

Re: [Libunwind-devel] [RFC PATCH 0/3] Add support for dwarf compat mode unwinding

2014-02-03 Thread Arun Sharma
On Mon, Feb 3, 2014 at 7:28 AM, Jean Pihet jean.pi...@linaro.org wrote: Something like ./configure --target=arm on aarch64. Thanks for the link and info. Is there a concrete example of cross-unwinding with multiple targets, for example on x86_64 using native and x86_32 libunwind libraries

Re: [PATCH v4 2/5] arm: add new asm macro update_sctlr

2014-02-03 Thread Will Deacon
On Mon, Feb 03, 2014 at 03:55:42PM +, Leif Lindholm wrote: On Mon, Feb 03, 2014 at 10:34:15AM +, Will Deacon wrote: On Thu, Jan 30, 2014 at 01:12:47PM +, Leif Lindholm wrote: Oh, that's neat - thanks! Well, given that, I can think of two less horrible options: 1)

Re: [PATCH 02/11] HID: i2c-hid: implement ll_driver transport-layer callbacks

2014-02-03 Thread David Herrmann
Hi On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: Add output_report and raw_request to i2c-hid. Hopefully, we will manage to have the same transport level between all the transport drivers. Signed-off-by: Benjamin Tissoires

Re: [PATCH v2 1/6] audit: Enable arm64 support

2014-02-03 Thread Richard Guy Briggs
On 14/02/03, AKASHI Takahiro wrote: Richard, Takahiro, On 01/30/2014 07:36 AM, Richard Guy Briggs wrote: On 14/01/29, Richard Guy Briggs wrote: On 14/01/27, AKASHI Takahiro wrote: [To audit maintainers] On 01/23/2014 11:18 PM, Catalin Marinas wrote: On Fri, Jan 17, 2014 at 08:13:14AM

Re: [PATCH] ipv6: default route for link local address is not added while assigning a address

2014-02-03 Thread Hannes Frederic Sowa
Hello! On Mon, Feb 03, 2014 at 04:23:00PM +0100, Nicolas Dichtel wrote: Le 03/02/2014 08:19, Sohny Thomas a écrit : Actually I am not so sure, there is no defined semantic of flush. I would be ok with all three solutions: leave it as is, always add link-local address (it does not matter if

Re: [PATCH] usb: phy: Quiet unable to find transceiver message

2014-02-03 Thread Alan Stern
On Mon, 3 Feb 2014, Paul Bolle wrote: --- a/drivers/usb/phy/phy.c +++ b/drivers/usb/phy/phy.c @@ -228,7 +228,7 @@ struct usb_phy *usb_get_phy_dev(struct device *dev, u8 index) phy = __usb_find_phy_dev(dev, phy_bind_list, index); if (IS_ERR(phy) ||

[PATCH] timerfd: show procfs fdinfo helper, and now accepts write()

2014-02-03 Thread Shawn Landden
| pos: 0 | flags:02004002 | clockid: 0 | ticks:6 Cc: Thomas Gleixner t...@linutronix.de Cc: Alexander Viro v...@zeniv.linux.org.uk Signed-off-by: Shawn Landden sh...@churchofgit.com --- fs/timerfd.c | 64 1 file

Re: [PATCH 06/11] HID: remove hidinput_input_event handler

2014-02-03 Thread David Herrmann
Hi On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: All the different transport drivers use now the generic event handling in hid-input. We can remove the handler definitively now. \o/ Reviewed-by: David Herrmann dh.herrm...@gmail.com Thanks David

Re: [PATCH 08/11] HID: usbhid: remove duplicated code

2014-02-03 Thread David Herrmann
Hi On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: Well, no use to keep twice the same code. Yepp, I actually copied the code from that, so this is fine. Reviewed-by: David Herrmann dh.herrm...@gmail.com Thanks David Signed-off-by: Benjamin Tissoires

Re: [PATCH 09/11] HID: remove hid_get_raw_report in struct hid_device

2014-02-03 Thread David Herrmann
Hi On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: dev-hid_get_raw_report(X) and hid_hw_raw_request(X, HID_REQ_GET_REPORT) are strictly equivalent. Switch the hid subsystem to the hid_hw notation and remove the field .hid_get_raw_report in struct

RE: [PATCH V1] fix da9052 volatile register definition ommissions

2014-02-03 Thread Opensource [Anthony Olech]
-Original Message- From: Lee Jones [mailto:lee.jo...@linaro.org] Sent: 03 February 2014 10:29 To: Opensource [Anthony Olech] Cc: Mark Brown; Samuel Ortiz; linux-kernel@vger.kernel.org; David Dajun Chen Subject: Re: [PATCH V1] fix da9052 volatile register definition ommissions

Re: [PATCH 10/11] HID: introduce helper to access hid_output_raw_report()

2014-02-03 Thread David Herrmann
Hi On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: Add a helper to access hdev-hid_output_raw_report(). To convert the drivers, use the following snippets: for i in drivers/hid/*.c do sed -i.bak s/[^

Re: [PATCH] cpufreq: cpu0: make THERMAL_CPU support optional

2014-02-03 Thread Rob Herring
On Mon, Feb 3, 2014 at 12:05 AM, Viresh Kumar viresh.ku...@linaro.org wrote: Cc'ing the guy who introduced this bug.. On 2 February 2014 04:20, Rob Herring robherri...@gmail.com wrote: From: Rob Herring r...@kernel.org The addition of THERMAL and THERMAL_CPU selections causes a kconfig

Re: [PATCH 04/11] HID: logitech-dj: remove hidinput_input_event

2014-02-03 Thread David Herrmann
Hi On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: hid-logitech-dj uses its own -hidinput_input_event() instead of the generic binding in hid-input. Moving the handling of LEDs towards logi_dj_output_hidraw_report() allows two things: - remove

Re: [PATCH] [RFC] netfilter: nf_conntrack: don't relase a conntrack with non-zero refcnt

2014-02-03 Thread Eric Dumazet
On Mon, 2014-02-03 at 00:30 +0100, Pablo Neira Ayuso wrote: */ smp_wmb(); - atomic_set(ct-ct_general.use, 1); + atomic_set(ct-ct_general.use, 0); return ct; Hi Pablo ! I think your patch is the way to go, but might need some extra care with memory

a LLC sched domain bug for panda board?

2014-02-03 Thread Alex Shi
I just run the 3.14-rc1 kernel on panda board. The only domain for it is 'CPU' domain, but this domain has no SD_SHARE_PKG_RESOURCES setting, it has no sd_llc. Guess the right domain for this board should be MC. So is it a bug? .. /proc/sys/kernel/sched_domain/cpu0/domain0/name:CPU ..

Re: [RFC 4/5] memcg: make sure that memcg is not offline when charging

2014-02-03 Thread Johannes Weiner
On Mon, Feb 03, 2014 at 02:33:13PM +0100, Michal Hocko wrote: On Thu 30-01-14 12:29:06, Johannes Weiner wrote: On Tue, Dec 17, 2013 at 04:45:29PM +0100, Michal Hocko wrote: The current charge path might race with memcg offlining because holding css reference doesn't stop css offline. As a

Re: [PATCH v4 2/5] arm: add new asm macro update_sctlr

2014-02-03 Thread Rob Herring
On Mon, Feb 3, 2014 at 10:00 AM, Will Deacon will.dea...@arm.com wrote: On Mon, Feb 03, 2014 at 03:55:42PM +, Leif Lindholm wrote: On Mon, Feb 03, 2014 at 10:34:15AM +, Will Deacon wrote: On Thu, Jan 30, 2014 at 01:12:47PM +, Leif Lindholm wrote: Oh, that's neat - thanks!

Re: Need help in bug in isolate_migratepages_range

2014-02-03 Thread Michal Hocko
On Mon 03-02-14 14:29:22, Holger Kiehl wrote: I have attached it. Please, tell me if you do not get the attachment. I hoped it would help me to get a closer compiled code to yours but I am probably using too different gcc. Anyway I've tried to check whether I can hook on something and it seems

Re: [RFC PATCH 3/3] idle: store the idle state index in the struct rq

2014-02-03 Thread Arjan van de Ven
On 2/3/2014 6:56 AM, Peter Zijlstra wrote: Arjan, could you have a look at teaching your Thunderpants to wrap lines at ~80 chars please? I'll try but it suffers from Apple-disease 1) A latency driven one 2) A performance impact on first one is pretty much the exit latency related time,

Re: [PATCH 5/5] arm64: add Crypto Extensions based synchronous core AES cipher

2014-02-03 Thread Will Deacon
On Thu, Jan 30, 2014 at 07:20:38PM +, Ard Biesheuvel wrote: On 30 January 2014 19:56, Will Deacon will.dea...@arm.com wrote: On Wed, Jan 29, 2014 at 04:50:46PM +, Ard Biesheuvel wrote: +static void aes_cipher_encrypt(struct crypto_tfm *tfm, u8 dst[], u8 const src[]) +{ +

Re: [PATCH 04/11] HID: logitech-dj: remove hidinput_input_event

2014-02-03 Thread Benjamin Tissoires
On Mon, Feb 3, 2014 at 11:06 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: hid-logitech-dj uses its own -hidinput_input_event() instead of the generic binding in hid-input. Moving the handling of

Re: [PATCH] ipv6: default route for link local address is not added while assigning a address

2014-02-03 Thread Nicolas Dichtel
Le 03/02/2014 17:08, Hannes Frederic Sowa a écrit : Hello! On Mon, Feb 03, 2014 at 04:23:00PM +0100, Nicolas Dichtel wrote: Le 03/02/2014 08:19, Sohny Thomas a écrit : Actually I am not so sure, there is no defined semantic of flush. I would be ok with all three solutions: leave it as is,

Re: a LLC sched domain bug for panda board?

2014-02-03 Thread Vincent Guittot
Have you checked that CONFIG_SCHED_LC is set ? On 3 February 2014 17:17, Alex Shi alex@linaro.org wrote: I just run the 3.14-rc1 kernel on panda board. The only domain for it is 'CPU' domain, but this domain has no SD_SHARE_PKG_RESOURCES setting, it has no sd_llc. Guess the right domain

Re: a LLC sched domain bug for panda board?

2014-02-03 Thread Vincent Guittot
On 3 February 2014 17:27, Vincent Guittot vincent.guit...@linaro.org wrote: Have you checked that CONFIG_SCHED_LC is set ? sorry it's CONFIG_SCHED_MC On 3 February 2014 17:17, Alex Shi alex@linaro.org wrote: I just run the 3.14-rc1 kernel on panda board. The only domain for it is 'CPU'

Re: [PATCH 7/8] Add 32 bit VDSO time support for 32 bit kernel

2014-02-03 Thread Andy Lutomirski
On Sun, Feb 2, 2014 at 11:44 PM, Stefani Seibold stef...@seibold.net wrote: Am Sonntag, den 02.02.2014, 16:12 -0800 schrieb Andy Lutomirski: On Sun, Feb 2, 2014 at 1:39 PM, Stefani Seibold stef...@seibold.net wrote: Am Sonntag, den 02.02.2014, 08:46 -0800 schrieb Andy Lutomirski: On Sun, Feb

Re: [PATCH v5 15/16] ARM: add uprobes support

2014-02-03 Thread Jon Medhurst (Tixy)
On Thu, 2014-01-23 at 15:05 -0500, David Long wrote: From: David A. Long dave.l...@linaro.org Using Rabin Vincent's ARM uprobes patches as a base, enable uprobes support on ARM. Caveats: - Thumb is not supported Signed-off-by: David A. Long dave.l...@linaro.org As this is based on

Re: [PATCH] x86, perf, p4: Counter corruption when using lots of perf groups

2014-02-03 Thread Don Zickus
On Mon, Feb 03, 2014 at 10:19:29AM +0400, Cyrill Gorcunov wrote: On Wed, Jan 29, 2014 at 03:17:17PM -0500, Don Zickus wrote: I am not entirely sure on the corruption path, but what happens is: o perf schedules a group with p4_pmu_schedule_events() o inside

Re: [PATCH,RFC] random: collect cpu randomness

2014-02-03 Thread Theodore Ts'o
On Mon, Feb 03, 2014 at 10:50:42AM -0500, Jörn Engel wrote: If the measurement event is an interrupt and the CPU has a cycle-counter, you are set. On interesting systems lacking a cycle-counter, we still have a high-resolution counter or sorts that is the CPU itself. Instruction pointer

Re: [PATCH] clk: Fix notifier documentation

2014-02-03 Thread Sören Brinkmann
On Fri, Jan 31, 2014 at 10:01:27PM -0800, Mike Turquette wrote: On Fri, Jan 31, 2014 at 5:49 PM, Sören Brinkmann soren.brinkm...@xilinx.com wrote: ping? Hi Soren, I'm a bit slow to review patches during the merge window. Thanks for the doc update. I'll take it in after -rc1 drops.

Re: [Libunwind-devel] [RFC PATCH 0/3] Add support for dwarf compat mode unwinding

2014-02-03 Thread Jiri Olsa
On Mon, Feb 03, 2014 at 04:28:06PM +0100, Jean Pihet wrote: Hi Arun, On 22 January 2014 06:15, Arun Sharma a...@sharma-home.net wrote: On Tue, Jan 21, 2014 at 12:16 AM, Jean Pihet jean.pi...@linaro.org wrote: This is the case when e.g. profiling an ARMv7 binary that runs on an ARMv8

Re: [PATCH v1] clocksource: tegra: Add nvidia,tegra30-timer compat

2014-02-03 Thread Daniel Lezcano
On 01/31/2014 10:29 PM, Andrew Chew wrote: There are some differences between tegra20's timer registers and tegra30's (and later). For one thing, the watchdogs don't seem to be present in tegra20. don't seem, so it is an assumption ? Add this compatibility string in order to be able to

Re: [PATCH 3/3] perf tools: Add readable output for callchain debug

2014-02-03 Thread Jiri Olsa
On Mon, Feb 03, 2014 at 01:09:15PM -0200, Arnaldo Carvalho de Melo wrote: Em Mon, Feb 03, 2014 at 12:44:43PM +0100, Jiri Olsa escreveu: Adding people readable output for callchain debug, to get following '-v' output: $ perf record -v -g ls callchain: type DWARF callchain: stack

Re: [RFC 1/5] memcg: cleanup charge routines

2014-02-03 Thread Michal Hocko
On Mon 03-02-14 10:51:27, Johannes Weiner wrote: On Mon, Feb 03, 2014 at 02:20:01PM +0100, Michal Hocko wrote: On Thu 30-01-14 12:18:37, Johannes Weiner wrote: On Tue, Dec 17, 2013 at 04:45:26PM +0100, Michal Hocko wrote: [...] -static int __mem_cgroup_try_charge(struct mm_struct *mm,

Re: Why is syscall auditing on with no rules?

2014-02-03 Thread Andy Lutomirski
On Mon, Feb 3, 2014 at 6:49 AM, Steve Grubb sgr...@redhat.com wrote: On Saturday, February 01, 2014 06:51:56 PM Andy Lutomirski wrote: On Sat, Feb 1, 2014 at 6:32 PM, Andy Lutomirski l...@amacapital.net wrote: On a stock Fedora installation: $ sudo auditctl -l No rules What rules would

Re: drm/cirrus: Ignore busy mem region when mapping VRAM

2014-02-03 Thread David Herrmann
Hi On Fri, Jan 31, 2014 at 11:51 AM, Stefan Bader stefan.ba...@canonical.com wrote: I know this is a gross hack but something like that currently is required to avoid a KVM guest booted from graphical grub mode (so simplefb is taking effect) getting into a state where there is no framebuffer

Re: [PATCH v4 2/5] arm: add new asm macro update_sctlr

2014-02-03 Thread Leif Lindholm
On Mon, Feb 03, 2014 at 04:00:51PM +, Will Deacon wrote: With the two call sites in uefi_phys.S as: ldr r5, =(CR_M) update_sctlrr12, , r5 and ldr r4, =(CR_I | CR_C | CR_M) update_sctlrr12, r4 These ldr= could

Re: [RFC 4/5] memcg: make sure that memcg is not offline when charging

2014-02-03 Thread Michal Hocko
On Mon 03-02-14 11:18:23, Johannes Weiner wrote: On Mon, Feb 03, 2014 at 02:33:13PM +0100, Michal Hocko wrote: On Thu 30-01-14 12:29:06, Johannes Weiner wrote: On Tue, Dec 17, 2013 at 04:45:29PM +0100, Michal Hocko wrote: [...] In order to make this raceless we would need to hold

Re: [PATCH V1] fix da9052 volatile register definition ommissions

2014-02-03 Thread Lee Jones
Three of the PMIC registers have some bits that are changed autonomously by the PMIC itself (some time) after being set by some component driver of the DA9052 PMIC and hence they need to be marked as volatile so that the regmap API will not cache their values. Signed-off-by: Anthony

Re: Do we really need curr_target in signal_struct ?

2014-02-03 Thread Oleg Nesterov
On 02/02, Rakib Mullick wrote: On Sat, Feb 1, 2014 at 10:51 PM, Oleg Nesterov o...@redhat.com wrote: On 02/01, Rakib Mullick wrote: Since the optimization (usages of -curr_target) isn't perfect, so there's chance of being misunderstood. This optimization is misleading too (I

Re: [PATCH 00/11] HID: spring cleaning

2014-02-03 Thread David Herrmann
Hi On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: Hi guys, This is an attempt to complete the branch for-3.15/ll-driver-new-callbacks: - try to implement as much as possible ll_driver callbacks (some are still missing, but I did not had the time to

Re: a LLC sched domain bug for panda board?

2014-02-03 Thread Alex Shi
On 02/04/2014 12:28 AM, Vincent Guittot wrote: On 3 February 2014 17:27, Vincent Guittot vincent.guit...@linaro.org wrote: Have you checked that CONFIG_SCHED_LC is set ? sorry it's CONFIG_SCHED_MC Thanks for reminder! no it wasn't set. Does it means arch/arm/configs/omap2plus_defconfig need

[PATCH] at91: pmc: Fixed irq's name allocation for programmable clocks

2014-02-03 Thread Jean-Jacques Hiblot
The name provided to request_irq() must be valid until the irq is released. This patch allocates and formats the string with kasprintf(). Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com --- drivers/clk/at91/clk-programmable.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH] mm: __set_page_dirty_nobuffers uses spin_lock_irqseve instead of spin_lock_irq

2014-02-03 Thread kosaki . motohiro
From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com During aio stress test, we observed the following lockdep warning. This mean AIO+numa_balancing is currently deadlockable. The problem is, aio_migratepage disable interrupt, but __set_page_dirty_nobuffers unintentionally enable it again.

Re: Need help in bug in isolate_migratepages_range

2014-02-03 Thread Vlastimil Babka
On 02/03/2014 05:20 PM, Michal Hocko wrote: On Mon 03-02-14 14:29:22, Holger Kiehl wrote: I have attached it. Please, tell me if you do not get the attachment. I hoped it would help me to get a closer compiled code to yours but I am probably using too different gcc. Anyway I've tried to check

Re: [PATCH] regulator: core: Correct default return value for full constraints

2014-02-03 Thread Guenter Roeck
On Mon, Feb 03, 2014 at 03:41:09PM +, Mark Brown wrote: On Mon, Feb 03, 2014 at 03:35:12PM +0100, Jean Delvare wrote: Ah, I see it in your tree. But it's not in 3.14-rc1. As this fixes a regression, it would be great to have it upstream ASAP, so that it can propagate to 3.13-stable.

Re: [PATCH v5 00/16] uprobes: Add uprobes support for ARM

2014-02-03 Thread Jon Medhurst (Tixy)
On Thu, 2014-01-23 at 15:05 -0500, David Long wrote: From: David A. Long dave.l...@linaro.org This patch series adds basic uprobes support to ARM. It is based on patches developed earlier by Rabin Vincent. That approach of adding hooks into the kprobes instruction parsing code was not well

[PATCH 1/4] nilfs2: update MAINTAINERS file entries

2014-02-03 Thread Ryusuke Konishi
Update git repository entry of nilfs2 file system and maintainer's email description. Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp --- MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index b2cf5cf..342caaa 100644

[PATCH 2/4] nilfs2: add struct nilfs_suinfo_update and flags

2014-02-03 Thread Ryusuke Konishi
From: Andreas Rohner andreas.roh...@gmx.net This patch adds the nilfs_suinfo_update structure, which contains the information needed to update one segment usage entry. The flags specify, which fields need to be updated. Signed-off-by: Andreas Rohner andreas.roh...@gmx.net Signed-off-by: Ryusuke

[PATCH 3/4] nilfs2: add nilfs_sufile_set_suinfo to update segment usage

2014-02-03 Thread Ryusuke Konishi
From: Andreas Rohner andreas.roh...@gmx.net This patch introduces the nilfs_sufile_set_suinfo function, which expects an array of nilfs_suinfo_update structures and updates the segment usage information accordingly. This is basically a helper function for the newly introduced

[PATCH 4/4] nilfs2: implementation of NILFS_IOCTL_SET_SUINFO ioctl

2014-02-03 Thread Ryusuke Konishi
From: Andreas Rohner andreas.roh...@gmx.net With this ioctl the segment usage entries in the SUFILE can be updated from userspace. This is useful, because it allows the userspace GC to modify and update segment usage entries for specific segments, which enables it to avoid unnecessary write

Re: [PATCH v4 2/5] arm: add new asm macro update_sctlr

2014-02-03 Thread Will Deacon
On Mon, Feb 03, 2014 at 04:46:36PM +, Leif Lindholm wrote: On Mon, Feb 03, 2014 at 04:00:51PM +, Will Deacon wrote: With the two call sites in uefi_phys.S as: ldr r5, =(CR_M) update_sctlrr12, , r5 and ldr r4, =(CR_I | CR_C |

[PATCH 0/4] nilfs2 updates

2014-02-03 Thread Ryusuke Konishi
Hi Andrew, Please queue this patchset for the next merge window. Andreas's three patches will add a new ioctl which helps to mitigate overheads of garbage collection of nilfs. The original cover letter can be seen at: [1] http://marc.info/?l=linux-nilfsm=139081676816008 there the userland

Re: [PATCH] vmcore: prevent PT_NOTE p_memsz overflow during header update

2014-02-03 Thread Pearson, Greg
On 02/03/2014 08:47 AM, Vivek Goyal wrote: On Sun, Feb 02, 2014 at 02:25:25PM -0800, Eric W. Biederman wrote: Andrew Morton a...@linux-foundation.org writes: On Sat, 1 Feb 2014 01:07:29 + Pearson, Greg greg.pear...@hp.com wrote: As far as I know the only consequence of dropping a

Re: [Xen-devel] [PATCH 3/3] xen-blkback: fix shutdown race

2014-02-03 Thread Roger Pau Monné
On 29/01/14 09:52, Jan Beulich wrote: On 28.01.14 at 18:43, Roger Pau Monne roger@citrix.com wrote: --- a/drivers/block/xen-blkback/blkback.c +++ b/drivers/block/xen-blkback/blkback.c @@ -985,17 +985,31 @@ static void __end_block_io_op(struct pending_req *pending_req, int error) *

Re: [PATCH 1/9] block: Stop abusing csd.list for fifo_time

2014-02-03 Thread Frederic Weisbecker
On Mon, Feb 03, 2014 at 03:48:29PM +0100, Jan Kara wrote: On Sat 01-02-14 17:48:27, Frederic Weisbecker wrote: On Mon, Dec 23, 2013 at 09:39:22PM +0100, Jan Kara wrote: Block layer currently abuses rq-csd.list.next for storing fifo_time. That is a terrible hack and completely unnecessary

Re: [PATCH] Documentation: Add Daniel Vetter's excellent Botching up ioctls

2014-02-03 Thread Randy Dunlap
On 01/31/2014 10:05 PM, Michael Ellerman wrote: I pointed some folks at this and they wondered why it wasn't in the kernel Documentation directory. So now it is. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch Signed-off-by: Michael Ellerman m...@ellerman.id.au ---

Re: [PATCH 04/11] HID: logitech-dj: remove hidinput_input_event

2014-02-03 Thread David Herrmann
Hi On Mon, Feb 3, 2014 at 5:21 PM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Mon, Feb 3, 2014 at 11:06 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sun, Feb 2, 2014 at 5:50 AM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: hid-logitech-dj uses its own

Re: [PATCH] vmcore: prevent PT_NOTE p_memsz overflow during header update

2014-02-03 Thread Vivek Goyal
On Mon, Feb 03, 2014 at 04:57:56PM +, Pearson, Greg wrote: [..] So I will not be too worried about skipping seemingly corrupted ELf notes. I think giving a warning makes sense though. Is somebody overwriting the memory area in kenrel reserved for per cpu PT_NOTE. I haven't figured

Re: [PATCH v1] ARM: tegra: add nvidia,wdt-timer-id optional property

2014-02-03 Thread Mark Rutland
On Fri, Jan 31, 2014 at 09:46:51PM +, Andrew Chew wrote: This optional property can be used to specify which timers are to be used for hardware watchdog timeouts (via a tegra wdt driver). Is there any reason that a particular timer should be used? This shouldn't even mention the driver, as

Re: linux-next: Tree for Feb 3 (sound/soc/soc-io.c)

2014-02-03 Thread Randy Dunlap
On 02/02/2014 07:16 PM, Stephen Rothwell wrote: Hi all, This tree fails (more than usual) the powerpc allyesconfig build. Changes since 20140131: on i386: when CONFIG_REGMAP_I2C=m: sound/built-in.o: In function `snd_soc_codec_set_cache_io': (.text+0x29555): undefined reference to

Re: [PATCH] at91: pmc: Fixed irq's name allocation for programmable clocks

2014-02-03 Thread boris brezillon
Hello JJ, On 03/02/2014 17:46, Jean-Jacques Hiblot wrote: The name provided to request_irq() must be valid until the irq is released. This patch allocates and formats the string with kasprintf(). Thanks for reporting this bug. Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com ---

Re: [PATCH 2/5] cpu: add generic support for CPU feature based module autoloading

2014-02-03 Thread Ard Biesheuvel
Hello Greg, Would you care to comment on this patch? It adds some Kconfig clutter, but this is removed again in the next patch (http://marc.info/?l=linux-arm-kernelm=139101443708663w=2), which has already been acked by hpa here: http://marc.info/?l=linux-arm-kernelm=139101589509168w=2 Example

Re: [PATCH 1/3] Revert thp: make MADV_HUGEPAGE check for mm-def_flags

2014-02-03 Thread Alex Thorlton
On Fri, Jan 31, 2014 at 02:52:24PM -0800, Andrew Morton wrote: On Fri, 31 Jan 2014 12:23:43 -0600 Alex Thorlton athorl...@sgi.com wrote: This reverts commit 8e72033f2a489b6c98c4e3c7cc281b1afd6cb85cm, and adds 'm' is not a hex digit ;) My mistake! Sorry about that. in code to fix up

Re: rtl8821ae.

2014-02-03 Thread Larry Finger
On 02/02/2014 12:07 PM, Stefan Lippers-Hollmann wrote: Hi [ CC'ing the relevant parties ] On Sunday 02 February 2014, Dave Jones wrote: On Sun, Feb 02, 2014 at 03:41:27AM -0800, scan-ad...@coverity.com wrote: Please find the latest report on new defect(s) introduced to Linux found with

Re: [PATCH 2/3] Add VM_INIT_DEF_MASK and PRCTL_THP_DISABLE

2014-02-03 Thread Alex Thorlton
On Fri, Jan 31, 2014 at 03:00:58PM -0800, Andrew Morton wrote: On Fri, 31 Jan 2014 12:23:45 -0600 Alex Thorlton athorl...@sgi.com wrote: This patch adds a VM_INIT_DEF_MASK, to allow us to set the default flags for VMs. It also adds a prctl control which alllows us to set the THP disable

Re: [PATCH] regulator: core: Correct default return value for full constraints

2014-02-03 Thread Mark Brown
On Mon, Feb 03, 2014 at 08:52:10AM -0800, Guenter Roeck wrote: On Mon, Feb 03, 2014 at 03:41:09PM +, Mark Brown wrote: It's on a fixes tag so it'll go in next time I send stuff to Linus, it'll go next time I send something to him. That's usually about once per release. Especially if

Re: [PATCH resend 1/2] bcache: Use %zi to format size_t

2014-02-03 Thread Ian Pilcher
Shouldn't size_t use %zu? -- Ian Pilcher arequip...@gmail.com Sent from the cloud -- where it's already tomorrow

Re: [RFC 00/16] drm/nouveau: initial support for GK20A (Tegra K1)

2014-02-03 Thread Daniel Vetter
On Sat, Feb 1, 2014 at 4:16 AM, Alexandre Courbot acour...@nvidia.com wrote: Finally, support for probing GK20A is added in the last 2 patches. It should be noted that contrary to what Nouveau currently expects, GK20A does not embed any display hardware (that part being handled by

Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-02-03 Thread Kevin Hilman
Maxime Ripard maxime.rip...@free-electrons.com writes: Hi Kevin, On Thu, Jan 30, 2014 at 03:52:16PM -0800, Kevin Hilman wrote: On Wed, Jan 29, 2014 at 5:32 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Wed, Jan 29, 2014 at 12:25:20PM +, Mark Brown wrote: On Wed, Jan

Re: [PATCH] arm: document mach-virt platform.

2014-02-03 Thread Christoffer Dall
On Mon, Feb 03, 2014 at 08:46:07AM -0500, Christopher Covington wrote: Hi Christoffer, On 02/02/2014 11:56 PM, Christoffer Dall wrote: On Thu, Jan 30, 2014 at 11:54:46AM -0500, Christopher Covington wrote: I think it would be informative to provide pointers here to commonly used

[PATCH] pci: Makefile: Cleanup per-arch list of object files

2014-02-03 Thread Liviu Dudau
setup-bus.o is now included unconditionally as of commit 7dc30303342562685392c8c7aa5194e98fd27625. Remove it from the per-arch list of object files. Signed-off-by: Liviu Dudau liviu.du...@arm.com --- drivers/pci/Makefile | 22 -- 1 file changed, 8 insertions(+), 14

Re: [PATCH 2/3] Add VM_INIT_DEF_MASK and PRCTL_THP_DISABLE

2014-02-03 Thread Oleg Nesterov
On 01/31, Alex Thorlton wrote: This patch adds a VM_INIT_DEF_MASK, Perhaps it makes sense to tell a bit more... We add this mask to preserve VM_NOHUGEPAGE after fork/exec. And this is obviously affects s390, say the result of KVM_S390_ENABLE_SIE will be preserved. I hope this is fine, but

[PATCH] audit: Only use the syscall slowpath when syscall audit rules exist

2014-02-03 Thread Andy Lutomirski
This toggles TIF_SYSCALL_AUDIT as needed when rules change instead of leaving it set whenever rules might be set in the future. This reduces syscall latency from 60ns to closer to 40ns on my laptop. Cc: Oleg Nesterov o...@redhat.com Cc: Steve Grubb sgr...@redhat.com Cc: Eric Paris

Re: [GIT PULL] Btrfs

2014-02-03 Thread David Sterba
On Thu, Jan 30, 2014 at 04:52:54PM -0500, Chris Mason wrote: Chris Mason (3) commits (+64/-32): Btrfs: setup inode location during btrfs_init_inode_locked (+9/-9) Btrfs: don't use ram_bytes for uncompressed inline items (+52/-22) The patches are CC: stable, but haven't gone through the

[PATCH -v2] x86, microcode, AMD: Sanity-check initrd image

2014-02-03 Thread Borislav Petkov
On Thu, Jan 30, 2014 at 08:54:13PM +0100, Borislav Petkov wrote: Yeah, it is simpler. Ok, will change. Ok, let's have another run at it. This one takes care of the relocated ramdisk on 64-bit too, as we do it there also, not only on 32-bit. It boots fine here on the 32/64-bit guests. --- From:

Re: [PATCH] audit: Only use the syscall slowpath when syscall audit rules exist

2014-02-03 Thread Oleg Nesterov
On 02/03, Andy Lutomirski wrote: @@ -911,6 +918,47 @@ static inline struct audit_context *audit_alloc_context(enum audit_state state) return context; } +void audit_inc_n_rules() +{ + struct task_struct *p, *g; + + write_lock(n_rules_lock); + + if (audit_n_rules++

Re: [PATCH v4 2/5] arm: add new asm macro update_sctlr

2014-02-03 Thread Leif Lindholm
On Mon, Feb 03, 2014 at 04:57:18PM +, Will Deacon wrote: mov[tw]: why? Then we end up battling different available immediate fields in A32/T32 instruction sets and v5/v6/v7 architecture versions. I was making the assumption that UEFI was going to be v7 only... is this not true?

[PATCH 14/16] staging: ion: Fix ION_IOC_FREE compat ioctl

2014-02-03 Thread John Stultz
From: Laura Abbott lau...@codeaurora.org The compat ioctl for ION_IOC_FREE currently passes allocation data instead of the free data. Correct this. Cc: Greg KH gre...@linuxfoundation.org Cc: Colin Cross ccr...@android.com Cc: Android Kernel Team kernel-t...@android.com Signed-off-by: Laura

Re: [GIT PULL] Btrfs

2014-02-03 Thread Chris Mason
On Mon 03 Feb 2014 12:54:05 PM EST, David Sterba wrote: On Thu, Jan 30, 2014 at 04:52:54PM -0500, Chris Mason wrote: Chris Mason (3) commits (+64/-32): Btrfs: setup inode location during btrfs_init_inode_locked (+9/-9) Btrfs: don't use ram_bytes for uncompressed inline items (+52/-22)

[PATCH] perf: ARM64: wire up perf_regs and unwind support

2014-02-03 Thread Jean Pihet
This patch hooks in the perf_regs and libunwind code for ARM64. The tools/perf/arch/arm64 is created; it contains the arch specific code for DWARF unwinding. Signed-off-by: Jean Pihet jean.pi...@linaro.org Acked-by: Will Deacon will.dea...@arm.com --- tools/perf/arch/arm64/Makefile|

[PATCH 16/16] staging: ion: Add private buffer flag to skip page pooling on free

2014-02-03 Thread John Stultz
From: Mitchel Humpherys mitch...@codeaurora.org Currently, when we free a buffer it might actually just go back into a heap-specific page pool rather than going back to the system. This poses a problem because sometimes (like when we're running a shrinker in low memory conditions) we need to

[PATCH 15/16] staging: ion: Move shrinker out of heaps

2014-02-03 Thread John Stultz
From: Colin Cross ccr...@android.com Every heap that uses deferred frees is going to need a shrinker to shrink the freelist under memory pressure. Rather than requiring each heap to implement a shrinker, automatically register a shrinker if the deferred free flag is set. The system heap also

[PATCH 2/3] ARM64: perf: add support for frame pointer unwinding in compat mode

2014-02-03 Thread Jean Pihet
When profiling a 32-bit application, user space callchain unwinding using the frame pointer is performed in compat mode. The code is taken over from the AARCH32 code and adapted to work on AARCH64. Signed-off-by: Jean Pihet jean.pi...@linaro.org Acked-by: Will Deacon will.dea...@arm.com ---

[PATCH 13/16] staging: ion: Fix overflow and list bugs in system heap

2014-02-03 Thread John Stultz
From: Colin Cross ccr...@android.com Fix a few bugs in ion_system_heap: Initialize the list node in the info block. Don't store size_remaining in a signed long, allocating 2GB could overflow, resulting in a call to sg_alloc_table with nents=0 which panics. alloc_largest_available will never

[PATCH 3/3] ARM64: perf: support dwarf unwinding in compat mode

2014-02-03 Thread Jean Pihet
Add support for unwinding using the dwarf information in compat mode. Using the correct user stack pointer allows perf to record the frames correctly in the native and compat modes. Note that although the dwarf frame unwinding works ok using libunwind in native mode (on ARMv7 ARMv8), some

[PATCH 10/16] staging: ion: Fix debugfs handling of multiple kernel clients

2014-02-03 Thread John Stultz
From: Laura Abbott lau...@codeaurora.org Currently, Ion registers all debugfs entries for clients via pid. If there are multiple kernel clients, this means the debugfs entry only gets created for the first one. Fix this by creating debugfs entries by name always. When creating user clients,

[PATCH v6 0/3] perf: AARCH64 arch support

2014-02-03 Thread Jean Pihet
Add AARCH64 specific support. This includes the following: - AARCH64 perf registers definition and hooks, - compat mode registers use, i.e. profiling a 32-bit binary on a 64-bit system, - unwinding using the dwarf information from the .debug_frame section of the ELF binary, - unwinding using

[PATCH 1/3] ARM64: perf: add support for perf registers API

2014-02-03 Thread Jean Pihet
This patch implements the functions required for the perf registers API, allowing the perf tool to interface kernel register dumps with libunwind in order to provide userspace backtracing. Compat mode is also supported. Only the general purpose user space registers are exported, i.e.:

[PATCH 12/16] staging: ion: Make sure all clients are exposed in debugfs

2014-02-03 Thread John Stultz
From: Mitchel Humpherys mitch...@codeaurora.org Currently, if multiple Ion clients are created with the same name, only the first one shows up in debugfs. Rectify this by adding a monotonically-increasing serial number to the debug names of Ion clients. Cc: Greg KH gre...@linuxfoundation.org Cc:

[PATCH 08/16] staging: ashmem: Avoid deadlock between read and mmap calls

2014-02-03 Thread John Stultz
From: Todd Poynor toddpoy...@google.com Avoid holding ashmem_mutex across code that can page fault. Page faults grab the mmap_sem for the process, which are also held by mmap calls prior to calling ashmem_mmap, which locks ashmem_mutex. The reversed order of locking between the two can

<    5   6   7   8   9   10   11   12   13   14   >