Re: frequent softlockups with 3.10rc6.

2013-06-28 Thread Linus Torvalds
On Thu, Jun 27, 2013 at 5:54 PM, Dave Chinner da...@fromorbit.com wrote: On Thu, Jun 27, 2013 at 04:54:53PM -1000, Linus Torvalds wrote: So what made it all start happening now? I don't recall us having had these kinds of issues before.. Not sure - it's a sudden surprise for me, too. Then

Re: cgroup: status-quo and userland efforts

2013-06-28 Thread Mike Galbraith
On Thu, 2013-06-27 at 22:01 -0700, Tejun Heo wrote: Anyways, if you're root, you can keep doing whatever you want. You could be stepping on the centralized agent's toes a bit and vice-versa Keep on truckn' sounds good, that vice-versa toe stomping not so good, but yeah, until systemd or ilk

Re: [PATCH v4 net-next] net: poll/select low latency socket support

2013-06-28 Thread Eliezer Tamir
On 28/06/2013 03:29, Cody P Schafer wrote: On 06/27/2013 05:25 PM, Cody P Schafer wrote: On 06/24/2013 12:28 AM, Eliezer Tamir wrote: select/poll busy-poll support. ... I'm seeing warnings about using smp_processor_id() while preemptable (log included below) due to this patch. I expect the

linux-next: manual merge of the arm-soc tree with the mfd tree

