Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-10 Thread Peter Zijlstra
On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 7f0a5e6..9b3fe1c 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -5151,7 +5151,7 @@ static int should_we_balance(struct lb_env *env) > * First

[PATCH] drm/i915/sdvo: Fully translate sync flags in the dtd->mode conversion

2013-09-10 Thread Daniel Vetter
Instead of just a flag bit for each of the positive/negative sync modes drm actually uses a separate flag for each ... This upsets the modeset checker since the adjusted mode filled out at modeset time doesn't match the one reconstructed at check time (since the ->get_config callback already gets

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-09-10 Thread Jochen Striepe
Hello, On Mon, Sep 09, 2013 at 03:27:51PM -0700, Paul E. McKenney wrote: > On Mon, Sep 09, 2013 at 11:58:36PM +0200, Jochen Striepe wrote: > > I just got this on 3.10.11 on the same machine. Could that be > > related? > > Several people helped track down another source of spurious stall

Re: kernel deadlock

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 01:29:47PM -0700, John Stultz wrote: > Ingo: This makes me think we really should have some lockdep smarts > added to seqlock/seqcount structures. Is there something already > discovered thats preventing this, or has this just not yet been tried? The only reason this

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Gilad Ben-Yossef
On Tue, Sep 10, 2013 at 10:26 AM, Mike Galbraith wrote: > > Hammering on the wrong spot makes removing isolcpus take longer, and > adds up to more hammering in the long run, no? Hearing you mention > isolcpus, I just thought I should mention that it wants to go away, so > might not be the

[tip:x86/urgent] x86: Remove now-unused save_rest()

2013-09-10 Thread tip-bot for Borislav Petkov
Commit-ID: c0da0fa1d7ebe3c86747b10c92e0ac2be1524a8a Gitweb: http://git.kernel.org/tip/c0da0fa1d7ebe3c86747b10c92e0ac2be1524a8a Author: Borislav Petkov AuthorDate: Sat, 7 Sep 2013 11:39:10 +0200 Committer: Ingo Molnar CommitDate: Tue, 10 Sep 2013 09:31:55 +0200 x86: Remove now-unused

[PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread George Cherian
In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the same if we are already in USB-HOST. Signed-off-by: George Cherian --- drivers/extcon/extcon-palmas.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[benchmark] THP performance testcase

2013-09-10 Thread Ingo Molnar
( Changed the subject line to make it stand out better on lkml. Mail with link & results quoted below. ) * Alex Thorlton wrote: > [...] Here's a pointer to the test I wrote: > > ftp://shell.sgi.com/collect/appsx_test/pthread_test.tar.gz > > Everything to compile the test should be there

Re: [PATCH RESEND 1/2] i2c: prepare runtime PM support for I2C client devices

2013-09-10 Thread Mika Westerberg
On Mon, Sep 09, 2013 at 04:40:28PM +0100, Mark Brown wrote: > On Mon, Sep 09, 2013 at 04:34:38PM +0300, Mika Westerberg wrote: > > > + /* > > +* Enable runtime PM for the client device. If the client wants to > > +* participate on runtime PM it should call pm_runtime_put() in its > > +

Re: [PATCH 0/5] Enable PPS reporting for USB serial devices

2013-09-10 Thread Rodolfo Giometti
On Mon, Sep 09, 2013 at 06:01:15PM +0200, Paul Chavent wrote: > Hi. > > This series enable the PPS reporting for USB serial devices. I have nothing against with this solution but consider that reporting a PPS signal through USB bus may add unknown delays that may vanish clock stability... as far

Re: kernel deadlock

2013-09-10 Thread Ingo Molnar
* John Stultz wrote: > Now, I'm still in the dark as to why HRTICK exposes this, but seems like > the following patch should resolve the issue (and quiets the lockdep > warnings in my testing). Let me know how it works for you! > > Ingo: This makes me think we really should have some lockdep

Re: [PATCH 0/3] perf: parse the dwarf backtrace info from .debug_frame section

2013-09-10 Thread Jean Pihet
Hi! FYI a wiki page has been added for perf-libunwind, at https://wiki.linaro.org/LEG/Engineering/TOOLS/perf-libunwind Any feedback is welcome! Cheers, Jean On 9 September 2013 12:00, Jean Pihet wrote: > On ARM the debug info is not present in the .eh_frame sections but > in .debug_frame

Re: [PATCH v2] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-10 Thread Lee Jones
On Tue, 10 Sep 2013, wwang wrote: > 于 2013年09月09日 21:02, Lee Jones 写道: > >> #define PHY_FLD4 0x1E > >>>+#define FLDEN_SEL0x4000 > >>>+#define REQ_REF 0x2000 > >>>+#define RXAMP_OFF0x1000 > >>>+#define REQ_ADDA

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Mike Galbraith
On Tue, 2013-09-10 at 09:59 +0300, Gilad Ben-Yossef wrote: > Hi, > > > On Tue, Sep 10, 2013 at 9:47 AM, Mike Galbraith wrote: > > > > On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: > > > Hi, > > > > > > On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter wrote: > > > > I am not

[tip:sched/urgent] sched: Fix load balancing performance regression in should_we_balance()

2013-09-10 Thread tip-bot for Joonsoo Kim
Commit-ID: b0cff9d88ce2f3030f73138078c5b1019f17e1cc Gitweb: http://git.kernel.org/tip/b0cff9d88ce2f3030f73138078c5b1019f17e1cc Author: Joonsoo Kim AuthorDate: Tue, 10 Sep 2013 15:54:49 +0900 Committer: Ingo Molnar CommitDate: Tue, 10 Sep 2013 09:20:42 +0200 sched: Fix load balancing

Re: Subject: [PATCH] md: avoid deadlock when raid5 array has unack badblocks during md_stop_writes.

2013-09-10 Thread y b
I use linux-next 2013-9-6 vesion and I can reproduce it when raid5 array rescovering, so sync_blockdev may not work. Some disk-controller driver handle disk error in a slowerpath, may more than 5 seconds. if shutdown or set readonly array, we can met this situation. the detail message when I met

Re: [RFC PATCH 1/4] zbud: use page ref counter for zbud pages

2013-09-10 Thread Krzysztof Kozlowski
Hi, On pon, 2013-09-09 at 14:47 -0500, Seth Jennings wrote: > On Fri, Aug 30, 2013 at 10:42:53AM +0200, Krzysztof Kozlowski wrote: > > Use page reference counter for zbud pages. The ref counter replaces > > zbud_header.under_reclaim flag and ensures that zbud page won't be freed > > when

Re: [PATCH][RESEND] ARM: imx: remove IRQF_DISABLED

2013-09-10 Thread Shawn Guo
On Tue, Sep 10, 2013 at 08:58:38AM +0200, Sascha Hauer wrote: > On Wed, Sep 04, 2013 at 07:04:39AM +0200, Michael Opdenacker wrote: > > This flag is a NOOP since 2.6.35 and can be removed. > > > > This is an update for 3.11 of a patch already sent for 3.10 > > > > Signed-off-by: Michael

Re: [PATCH 4/5] cpufreq: Remove temporary fix for race between CPU hotplug and sysfs-writes

2013-09-10 Thread Viresh Kumar
On 7 September 2013 01:23, Srivatsa S. Bhat wrote: > Commit "cpufreq: serialize calls to __cpufreq_governor()" had been a temporary > and partial solution to the race condition between writing to a cpufreq sysfs > file and taking a CPU offline. Now that we have a proper and complete solution > to

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-10 Thread Joel Fernandes
On 07/31/2013 03:35 AM, Javier Martinez Canillas wrote: > On 07/31/2013 01:44 AM, Linus Walleij wrote: >> On Tue, Jul 30, 2013 at 6:30 AM, Grant Likely >> wrote: >>> On Mon, Jul 29, 2013 at 6:36 AM, Linus Walleij >>> wrote: To solve this dilemma, perform an interrupt consistency check

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Gilad Ben-Yossef
Hi, On Tue, Sep 10, 2013 at 9:47 AM, Mike Galbraith wrote: > > On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: > > Hi, > > > > On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter wrote: > > > I am not sure how to call this kernel option but we need something like > > > that. I see

Re: [PATCH][RESEND] ARM: imx: remove IRQF_DISABLED

2013-09-10 Thread Sascha Hauer
On Wed, Sep 04, 2013 at 07:04:39AM +0200, Michael Opdenacker wrote: > This flag is a NOOP since 2.6.35 and can be removed. > > This is an update for 3.11 of a patch already sent for 3.10 > > Signed-off-by: Michael Opdenacker (added shawn to Cc) Acked-by: Sascha Hauer Sascha > --- >

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-10 Thread Joonsoo Kim
On Tue, Sep 10, 2013 at 04:15:20PM +1000, Dave Chinner wrote: > On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: > > On Tue, Sep 10, 2013 at 02:02:54PM +1000, Dave Chinner wrote: > > > Hi folks, > > > > > > I just updated my performance test VM to the current 3.12-git > > > tree after

Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()

2013-09-10 Thread Viresh Kumar
Back finally and I see lots of mails over cpufreq stuff.. :) On 3 September 2013 18:50, Srivatsa S. Bhat wrote: > This doesn't solve the problem completely: it prevents the store_*() task > from continuing *only* when it concurrently executes the __cpufreq_governor() > function along with the

Re: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-10 Thread Sascha Hauer
On Fri, Sep 06, 2013 at 04:08:24PM +0800, Xiubo Li wrote: > The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 > SoCs. > > + > +static int fsl_pwm_probe(struct platform_device *pdev) > +{ > + int ret = 0; > + struct fsl_pwm_chip *fpc; > + struct resource *res;

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Mike Galbraith
On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: > Hi, > > On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter wrote: > > I am not sure how to call this kernel option but we need something like > > that. I see drivers and the kernel spawning processes on the nohz cores. > > The name

Re: [PATCHv2 00/25] perf tool: Add support for multiple data file storage

2013-09-10 Thread Adrian Hunter
On 09/09/13 14:17, Peter Zijlstra wrote: > On Sun, Sep 01, 2013 at 12:36:11PM +0200, Jiri Olsa wrote: >> hi, >> sending the support for multiple file storage. Initial >> RFC is here: >> http://marc.info/?l=linux-kernel=137408381902423=2 >> >> v2 changes: >> - reworked perf mmap size setup to be

Re: [PATCHv3 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-09-10 Thread Sascha Hauer
On Fri, Sep 06, 2013 at 04:08:25PM +0800, Xiubo Li wrote: > This adds devicetree node for VF610, and there are 8 channels supported > by default. > > Signed-off-by: Xiubo Li > --- > arch/arm/boot/dts/vf610.dtsi | 103 > ++- > 1 file changed, 102

[PATCH] workqueue: remove redundant timer_stats_timer_set_start_info() call

2013-09-10 Thread Libin
From: Li Bin There is a redundant call for timer_stats_timer_set_start_info(), because it is the responsibility of the 'timer add' function: add_timer_on() |- timer_stats_timer_set_start_info() add_timer() |- mod_timer() |- __mod_timer() |-

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-10 Thread Aaron Lu
On Mon, Sep 09, 2013 at 11:32:10AM +0200, Daniel Vetter wrote: > Hi Aaaron, > > Have we grown any clue meanwhile about which Intel boxes need this and for > which we still need to keep the acpi backlight around? I've grown _very_ Sorry, no general rule has been found. As Rafael has said, it

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-10 Thread Wei Ni
On 09/10/2013 01:54 PM, Guenter Roeck wrote: > On 09/09/2013 10:39 PM, Wei Ni wrote: >> On 09/10/2013 12:50 PM, Guenter Roeck wrote: >>> On 09/09/2013 09:05 PM, Wei Ni wrote: On 09/10/2013 04:39 AM, Mark Brown wrote: > * PGP Signed by an unknown key > > On Mon, Sep 09, 2013 at

Re: [PATCH] ethernet/arc/arc_emac: Fix huge delays in large file copies

2013-09-10 Thread Vineet Gupta
On 09/05/2013 11:55 PM, David Miller wrote: > From: Vineet Gupta > Date: Wed, 4 Sep 2013 17:17:15 +0530 > >> copying large files to a NFS mounted host was taking absurdly large >> time. >> >> Turns out that TX BD reclaim had a sublte bug. >> >> Loop starts off from @txbd_dirty cursor and stops

Re: [git pull] drm tree for 3.12-rc1

2013-09-10 Thread Sean V Kelley
On Thu, Sep 5, 2013 at 12:18 PM, Linus Torvalds wrote: > On Thu, Sep 5, 2013 at 3:41 AM, Dave Airlie wrote: >> >> i915: Haswell PC8+ support and eLLC support, HDMI 4K support, initial >> per-process VMA pieces, >> watermark reworks, convert to generic hdmi infoframes, encoder >>

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-10 Thread Dave Chinner
On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: > On Tue, Sep 10, 2013 at 02:02:54PM +1000, Dave Chinner wrote: > > Hi folks, > > > > I just updated my performance test VM to the current 3.12-git > > tree after the XFS dev branch was merged. The first test I ran > > which was a

Re: RFC vmstat: On demand vmstat threads

2013-09-10 Thread Gilad Ben-Yossef
On Wed, Sep 4, 2013 at 7:48 PM, Christoph Lameter wrote: > > vmstat threads are used for folding counter differentials into the > zone, per node and global counters at certain time intervals. > > They currently run at defined intervals on all processors which will > cause some holdoff for

[git pull] drm intel fixes and one nouveau regression

2013-09-10 Thread Dave Airlie
Hi Linus, Daniel had some fixes queued up, that were delayed, the stolen memory ones and vga arbiter ones are quite useful, along with his usual bunch of stuff, nothing for HSW outputs yet, the one nouveau fix is for a regression I caused with the poweroff stuff. Dave. The following changes

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Gilad Ben-Yossef
Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter wrote: > I am not sure how to call this kernel option but we need something like > that. I see drivers and the kernel spawning processes on the nohz cores. > The name kthread is not really catching the purpose. > > os_cpus=?

[BusLogic] DMA-API: device driver failed to check map error

2013-09-10 Thread Tetsuo Handa
Hello. I got below warning on current linux.git . -- [2.612237] scsi: * BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 * [2.613067] scsi: Copyright 1995-1998 by Leonard N. Zubkoff [2.630942] scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host

Re: [PATCH v9 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-10 Thread Hongbo Zhang
Mark? ping. On 09/03/2013 05:01 PM, Hongbo Zhang wrote: On 09/02/2013 11:58 PM, Mark Rutland wrote: Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the

Re: [PATCH v9 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-10 Thread Hongbo Zhang
Mark? ping. On 09/03/2013 05:01 PM, Hongbo Zhang wrote: On 09/02/2013 11:58 PM, Mark Rutland wrote: Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines,

[BusLogic] DMA-API: device driver failed to check map error

2013-09-10 Thread Tetsuo Handa
Hello. I got below warning on current linux.git . -- [2.612237] scsi: * BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 * [2.613067] scsi: Copyright 1995-1998 by Leonard N. Zubkoff l...@dandelion.com [2.630942] scsi0: Configuring BusLogic Model BT-958 PCI Wide

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Gilad Ben-Yossef
Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter c...@linux.com wrote: I am not sure how to call this kernel option but we need something like that. I see drivers and the kernel spawning processes on the nohz cores. The name kthread is not really catching the purpose. os_cpus=?

[git pull] drm intel fixes and one nouveau regression

2013-09-10 Thread Dave Airlie
Hi Linus, Daniel had some fixes queued up, that were delayed, the stolen memory ones and vga arbiter ones are quite useful, along with his usual bunch of stuff, nothing for HSW outputs yet, the one nouveau fix is for a regression I caused with the poweroff stuff. Dave. The following changes

Re: RFC vmstat: On demand vmstat threads

2013-09-10 Thread Gilad Ben-Yossef
On Wed, Sep 4, 2013 at 7:48 PM, Christoph Lameter c...@linux.com wrote: vmstat threads are used for folding counter differentials into the zone, per node and global counters at certain time intervals. They currently run at defined intervals on all processors which will cause some holdoff for

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-10 Thread Dave Chinner
On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: On Tue, Sep 10, 2013 at 02:02:54PM +1000, Dave Chinner wrote: Hi folks, I just updated my performance test VM to the current 3.12-git tree after the XFS dev branch was merged. The first test I ran which was a 16-way

Re: [git pull] drm tree for 3.12-rc1

2013-09-10 Thread Sean V Kelley
On Thu, Sep 5, 2013 at 12:18 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Sep 5, 2013 at 3:41 AM, Dave Airlie airl...@linux.ie wrote: i915: Haswell PC8+ support and eLLC support, HDMI 4K support, initial per-process VMA pieces, watermark reworks, convert to generic

Re: [PATCH] ethernet/arc/arc_emac: Fix huge delays in large file copies

2013-09-10 Thread Vineet Gupta
On 09/05/2013 11:55 PM, David Miller wrote: From: Vineet Gupta vineet.gup...@synopsys.com Date: Wed, 4 Sep 2013 17:17:15 +0530 copying large files to a NFS mounted host was taking absurdly large time. Turns out that TX BD reclaim had a sublte bug. Loop starts off from @txbd_dirty cursor

Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

2013-09-10 Thread Wei Ni
On 09/10/2013 01:54 PM, Guenter Roeck wrote: On 09/09/2013 10:39 PM, Wei Ni wrote: On 09/10/2013 12:50 PM, Guenter Roeck wrote: On 09/09/2013 09:05 PM, Wei Ni wrote: On 09/10/2013 04:39 AM, Mark Brown wrote: * PGP Signed by an unknown key On Mon, Sep 09, 2013 at 09:17:35AM -0700, Guenter

Re: [PATCH 2/2] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-09-10 Thread Aaron Lu
On Mon, Sep 09, 2013 at 11:32:10AM +0200, Daniel Vetter wrote: Hi Aaaron, Have we grown any clue meanwhile about which Intel boxes need this and for which we still need to keep the acpi backlight around? I've grown _very_ Sorry, no general rule has been found. As Rafael has said, it appears

[PATCH] workqueue: remove redundant timer_stats_timer_set_start_info() call

2013-09-10 Thread Libin
From: Li Bin huawei.li...@huawei.com There is a redundant call for timer_stats_timer_set_start_info(), because it is the responsibility of the 'timer add' function: add_timer_on() |- timer_stats_timer_set_start_info() add_timer() |- mod_timer() |- __mod_timer() |-

Re: [PATCHv3 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-09-10 Thread Sascha Hauer
On Fri, Sep 06, 2013 at 04:08:25PM +0800, Xiubo Li wrote: This adds devicetree node for VF610, and there are 8 channels supported by default. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/boot/dts/vf610.dtsi | 103 ++- 1 file

Re: [PATCHv2 00/25] perf tool: Add support for multiple data file storage

2013-09-10 Thread Adrian Hunter
On 09/09/13 14:17, Peter Zijlstra wrote: On Sun, Sep 01, 2013 at 12:36:11PM +0200, Jiri Olsa wrote: hi, sending the support for multiple file storage. Initial RFC is here: http://marc.info/?l=linux-kernelm=137408381902423w=2 v2 changes: - reworked perf mmap size setup to be able to get

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Mike Galbraith
On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter c...@linux.com wrote: I am not sure how to call this kernel option but we need something like that. I see drivers and the kernel spawning processes on the nohz cores. The

Re: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-10 Thread Sascha Hauer
On Fri, Sep 06, 2013 at 04:08:24PM +0800, Xiubo Li wrote: The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. + +static int fsl_pwm_probe(struct platform_device *pdev) +{ + int ret = 0; + struct fsl_pwm_chip *fpc; + struct resource *res; + +

Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()

2013-09-10 Thread Viresh Kumar
Back finally and I see lots of mails over cpufreq stuff.. :) On 3 September 2013 18:50, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: This doesn't solve the problem completely: it prevents the store_*() task from continuing *only* when it concurrently executes the

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-10 Thread Joonsoo Kim
On Tue, Sep 10, 2013 at 04:15:20PM +1000, Dave Chinner wrote: On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: On Tue, Sep 10, 2013 at 02:02:54PM +1000, Dave Chinner wrote: Hi folks, I just updated my performance test VM to the current 3.12-git tree after the XFS dev

Re: [PATCH][RESEND] ARM: imx: remove IRQF_DISABLED

2013-09-10 Thread Sascha Hauer
On Wed, Sep 04, 2013 at 07:04:39AM +0200, Michael Opdenacker wrote: This flag is a NOOP since 2.6.35 and can be removed. This is an update for 3.11 of a patch already sent for 3.10 Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com (added shawn to Cc) Acked-by: Sascha

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Gilad Ben-Yossef
Hi, On Tue, Sep 10, 2013 at 9:47 AM, Mike Galbraith bitbuc...@online.de wrote: On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter c...@linux.com wrote: I am not sure how to call this kernel option but we need something

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-10 Thread Joel Fernandes
On 07/31/2013 03:35 AM, Javier Martinez Canillas wrote: On 07/31/2013 01:44 AM, Linus Walleij wrote: On Tue, Jul 30, 2013 at 6:30 AM, Grant Likely grant.lik...@linaro.org wrote: On Mon, Jul 29, 2013 at 6:36 AM, Linus Walleij linus.wall...@linaro.org wrote: To solve this dilemma, perform an

Re: [PATCH 4/5] cpufreq: Remove temporary fix for race between CPU hotplug and sysfs-writes

2013-09-10 Thread Viresh Kumar
On 7 September 2013 01:23, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Commit cpufreq: serialize calls to __cpufreq_governor() had been a temporary and partial solution to the race condition between writing to a cpufreq sysfs file and taking a CPU offline. Now that we have a proper

Re: [PATCH][RESEND] ARM: imx: remove IRQF_DISABLED

2013-09-10 Thread Shawn Guo
On Tue, Sep 10, 2013 at 08:58:38AM +0200, Sascha Hauer wrote: On Wed, Sep 04, 2013 at 07:04:39AM +0200, Michael Opdenacker wrote: This flag is a NOOP since 2.6.35 and can be removed. This is an update for 3.11 of a patch already sent for 3.10 Signed-off-by: Michael Opdenacker

Re: [RFC PATCH 1/4] zbud: use page ref counter for zbud pages

2013-09-10 Thread Krzysztof Kozlowski
Hi, On pon, 2013-09-09 at 14:47 -0500, Seth Jennings wrote: On Fri, Aug 30, 2013 at 10:42:53AM +0200, Krzysztof Kozlowski wrote: Use page reference counter for zbud pages. The ref counter replaces zbud_header.under_reclaim flag and ensures that zbud page won't be freed when zbud_free() is

Re: Subject: [PATCH] md: avoid deadlock when raid5 array has unack badblocks during md_stop_writes.

2013-09-10 Thread y b
I use linux-next 2013-9-6 vesion and I can reproduce it when raid5 array rescovering, so sync_blockdev may not work. Some disk-controller driver handle disk error in a slowerpath, may more than 5 seconds. if shutdown or set readonly array, we can met this situation. the detail message when I met

[tip:sched/urgent] sched: Fix load balancing performance regression in should_we_balance()

2013-09-10 Thread tip-bot for Joonsoo Kim
Commit-ID: b0cff9d88ce2f3030f73138078c5b1019f17e1cc Gitweb: http://git.kernel.org/tip/b0cff9d88ce2f3030f73138078c5b1019f17e1cc Author: Joonsoo Kim iamjoonsoo@lge.com AuthorDate: Tue, 10 Sep 2013 15:54:49 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 10 Sep 2013

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Mike Galbraith
On Tue, 2013-09-10 at 09:59 +0300, Gilad Ben-Yossef wrote: Hi, On Tue, Sep 10, 2013 at 9:47 AM, Mike Galbraith bitbuc...@online.de wrote: On Tue, 2013-09-10 at 09:05 +0300, Gilad Ben-Yossef wrote: Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter c...@linux.com wrote:

Re: [PATCH v2] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-10 Thread Lee Jones
On Tue, 10 Sep 2013, wwang wrote: 于 2013年09月09日 21:02, Lee Jones 写道: #define PHY_FLD4 0x1E +#define FLDEN_SEL0x4000 +#define REQ_REF 0x2000 +#define RXAMP_OFF0x1000 +#define REQ_ADDA

Re: kernel deadlock

2013-09-10 Thread Ingo Molnar
* John Stultz john.stu...@linaro.org wrote: Now, I'm still in the dark as to why HRTICK exposes this, but seems like the following patch should resolve the issue (and quiets the lockdep warnings in my testing). Let me know how it works for you! Ingo: This makes me think we really should

Re: [PATCH 0/3] perf: parse the dwarf backtrace info from .debug_frame section

2013-09-10 Thread Jean Pihet
Hi! FYI a wiki page has been added for perf-libunwind, at https://wiki.linaro.org/LEG/Engineering/TOOLS/perf-libunwind Any feedback is welcome! Cheers, Jean On 9 September 2013 12:00, Jean Pihet jean.pi...@linaro.org wrote: On ARM the debug info is not present in the .eh_frame sections but

Re: [PATCH 0/5] Enable PPS reporting for USB serial devices

2013-09-10 Thread Rodolfo Giometti
On Mon, Sep 09, 2013 at 06:01:15PM +0200, Paul Chavent wrote: Hi. This series enable the PPS reporting for USB serial devices. I have nothing against with this solution but consider that reporting a PPS signal through USB bus may add unknown delays that may vanish clock stability... as far as

Re: [PATCH RESEND 1/2] i2c: prepare runtime PM support for I2C client devices

2013-09-10 Thread Mika Westerberg
On Mon, Sep 09, 2013 at 04:40:28PM +0100, Mark Brown wrote: On Mon, Sep 09, 2013 at 04:34:38PM +0300, Mika Westerberg wrote: + /* +* Enable runtime PM for the client device. If the client wants to +* participate on runtime PM it should call pm_runtime_put() in its +*

[benchmark] THP performance testcase

2013-09-10 Thread Ingo Molnar
( Changed the subject line to make it stand out better on lkml. Mail with link results quoted below. ) * Alex Thorlton athorl...@sgi.com wrote: [...] Here's a pointer to the test I wrote: ftp://shell.sgi.com/collect/appsx_test/pthread_test.tar.gz Everything to compile the test should

[PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread George Cherian
In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the same if we are already in USB-HOST. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/extcon/extcon-palmas.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[tip:x86/urgent] x86: Remove now-unused save_rest()

2013-09-10 Thread tip-bot for Borislav Petkov
Commit-ID: c0da0fa1d7ebe3c86747b10c92e0ac2be1524a8a Gitweb: http://git.kernel.org/tip/c0da0fa1d7ebe3c86747b10c92e0ac2be1524a8a Author: Borislav Petkov b...@suse.de AuthorDate: Sat, 7 Sep 2013 11:39:10 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 10 Sep 2013 09:31:55

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-10 Thread Gilad Ben-Yossef
On Tue, Sep 10, 2013 at 10:26 AM, Mike Galbraith bitbuc...@online.de wrote: Hammering on the wrong spot makes removing isolcpus take longer, and adds up to more hammering in the long run, no? Hearing you mention isolcpus, I just thought I should mention that it wants to go away, so might

Re: kernel deadlock

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 01:29:47PM -0700, John Stultz wrote: Ingo: This makes me think we really should have some lockdep smarts added to seqlock/seqcount structures. Is there something already discovered thats preventing this, or has this just not yet been tried? The only reason this hasn't

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-09-10 Thread Jochen Striepe
Hello, On Mon, Sep 09, 2013 at 03:27:51PM -0700, Paul E. McKenney wrote: On Mon, Sep 09, 2013 at 11:58:36PM +0200, Jochen Striepe wrote: I just got this on 3.10.11 on the same machine. Could that be related? Several people helped track down another source of spurious stall

[PATCH] drm/i915/sdvo: Fully translate sync flags in the dtd-mode conversion

2013-09-10 Thread Daniel Vetter
Instead of just a flag bit for each of the positive/negative sync modes drm actually uses a separate flag for each ... This upsets the modeset checker since the adjusted mode filled out at modeset time doesn't match the one reconstructed at check time (since the -get_config callback already gets

Re: [GIT PULL] perf changes for v3.12

2013-09-10 Thread Namhyung Kim
Hi, On Thu, 5 Sep 2013 14:42:44 +0200, Frederic Weisbecker wrote: On Thu, Sep 05, 2013 at 12:56:39PM +0200, Ingo Molnar wrote: (Cc:-ed Frederic and Namhyung as well, it's about bad overhead in tools/perf/util/hist.c.) * Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Sep

Re: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance

2013-09-10 Thread Peter Zijlstra
On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 7f0a5e6..9b3fe1c 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5151,7 +5151,7 @@ static int should_we_balance(struct lb_env *env) * First idle

Re: [PATCH 0/5] Enable PPS reporting for USB serial devices

2013-09-10 Thread Paul Chavent
Hi. At the bottom of the description of the patch set, i warn about the latencies and jitter. I did real test with a pps generated by a workstation (i haven't tested with a precise pps yet), so the the jitter don't mean anything. But the magnitude of difference between uart and usb pps

RE: [PATCHv3 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-09-10 Thread Xiubo Li-B47053
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 67d929c..44787b5 100644 --- a/arch/arm/boot/dts/vf610.dtsi +++ b/arch/arm/boot/dts/vf610.dtsi @@ -140,6 +140,37 @@ clock-names = pit; }; +

Re: [PATCH] [RFC] seqcount: Add lockdep functionality to seqcount/seqlock structures

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 09:42:46PM -0700, John Stultz wrote: +++ b/include/linux/lockdep.h @@ -510,6 +510,21 @@ static inline void print_irqtrace_events(struct task_struct *curr) #ifdef CONFIG_DEBUG_LOCK_ALLOC # ifdef CONFIG_PROVE_LOCKING +# define seqcount_acquire(l, s, t, i)

RE: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-10 Thread Xiubo Li-B47053
Subject: Re: [PATCHv3 1/4] pwm: Add Freescale FTM PWM driver support On Fri, Sep 06, 2013 at 04:08:24PM +0800, Xiubo Li wrote: The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. + +static int fsl_pwm_probe(struct platform_device *pdev) { + int ret = 0;

Re: [PATCH 1/5] USB : serial : remove tty arg of handle_dcd_change.

2013-09-10 Thread Paul Chavent
On 09/09/2013 07:45 PM, Johan Hovold wrote: On Mon, Sep 09, 2013 at 06:01:16PM +0200, Paul Chavent wrote: Do the same way as in serialcore.c for uart_handle_dcd_change. It removes duplicated code around the usb_serial_handle_dcd_change calls. Signed-off-by: Paul Chavent

Re: [git pull] drm tree for 3.12-rc1

2013-09-10 Thread Benjamin Tissoires
On Fri, Sep 6, 2013 at 2:56 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Sep 5, 2013 at 4:19 PM, Linus Torvalds torva...@linux-foundation.org wrote: So I've decided I'm going to try to bisect this after all. I've done enough pulls for today anyway, I guess. Let's see if I

[PATCH 0/3] perf tools: Fix scalability problem on callchain merging

2013-09-10 Thread Namhyung Kim
Hello, Linus reported that perf report was stuck in after processing time ordered events. It turned out that merging/collapsing the callchain takes most of time to look up a matching callchain. Since it did a linear search for the lookup, it took more than 95% of time during the processing huge

Re: [PATCH v4 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-10 Thread George Spelvin
_What_ pathname translations? Pathname resolution doesn't fall back to seq_writelock() at all. I meant the translation of dentry to pathname that this thread is about. Apologies for my confusing abbreviation. Since the reverse translation (pathname to dentry) is done a level at a time and

[PATCH 2/3] perf ui/progress: Add new helper functions for progress bar

2013-09-10 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Introduce ui_progress_setup() and ui_progress__advance() to separate out from the session logic. It'll be used by other places in the upcoming patch. Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

Re: [PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread Kishon Vijay Abraham I
Hi, On Tuesday 10 September 2013 01:19 PM, George Cherian wrote: In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the same if we are already in USB-HOST. You'll get VBUS interrupt when detaching USB-HOST cable also no? (because you do

Re: [Intel-gfx] [PATCH] drm/i915/sdvo: Fully translate sync flags in the dtd-mode conversion

2013-09-10 Thread Ville Syrjälä
On Tue, Sep 10, 2013 at 10:02:48AM +0200, Daniel Vetter wrote: Instead of just a flag bit for each of the positive/negative sync modes drm actually uses a separate flag for each ... This upsets the modeset checker since the adjusted mode filled out at modeset time doesn't match the one

[ANNOUNCE] BFS CPU scheduler v0.442 for linux-3.11

2013-09-10 Thread Con Kolivas
This is to announce a resync and minor update of the Brain Fuck Scheduler, version 0.442 for the latest stable linux kernel. The patch against linux-3.11 is available here: http://ck.kolivas.org/patches/bfs/3.0/3.11/3.11-sched-bfs-442.patch All patches available here:

[PATCH 1/3] perf callchain: Convert children list to rbtree

2013-09-10 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Current collapse stage has a scalability problem which can be reproduced easily with parallel kernel build. This is because it needs to traverse every children of callchain linearly during the collapse/merge stage. Convert it to rbtree reduced the

[PATCH 3/3] perf tools: Show progress on histogram collapsing

2013-09-10 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com It can take quite amount of time so add progress bar UI to inform user. Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +-

Re: proc hidepid=2 and SGID programs

2013-09-10 Thread Christian Kujau
On Sun, 8 Sep 2013 at 23:42, Eric W. Biederman wrote: I don't have a clue why anyone would want to hide processes, and make their own lives more difficult. Oh, there are plenty of usescases, I'm sure. And I for one am thankful that this process hiding option made it into the kernel. Or, to

Re: [PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread George Cherian
On 9/10/2013 1:54 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 10 September 2013 01:19 PM, George Cherian wrote: In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the same if we are already in USB-HOST. You'll get VBUS interrupt

Re: [PATCH] extcon: palmas: Dont set USB state if ID pin is grounded

2013-09-10 Thread Kishon Vijay Abraham I
On Tuesday 10 September 2013 02:01 PM, George Cherian wrote: On 9/10/2013 1:54 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 10 September 2013 01:19 PM, George Cherian wrote: In OMAP5 when USB-HOST is set true, the VBUS regulator is turned ON. This causes a VBUS interrupt, ignore the

[PATCH] Staging: rtl8188eu: rtw_wlan_util.c: Fixed checkpatch.pl warnings.

2013-09-10 Thread farisdehaan
From: Faris de Haan farisdeh...@gmail.com Fixed a few of the coding style issues reported by checkpatch.pl Signed-off-by: Faris de Haan farisdeh...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff

Re: [PATCH] [RFC] seqcount: Add lockdep functionality to seqcount/seqlock structures

2013-09-10 Thread Peter Zijlstra
On Mon, Sep 09, 2013 at 09:42:46PM -0700, John Stultz wrote: Currently seqlocks and seqcounts don't support lockdep. After running across a seqcount related deadlock in the timekeeping code, I used a less-refined and more focused varient of this patch to narrow down the cause of the issue.

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-10 Thread Lars Poeschel
On Tuesday 10 September 2013 17:19:24, Mark Brown wrote: On Wed, Sep 04, 2013 at 02:16:36PM -0600, Stephen Warren wrote: On 09/04/2013 03:05 AM, Lars Poeschel wrote: The driver that tries to use the GPIO requested by this patch before HAS to fail. This is exactly the intention of this

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-10 Thread Geert Uytterhoeven
On Mon, Sep 9, 2013 at 10:06 PM, Guenter Roeck li...@roeck-us.net wrote: [*] Why does m68k allmodconfig still succeed on kissb??? It does fail for me, as m68k's copy_from_user_page() calls flush_icache_user_range(), which is not exported. I don't see a build failure in

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