2013-06-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-exynos/mach-universal_c210.c between commit 555183096fc7 (regulator: max8998: Use arrays for specifying voltages in platform data) from the mfd tree and commit ca9143501c30 (ARM: EXYNOS: Remove unused board

Re: mmotm 2013-06-27-16-36 uploaded (wait event common)

2013-06-28 Thread Randy Dunlap
On 06/27/13 22:51, Andrew Morton wrote: On Thu, 27 Jun 2013 22:30:41 -0700 Randy Dunlap rdun...@infradead.org wrote: On 06/27/13 16:37, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2013-06-27-16-36 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/

Re: [PATCH 2/8] sched: Track NUMA hinting faults on per-node basis

2013-06-28 Thread Srikar Dronamraju
* Mel Gorman mgor...@suse.de [2013-06-26 15:38:01]: This patch tracks what nodes numa hinting faults were incurred on. Greater weight is given if the pages were to be migrated on the understanding that such faults cost significantly more. If a task has paid the cost to migrating data to that

Re: [PATCH 3/8] sched: Select a preferred node with the most numa hinting faults

2013-06-28 Thread Srikar Dronamraju
* Mel Gorman mgor...@suse.de [2013-06-26 15:38:02]: This patch selects a preferred node for a task to run on based on the NUMA hinting faults. This information is later used to migrate tasks towards the node during balancing. Signed-off-by: Mel Gorman mgor...@suse.de ---

FW: Arch/arm/msm/memory.c:reserve_memory_for_mempools( )

2013-06-28 Thread Wang, Yalin
Hi Sboy, I don't know who should I send this mail to . If you are not the right person, please forward To the right responsible person , Thank you ! I have a question about msm kernel code : File: Arch/arm/msm/memory.c reserve_memory_for_mempools() it call memblock_remove() directly, I think

Re: [PATCH V2 06/15] perf tools: fix parse_events_terms() freeing local variable on error path

2013-06-28 Thread Adrian Hunter
On 27/06/13 19:13, David Ahern wrote: On 6/27/13 1:54 AM, Adrian Hunter wrote: The list_head is on the stack, so just free the rest of the list. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/parse-events.c | 7 ++- tools/perf/util/parse-events.h | 1 +

Re: [PATCH 4/8] sched: Update NUMA hinting faults once per scan

2013-06-28 Thread Srikar Dronamraju
* Mel Gorman mgor...@suse.de [2013-06-26 15:38:03]: NUMA hinting faults counts and placement decisions are both recorded in the same array which distorts the samples in an unpredictable fashion. The values linearly accumulate during the scan and then decay creating a sawtooth-like pattern in

[PATCH] ata: Fix DVD not dectected at some platform with Wellsburg PCH

2013-06-28 Thread Youquan Song
There is a patch b55f84e2d527182e7c611d466cd0bb6ddce201de ata_piix: Fix DVD not dectected at some Haswell platforms to fix an issue of DVD not recognized on Haswell Desktop platform with Lynx Point. Recently, it is also found the same issue at some platformas with Wellsburg PCH. So deliver a

Re: [PATCH V2 15/15] perf tools: fix ppid in thread__fork()

2013-06-28 Thread Adrian Hunter
On 27/06/13 19:57, David Ahern wrote: On 6/27/13 1:55 AM, Adrian Hunter wrote: ppid should be assigned to the parents pid. Note 'thread__fork()'s only caller 'machine__process_fork_event()' ensures that the parents pid is set. Signed-off-by: Adrian Hunter adrian.hun...@intel.com ---

[PATCH] arm: dts: AM43x: Add usb_otg_hs node

2013-06-28 Thread George Cherian
Adds device node for HS USB Host module for AM437x Signed-off-by: George Cherian george.cher...@ti.com --- This patch is on top of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.11/dts arch/arm/boot/dts/am4372.dtsi | 19 +++ 1 file changed, 19

Re: [PATCH v4 2/7] cpufreq: Add boost frequency support in core

2013-06-28 Thread Lukasz Majewski
On Fri, 28 Jun 2013 09:10:53 +0530, Viresh Kumar wrote: On 27 June 2013 21:25, Lukasz Majewski l.majew...@samsung.com wrote: On Wed, 26 Jun 2013 16:24:32 +0530, Viresh Kumar wrote: + if (boost_enabled != state) { + write_lock_irqsave(cpufreq_driver_lock, flags); +

Re: [PATCH v4 2/7] cpufreq: Add boost frequency support in core

2013-06-28 Thread Viresh Kumar
On 28 June 2013 12:19, Lukasz Majewski l.majew...@samsung.com wrote: No, I will use: if (boost_enabled != state) { write_lock_irqsave(cpufreq_driver_lock, flags); boost_enabled = state; ret = cpufreq_driver-enable_boost(state); only one

Re: kernel panic in skb_copy_bits

2013-06-28 Thread Eric Dumazet
On Fri, 2013-06-28 at 12:17 +0800, Joe Jin wrote: Find a similar issue http://www.gossamer-threads.com/lists/xen/devel/265611 So copied to Xen developer as well. On 06/27/13 13:31, Eric Dumazet wrote: On Thu, 2013-06-27 at 10:58 +0800, Joe Jin wrote: Hi, When we do fail over test

Re: [PATCH v4 5/7] cpufreq: Calculate number of busy CPUs

2013-06-28 Thread Lukasz Majewski
On Fri, 28 Jun 2013 09:20:40 +0530, Viresh Kumar wrote: On 27 June 2013 20:12, Lukasz Majewski l.majew...@samsung.com wrote: On Thu, 27 Jun 2013 16:46:44 +0530, Viresh Kumar wrote: @Rafael: We need you to jump into this discussion now, I don't have a good idea about what we should do :)

Re: mmotm 2013-06-27-16-36 uploaded (wait event common)

2013-06-28 Thread Stephen Rothwell
Hi Guys, On Thu, 27 Jun 2013 23:06:43 -0700 Randy Dunlap rdun...@infradead.org wrote: On 06/27/13 22:51, Andrew Morton wrote: On Thu, 27 Jun 2013 22:30:41 -0700 Randy Dunlap rdun...@infradead.org wrote: On 06/27/13 16:37, a...@linux-foundation.org wrote: The mm-of-the-moment

Re: [PATCH 7/8] sched: Split accounting of NUMA hinting faults that pass two-stage filter

2013-06-28 Thread Srikar Dronamraju
* Mel Gorman mgor...@suse.de [2013-06-26 15:38:06]: Ideally it would be possible to distinguish between NUMA hinting faults that are private to a task and those that are shared. This would require that the last task that accessed a page for a hinting fault would be recorded which would

[patch v1 1/1]regulator: fix for DA9055 regulator

2013-06-28 Thread Ankur Raina
This patch adds support for usage of GPIO's by multiple bucks and regulators of DA9055 for enable-disable and voltage set selection.Without this patch regulator control through GPIO would fail for more than one regulator/buck. Signed-off-by: Ankur ankur.ra...@kpitcummins.com ---

Re: [GIT PULL] s390 patches for the 3.9-rc6

2013-06-28 Thread Martin Schwidefsky
Hi Grant, On Tue, 25 Jun 2013 15:18:21 +0100 Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Jun 25, 2013 at 3:12 PM, Martin Schwidefsky schwidef...@de.ibm.com wrote: On Tue, 25 Jun 2013 14:30:20 +0100 Grant Likely grant.lik...@secretlab.ca wrote: Have you looked at irq_domain?

Re: frequent softlockups with 3.10rc6.

2013-06-28 Thread Dave Chinner
On Thu, Jun 27, 2013 at 07:59:50PM -1000, Linus Torvalds wrote: On Thu, Jun 27, 2013 at 5:54 PM, Dave Chinner da...@fromorbit.com wrote: On Thu, Jun 27, 2013 at 04:54:53PM -1000, Linus Torvalds wrote: So what made it all start happening now? I don't recall us having had these kinds of

Re: [PATCH] vhost-net: fall back to vmalloc if high-order allocation fails

2013-06-28 Thread Romain Francoise
Michael S. Tsirkin m...@redhat.com writes: On Wed, Jan 23, 2013 at 09:46:47PM +0100, Romain Francoise wrote: Creating a vhost-net device allocates an object large enough (34320 bytes on x86-64) to trigger an order-4 allocation, which may fail if memory if fragmented: libvirtd: page

Re: [PATCH 1/5] imx-drm: imx-drm-core: Export imx_drm_encoder_get_mux_id

2013-06-28 Thread Uwe Kleine-König
On Fri, Jun 28, 2013 at 12:32:01AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com When building imx_v6_v7_defconfig with imx-drm drivers selected as modules, we get the following build error: ERROR: imx_drm_encoder_get_mux_id

Re: [PATCH 5/5] imx-drm: ipu-dp: Adjust the maximum number of flows

2013-06-28 Thread Uwe Kleine-König
On Fri, Jun 28, 2013 at 12:32:05AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Later in ipu_dp_get() the index of the flow array is calculated by: flow 1 So adjust its maximum to IPUV3_NUM_FLOWS 1. Maybe squash this into patch 4? Uwe Signed-off-by:

Re: [PATCH v4 2/7] cpufreq: Add boost frequency support in core

2013-06-28 Thread Lukasz Majewski
On Fri, 28 Jun 2013 12:21:21 +0530, Viresh Kumar wrote: On 28 June 2013 12:19, Lukasz Majewski l.majew...@samsung.com wrote: No, I will use: if (boost_enabled != state) { write_lock_irqsave(cpufreq_driver_lock, flags); boost_enabled = state; ret =

best price of A4 paper

2013-06-28 Thread Uhgmue
Dear Purchasing manager: Nice time to you It is my big pleasure to hear you need A4 paper we have A4 paper and A3 paper If you still need that pls tell me Then i can send you our best price Best wishes Ida Ida Chen SALES MANAGER East Siweite industry Co., Ltd www.dfswtpaper.com SKYPE:

Re: [PATCH] Optimize wait_sb_inodes()

2013-06-28 Thread OGAWA Hirofumi
Dave Chinner da...@fromorbit.com writes: A performance regression using fsstress? That's not a program intended to be a useful benchmark for measuring performance. Right. fsstress is used as stress tool for me too as part of CI, with background vmstat 1. Anyway, it is why I noticed this.

Re: [PATCH v2 2/4] mmc: atmel-mci: prepare clk before calling enable

2013-06-28 Thread Nicolas Ferre
On 25/06/2013 10:11, Boris BREZILLON : Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com It seems that you forgot the Acked-by line from Ludovic. One comment... ---

Re: [RFC PATCH] cpu hotplug: rework cpu_hotplug locking (was [LOCKDEP] cpufreq: possible circular locking dependency detected)

2013-06-28 Thread Sergey Senozhatsky
On (06/28/13 10:13), Viresh Kumar wrote: On 26 June 2013 02:45, Sergey Senozhatsky sergey.senozhat...@gmail.com wrote: [ 60.277396] == [ 60.277400] [ INFO: possible circular locking dependency detected ] [ 60.277407]

Re: linux-next: Tree for Jun 28

2013-06-28 Thread Sedat Dilek
On Fri, Jun 28, 2013 at 9:33 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, Changes since 20130627: This tree produces the following warning when built for many (all?) configs (it has been fixed in the drm tree): drivers/video/Kconfig:42:error: recursive dependency detected!

[PATCH v4] cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

2013-06-28 Thread Chanwoo Choi
This patch add new 'load_table' debugfs file to show previous accumulated data of CPUs load as following path and add CPUFREQ_LOADCHECK notification to CPUFREQ_TRANSITION_NOTIFIER notifier chain. - /sys/kernel/debug/cpufreq/cpuX/load_table When governor calculates CPUs load on dbs_check_cpu(),

Re: [PATCH] ARM: zImage: fix path to fonts which moved to lib/fonts

2013-06-28 Thread Geert Uytterhoeven
On Thu, Jun 27, 2013 at 10:12 PM, Kevin Hilman khil...@linaro.org wrote: commit 1affee67 (lib: Move fonts from drivers/video/console/ to lib/fonts/) moved fonts from drivers/video/console/ to lib/fonts, but the ARM zImage build still references the old location. Cc: Geert Uytterhoeven

Re: [PATCH 3/4] ACPI / PM: Rework and clean up acpi_dev_pm_get_state()

2013-06-28 Thread Aaron Lu
On 06/27/2013 08:09 PM, Rafael J. Wysocki wrote: On Thursday, June 27, 2013 04:11:22 PM Aaron Lu wrote: On 06/14/2013 08:32 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The acpi_dev_pm_get_state() function defined in device_pm.c is quite convoluted, which

Re: [PATCH] of: Specify initrd location using 64-bit

2013-06-28 Thread Sebastian Andrzej Siewior
On 06/27/2013 10:54 PM, Rob Herring wrote: Rob, Are you ok with phys_addr_t since your concern was about rest of the memory specific bits of the device-tree code use u64 ? No. I still think it should be u64 for same reasons I said originally. The physical address space is represented by

Re: [PATCH 3.4 stable][PATCH] pch_uart: fix a deadlock when pch_uart as console

2013-06-28 Thread Yijing Wang
Hi Greg, I'm very sorry this email format problems, please drop this one, I will resend a correct email to describe this patch later. Thanks! Yijing. On 2013/6/28 11:10, Yijing Wang wrote: From: Liang Li liang...@windriver.com commit 384e301e3519599b000c1a2ecd938b533fc15d85 upstream

Re: [PATCH v2] ARM: DTS: OMAP4: Add OMAP4 Blaze Tablet support

2013-06-28 Thread Tomi Valkeinen
On 25/06/13 14:32, Ruslan Bilovol wrote: The OMAP4 Blaze Tablet is TI OMAP4 processor-based development platform in a tablet formfactor. The platform contains many of the features found in present-day handsets (such as audio, video, wireless functions and user interfaces) and in addition

Re: [PATCH next] xen: Use more current logging styles

2013-06-28 Thread Ian Campbell
On Thu, 2013-06-27 at 21:57 -0700, Joe Perches wrote: Instead of mixing printk and pr_level forms, just use pr_level Miscellaneous changes around these conversions: Add a missing newline to avoid message interleaving, coalesce formats, reflow modified lines to 80 columns.

Re: [PATCH next] xen: Use more current logging styles

2013-06-28 Thread Wei Liu
On Thu, Jun 27, 2013 at 09:57:49PM -0700, Joe Perches wrote: Instead of mixing printk and pr_level forms, just use pr_level Miscellaneous changes around these conversions: Add a missing newline to avoid message interleaving, coalesce formats, reflow modified lines to 80 columns. Do you

Re: [PATCH v2 2/4] mmc: atmel-mci: prepare clk before calling enable

2013-06-28 Thread boris brezillon
On 28/06/2013 09:44, Nicolas Ferre wrote: On 25/06/2013 10:11, Boris BREZILLON : Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com It seems that you forgot the Acked-by line from

Re: [PATCH 5/8] sched: Favour moving tasks towards the preferred node

2013-06-28 Thread Srikar Dronamraju
* Mel Gorman mgor...@suse.de [2013-06-26 15:38:04]: This patch favours moving tasks towards the preferred NUMA node when it has just been selected. Ideally this is self-reinforcing as the longer the the task runs on that node, the more faults it should incur causing task_numa_placement to

Re: [linux-sunxi] [PATCH 0/8] clocksource: sunxi: Timer fixes and cleanup

2013-06-28 Thread Hans de Goede
Hi, On 06/27/2013 10:26 PM, Siarhei Siamashka wrote: On Thu, 27 Jun 2013 18:54:36 +0200 Maxime Ripard maxime.rip...@free-electrons.com wrote: On Thu, Jun 27, 2013 at 11:54:11AM +0200, Hans de Goede wrote: I notice that unlike the sunxi-3.4 code you don't do any locking, so how do you stop 2

[PATCH v3 0/2] perf tools: Power7 events name available for perf

2013-06-28 Thread Runzhen Wang
Thank for Sukadev Bhattip and Xiao Guangrong's help. Thank for Michael Ellerman's review. ChangeLog: v2 - v3: 1. Adding a leading zero to all the events code in power7-events-list.h which don't have a PMC, so that they all line up vertically. ChangeLog: v1 - v2: 1. As Michael Ellerman

Re: [PATCH v5 1/5] vmcore: Introduce ELF header in new memory feature

2013-06-28 Thread Michael Holzheu
On Thu, 27 Jun 2013 16:23:34 -0400 Vivek Goyal vgo...@redhat.com wrote: On Thu, Jun 27, 2013 at 03:32:02PM -0400, Vivek Goyal wrote: On Fri, Jun 21, 2013 at 04:17:03PM +0200, Michael Holzheu wrote: On Fri, 14 Jun 2013 14:54:02 -0400 Vivek Goyal vgo...@redhat.com wrote: [snip] Thinking

[PATCH v3 1/2] perf tools: fix a typo of a Power7 event name

2013-06-28 Thread Runzhen Wang
In the Power7 PMU guide: https://www.power.org/documentation/commonly-used-metrics-for-performance-analysis/ PM_BRU_MPRED is referred to as PM_BR_MPRED. It fixed the typo by changing the name of the event in kernel and documentation accordingly. This patch changes the ABI, there are some reasons

[PATCH v3 2/2] perf tools: Make Power7 events available for perf

2013-06-28 Thread Runzhen Wang
Power7 supports over 530 different perf events but only a small subset of these can be specified by name, for the remaining events, we must specify them by their raw code: perf stat -e r2003c application This patch makes all the POWER7 events available in sysfs. So we can instead specify

Re: [PATCH v4] cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

2013-06-28 Thread Viresh Kumar
On 28 June 2013 13:18, Chanwoo Choi cw00.c...@samsung.com wrote: Time(ms) Old Freq(Hz) New Freq(Hz) CPU0 CPU1 CPU2 CPU3 175320 140 140 41 470 79 We decided to left indent all entries here. I see only the first one like this. What about others? diff --git

Re: frequent softlockups with 3.10rc6.

2013-06-28 Thread Al Viro
On Thu, Jun 27, 2013 at 07:59:50PM -1000, Linus Torvalds wrote: Also, looking some more now at that wait_sb_inodes logic, I have to say that if the problem is primarily the inode-i_lock, then that's just crazy. Looks more like contention on inode_sb_list_lock, actually... And no, I don't

Re: frequent softlockups with 3.10rc6.

2013-06-28 Thread Linus Torvalds
On Thu, Jun 27, 2013 at 9:21 PM, Dave Chinner da...@fromorbit.com wrote: Besides, making the inode_sb_list_lock per sb won't help solve this problem, anyway. The case that I'm testing involves a filesystem that contains 99.97% of all inodes cached by the system. This is a pretty common

Re: [PATCH v4] cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

2013-06-28 Thread Viresh Kumar
On 28 June 2013 13:18, Chanwoo Choi cw00.c...@samsung.com wrote: drivers/cpufreq/Kconfig| 6 + drivers/cpufreq/cpufreq.c | 4 + drivers/cpufreq/cpufreq_governor.c | 15 +++ drivers/cpufreq/cpufreq_stats.c| 241 +

Re: linux-next: Tree for Jun 28 [ call-trace: workqueue | drm releated? ]

2013-06-28 Thread Dave Airlie
[ CC wq and drm(-intel) folks ] Already know the commit which caused it, mentioned on dri-devel, waiting for danvet to wake up and look, before I revert it later. Dave. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: linux-next: Tree for Jun 28 [ call-trace: workqueue | drm releated? ]

2013-06-28 Thread Sedat Dilek
On Fri, Jun 28, 2013 at 10:29 AM, Dave Airlie airl...@gmail.com wrote: [ CC wq and drm(-intel) folks ] Already know the commit which caused it, mentioned on dri-devel, waiting for danvet to wake up and look, before I revert it later. Thanks, I like fast responses. For followers... See

Re: frequent softlockups with 3.10rc6.

2013-06-28 Thread Al Viro
On Thu, Jun 27, 2013 at 10:22:45PM -1000, Linus Torvalds wrote: It looks ok, but I still think it is solving the wrong problem. FWIW, your optimisation has much wider application that just this one place. I'll have a look to see how we can apply this approach across all the inode

Re: watchdog: print stolen time increment at softlockup detection

2013-06-28 Thread Paolo Bonzini
Il 28/06/2013 04:57, Marcelo Tosatti ha scritto: One possibility for a softlockup report in a Linux VM, is that the host system is overcommitted to the point where the watchdog task is unable to make progress (unable to touch the watchdog). Maintain the increment in stolen time for the

[PATCH V3 00/15] perf tools: some fixes and tweaks

2013-06-28 Thread Adrian Hunter
Hi Here are some fixes and tweaks to perf tools (version 3). Changes in V3: perf tools: add pid to struct thread Split into 2 patches perf tools: fix ppid in thread__fork() Dropped for now Changes in V2: perf tools: fix missing tool

[PATCH V3 07/15] perf tools: add const specifier to perf_pmu__find name parameter

2013-06-28 Thread Adrian Hunter
The name parameter is constant, declare it so. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/pmu.c | 14 +++--- tools/perf/util/pmu.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c index

[PATCH V3 05/15] perf tools: fix new_term() missing free on error path

2013-06-28 Thread Adrian Hunter
On the error path, newly allocated 'term' must be freed. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Jiri Olsa jo...@redhat.com --- tools/perf/util/parse-events.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/parse-events.c

[PATCH V3 09/15] perf tools: validate perf event header size

2013-06-28 Thread Adrian Hunter
'size' includes the header so must be at least 'sizeof(struct perf_event_header)'. Error out immediately if that is not the case. Also don't byte-swap the header until it is actually fetched from the mmap region. Signed-off-by: Adrian Hunter adrian.hun...@intel.com ---

[PATCH V3 02/15] perf tools: fix missing tool parameter

2013-06-28 Thread Adrian Hunter
perf inject expects to get a reference to 'struct perf_inject' from its 'tool' member. For that to work, 'tool' needs to be a parameter of all tool callbacks. Make it so. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/builtin-inject.c | 26 +++---

[PATCH V3 11/15] perf tools: fix symbol_conf.nr_events

2013-06-28 Thread Adrian Hunter
symbol_conf.nr_events must be updated when processing attribute events. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/header.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 4037b0a..81a3a0d 100644 ---

[PATCH V3 13/15] perf tools: struct thread has a tid not a pid

2013-06-28 Thread Adrian Hunter
As evident from 'machine__process_fork_event()' and 'machine__process_exit_event()' the 'pid' member of struct thread is actually the tid. Rename 'pid' to 'tid' in struct thread accordingly. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/builtin-kmem.c | 2 +-

[PATCH V3 10/15] perf tools: add debug prints

2013-06-28 Thread Adrian Hunter
It is useful to see the arguments to perf_event_open and whether the perf events ring buffer was mmapped per-cpu or per-thread. That information will now be displayed when verbose is 2 i.e option -vv Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Jiri Olsa jo...@redhat.com ---

[PATCH] ARM: at91/DT: fix at91sam9n12ek memory node

2013-06-28 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9n12ek.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index d59b70c..3d77dbe 100644 ---

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-28 Thread Michal Hocko
I have just triggered this one. [37955.354041] BUG: unable to handle kernel paging request at 00572ead7838 [37955.356032] IP: [81127e5b] list_lru_walk_node+0xab/0x140 [37955.364062] PGD 2bf0a067 PUD 0 [37955.364062] Oops: [#1] SMP [37955.364062] Modules linked in: edd nfsv3

[PATCH V3 15/15] perf tools: change machine functions to set thread pid

2013-06-28 Thread Adrian Hunter
Typically tracking events such as mmap events, comm events, fork events and exit events, are processed by machine functions. Change these functions to put pid in the new pid_ member of struct thread. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/machine.c | 21

[PATCH V3 14/15] perf tools: add pid to struct thread

2013-06-28 Thread Adrian Hunter
Record pid on struct thread. The member is named 'pid_' to avoid confusion with the 'tid' member which was previously named 'pid'. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/machine.c | 26 +- tools/perf/util/machine.h | 2 ++

[PATCH V3 08/15] perf tools: tidy duplicated munmap code

2013-06-28 Thread Adrian Hunter
The same lines of code are used in three places. Make it a new function '__perf_evlist__munmap()'. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Jiri Olsa jo...@redhat.com --- tools/perf/util/evlist.c | 32 ++-- 1 file changed, 14 insertions(+), 18

[PATCH V3 06/15] perf tools: fix parse_events_terms() freeing local variable on error path

2013-06-28 Thread Adrian Hunter
The list_head is on the stack, so just free the rest of the list. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/parse-events.c | 7 ++- tools/perf/util/parse-events.h | 1 + tools/perf/util/pmu.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-)

[PATCH V3 04/15] perf tools: fix parse_events_terms() segfault on error path

2013-06-28 Thread Adrian Hunter
On the error path, 'data.terms' may not have been initialised. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Jiri Olsa jo...@redhat.com --- tools/perf/util/parse-events.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c

[PATCH V3 01/15] perf tools: remove unused parameter

2013-06-28 Thread Adrian Hunter
'machine' is unused in 'perf_event__repipe_synth()' and some callers pass NULL anyway. So remove it. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Jiri Olsa jo...@redhat.com --- tools/perf/builtin-inject.c | 19 +-- 1 file changed, 9 insertions(+), 10

[PATCH V3 03/15] perf tools: fix missing 'finished_round'

2013-06-28 Thread Adrian Hunter
By default, perf inject should repipe all events including 'finished_round'. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Jiri Olsa jo...@redhat.com --- tools/perf/builtin-inject.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/builtin-inject.c

Re: [PATCH 1/2] mm: vmscan: Avoid direct reclaim scanning at maximum priority

2013-06-28 Thread Mel Gorman
On Wed, Jun 26, 2013 at 12:39:25PM -0700, Andrew Morton wrote: On Wed, 26 Jun 2013 13:39:23 +0100 Mel Gorman mgor...@suse.de wrote: Page reclaim at priority 0 will scan the entire LRU as priority 0 is considered to be a near OOM condition. Direct reclaim can reach this priority while

[PATCH V3 12/15] perf tools: allow non-matching sample types

2013-06-28 Thread Adrian Hunter
Sample types need not be identical to determine the sample id from the event. Only the position of the sample id needs to be the same. Compatible sample types are ones in which the bits defined by PERF_COMPAT_MASK are the same. 'perf_evlist__config()' forces sample types to be compatible on that

Re: [PATCH] ARM: zImage: fix path to fonts which moved to lib/fonts

2013-06-28 Thread Geert Uytterhoeven
On Fri, 28 Jun 2013, Geert Uytterhoeven wrote: On Thu, Jun 27, 2013 at 10:12 PM, Kevin Hilman khil...@linaro.org wrote: commit 1affee67 (lib: Move fonts from drivers/video/console/ to lib/fonts/) moved fonts from drivers/video/console/ to lib/fonts, but the ARM zImage build still references

Re: [PATCH] x86: Fix override new_cpu_data.x86 with 486

2013-06-28 Thread Borislav Petkov
On Fri, Jun 28, 2013 at 08:56:42AM +0800, Wang YanQing wrote: Right, so this patch is correct and it fixes the small window where we run with family == 4 before cpu_detect but the commit message needs a bit massaging before it gets applied. I think it fixes the window where we run with

Re: [PATCH 2/8] sched: Track NUMA hinting faults on per-node basis

2013-06-28 Thread Peter Zijlstra
On Fri, Jun 28, 2013 at 11:38:29AM +0530, Srikar Dronamraju wrote: * Mel Gorman mgor...@suse.de [2013-06-26 15:38:01]: @@ -826,6 +833,9 @@ void task_numa_fault(int node, int pages, bool migrated) p-numa_scan_period + jiffies_to_msecs(10)); task_numa_placement(p);

Re: rtl8192cu: slow path warning

2013-06-28 Thread Richard GENOUD
On [jeu., 27.06.2013 13:20:52], Larry Finger wrote: On 06/27/2013 02:33 AM, Richard Genoud wrote: Yes, of course, you can add my Reported-by: Richard Genoud richard.gen...@gmail.com But the patch doesn't compile on my platform ( since I'm on ARM, I haven't got a PCI bus, so rtlwifi/pci.c is

Re: [PATCH 3/8] sched: Select a preferred node with the most numa hinting faults

2013-06-28 Thread Peter Zijlstra
On Fri, Jun 28, 2013 at 11:44:28AM +0530, Srikar Dronamraju wrote: * Mel Gorman mgor...@suse.de [2013-06-26 15:38:02]: This patch selects a preferred node for a task to run on based on the NUMA hinting faults. This information is later used to migrate tasks towards the node during

[Bug Report] use bonding lacp mode aggregation NIC has performance problems while intel_immu switch opening

2013-06-28 Thread wangyufen
Summary: use bonding lacp mode aggregation NIC has performance problems while intel_immu switch opening Product: Networking Version: Kernel Version: 3.10.0-rc5 Platform: X86 OS/Version: Linux Tree: Mainline Status:

Re: deadlock in scheduler enabling HRTICK feature

2013-06-28 Thread Ingo Molnar
* David Ahern dsah...@gmail.com wrote: On 6/27/13 4:43 AM, Peter Zijlstra wrote: On Wed, Jun 26, 2013 at 10:46:33AM -0600, David Ahern wrote: On 6/26/13 1:05 AM, Peter Zijlstra wrote: What is the expectation that the feature provides? not a whole lot of documentation on it. I walked down

Re: [PATCH 4/8] sched: Update NUMA hinting faults once per scan

2013-06-28 Thread Peter Zijlstra
On Fri, Jun 28, 2013 at 12:02:33PM +0530, Srikar Dronamraju wrote: * Mel Gorman mgor...@suse.de [2013-06-26 15:38:03]: @@ -831,9 +837,13 @@ void task_numa_fault(int node, int pages, bool migrated) if (unlikely(!p-numa_faults)) { int size = sizeof(*p-numa_faults) *

request for stable inclusion

2013-06-28 Thread Yijing Wang
Hi Greg, Jiri or Liang Li 384e301e3519599b000c1a2ecd938b533fc15d85 pch_uart: fix a deadlock when pch_uart as console This looks applicable to stable-3.4, and it was built successful for me. What do you think? Thanks! Yijing. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 5/8] sched: Favour moving tasks towards the preferred node

2013-06-28 Thread Peter Zijlstra
On Fri, Jun 28, 2013 at 01:41:20PM +0530, Srikar Dronamraju wrote: Please trim your replies. +/* Returns true if the destination node has incurred more faults */ +static bool migrate_improves_locality(struct task_struct *p, struct lb_env *env) +{ + int src_nid, dst_nid; + + if

Re: [PATCH v2] vmpressure: implement strict mode

2013-06-28 Thread Minchan Kim
On Thu, Jun 27, 2013 at 06:13:53PM -0700, Andrew Morton wrote: On Thu, 27 Jun 2013 17:58:53 -0700 Anton Vorontsov an...@enomsg.org wrote: On Thu, Jun 27, 2013 at 05:34:33PM -0700, Andrew Morton wrote: If so, userland daemon would receive lots of events which are no interest.

Re: [Workman-devel] cgroup: status-quo and userland efforts

2013-06-28 Thread Daniel P. Berrange
On Thu, Jun 27, 2013 at 08:22:06AM -0500, Serge Hallyn wrote: FWIW, the code is too embarassing yet to see daylight, but I'm playing with a very lowlevel cgroup manager which supports nesting itself. Access in this POC is low-level (set freezer.state to THAWED for cgroup /c1/c2, Create /c3),

Re: deadlock in scheduler enabling HRTICK feature

2013-06-28 Thread Peter Zijlstra
On Thu, Jun 27, 2013 at 04:28:57PM -0600, David Ahern wrote: On 6/27/13 4:43 AM, Peter Zijlstra wrote: On Wed, Jun 26, 2013 at 10:46:33AM -0600, David Ahern wrote: On 6/26/13 1:05 AM, Peter Zijlstra wrote: What is the expectation that the feature provides? not a whole lot of documentation on

Re: [GIT PULL] Another mce cleanup for the 3.11 queue

2013-06-28 Thread Ingo Molnar
* Luck, Tony tony.l...@intel.com wrote: The following changes since commit 9e895ace5d82df8929b16f58e9f515f6d54ab82d: Linux 3.10-rc7 (2013-06-22 09:47:31 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git tags/please-pull-mce

Re: deadlock in scheduler enabling HRTICK feature

2013-06-28 Thread Peter Zijlstra
On Fri, Jun 28, 2013 at 11:00:21AM +0200, Ingo Molnar wrote: I guess we could merge this fix? --- Subject: sched: Fix HRTICK David reported that the HRTICK sched feature was borken; which was enough motivation for me to finally fix it ;-) We should not allow hrtimer code to do softirq wakeups

Re: linux-next: Tree for Jun 28 [ call-trace: workqueue | drm releated? ]

2013-06-28 Thread Sedat Dilek
On Fri, Jun 28, 2013 at 10:31 AM, Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Jun 28, 2013 at 10:29 AM, Dave Airlie airl...@gmail.com wrote: [ CC wq and drm(-intel) folks ] Already know the commit which caused it, mentioned on dri-devel, waiting for danvet to wake up and look, before I

Re: Performance regression from switching lock to rw-sem for anon-vma tree

2013-06-28 Thread Ingo Molnar
* Tim Chen tim.c.c...@linux.intel.com wrote: Yet the 17.6% sleep percentage is still much higher than the 1% in the mutex case. Why doesn't spinning work - do we time out of spinning differently? I have some stats for the 18.6% cases (including 1% more than 1 sleep cases) that go to

Re: [PATCH v4] cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

2013-06-28 Thread Chanwoo Choi
On 06/28/2013 05:18 PM, Viresh Kumar wrote: On 28 June 2013 13:18, Chanwoo Choi cw00.c...@samsung.com wrote: Time(ms) Old Freq(Hz) New Freq(Hz) CPU0 CPU1 CPU2 CPU3 175320 140 140 41 470 79 We decided to left indent all entries here. I see only the first one

Re: [PATCH v4] cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

2013-06-28 Thread Chanwoo Choi
On 06/28/2013 05:27 PM, Viresh Kumar wrote: On 28 June 2013 13:18, Chanwoo Choi cw00.c...@samsung.com wrote: drivers/cpufreq/Kconfig| 6 + drivers/cpufreq/cpufreq.c | 4 + drivers/cpufreq/cpufreq_governor.c | 15 +++ drivers/cpufreq/cpufreq_stats.c| 241

[PATCH TRIVIAL] Spelling: relase - release

2013-06-28 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- Makefile |2 +- drivers/input/misc/da9055_onkey.c |2 +- drivers/media/dvb-frontends/stv0367.c |2 +- drivers/net/ethernet/intel/igb/e1000_phy.c |2 +-

Re: [WiP]: aio support for migrating pages (Re: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable())

2013-06-28 Thread Gu Zheng
On 06/11/2013 10:45 PM, Benjamin LaHaise wrote: Hi Tang, On Tue, Jun 11, 2013 at 05:42:31PM +0800, Tang Chen wrote: Hi Benjamin, Are you still working on this problem ? Thanks. :) Below is a copy of the most recent version of this patch I have worked on. This version works and

Charity Project

2013-06-28 Thread Gareth Catherine Bull
My wife and I won the Euro Millions Lottery of £41 Million British Pounds and we have decided to donate £1.5 million British Pounds to 10 individuals worldwide as our own charity project. To verify,please see our interview by visiting the web page below:

Re: [PATCH 4/6] PCI: acpiphp: check for new devices on enabled host

2013-06-28 Thread Kirill A. Shutemov
Yinghai Lu wrote: On Tue, Jun 25, 2013 at 9:22 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com Current acpiphp_check_bridge() implementation is pretty dumb: - it enables the slot if it's not enabled and the slot status

Re: linux-next: Tree for Jun 28 [ call-trace: workqueue | drm releated? ]

2013-06-28 Thread Sedat Dilek
On Fri, Jun 28, 2013 at 11:21 AM, Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Jun 28, 2013 at 10:31 AM, Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Jun 28, 2013 at 10:29 AM, Dave Airlie airl...@gmail.com wrote: [ CC wq and drm(-intel) folks ] Already know the commit which caused

[PATCH 1/4] rtc: omap: restore back (hard-code) wakeup support

2013-06-28 Thread Hebbar Gururaja
rtc-omap driver modules is used both by OMAP1/2, Davinci SoC platforms. However, rtc wake support on OMAP1 is broken. Hence the device_init_wakeup() was removed from rtc-omap driver and moved to platform board files that supported it (DA850/OMAP-L138). [1] However, recently [2] it was suggested

[PATCH 2/4] davinci: da8xx/omap-l1: Remove hard coding of rtc device wakeup

2013-06-28 Thread Hebbar Gururaja
Since now rtc-omap driver itself calls deice_init_wakeup(dev, true), duplicate call from the rtc device registration can be removed. This is basically a partial revert of the prev commit commit 75c99bb0006ee065b4e2995078d779418b0fab54 Author: Sekhar Nori nsek...@ti.com davinci:

[PATCH 4/4] ARM: dts: AM33XX: update rtc node compatibility

2013-06-28 Thread Hebbar Gururaja
Since AM33xx RTC IP has RTC_IRQWAKEEN to support Alarm Wake-up. Update the rtc compatible property to ti,am3352-rtc to enable handling of this feature inside rtc-omap driver. Signed-off-by: Hebbar Gururaja gururaja.heb...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Sekhar Nori nsek...@ti.com

  1   2   3   4   5   6   7   8   9   10   >