Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Ed Cashin
On Aug 7, 2013, at 7:41 PM, Ed Cashin wrote: > It sounds like it's wrong to give block pages with a zero count, so why not > just have aoe BUG_ON(compound_trans_head(bv->page->_count) == 0) until we're > sure nobody does that anymore? Ugh. I goofed the parens and such. I meant, BUG_ON(com

Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Andrew Morton
On Wed, 7 Aug 2013 19:41:48 -0400 Ed Cashin wrote: > On Aug 7, 2013, at 5:27 PM, Andrew Morton wrote: > > >> elevated refcount, full stop. > >> > > > > err, no. slab.c uses alloc_pages(), so the underlying page indeed has > > a proper refcount. I'm still not understanding how this situation

Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Ed Cashin
On Aug 7, 2013, at 7:35 PM, Andrew Morton wrote: > On Wed, 7 Aug 2013 19:27:40 -0400 Ed Cashin wrote: > >> On Aug 7, 2013, at 5:26 PM, Andrew Morton wrote: >> >>> On Wed, 7 Aug 2013 17:21:32 -0400 Ed Cashin wrote: >> ... Sorry. I tried to cover that but maybe should have separated it mor

Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-07 Thread Andrew Morton
On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen wrote: > From: Andi Kleen > > Use standard gcc __attribute__((alias(foo))) to define > the syscall aliases instead of custom assembler macros. > > This is far cleaner, and also fixes my LTO kernel build. > This makes my x86_64 allmodconfig build

Re: linux-next: Tree for Aug 7

2013-08-07 Thread Sedat Dilek
On Thu, Aug 8, 2013 at 1:36 AM, David Miller wrote: > From: David Miller > Date: Wed, 07 Aug 2013 16:27:48 -0700 (PDT) > >> Look, I'm going to fix this myself, because I'm pretty tired of >> waiting for the obvious fix. > > Someone please test this: > You

Re: linux-next: Tree for Aug 7

2013-08-07 Thread David Miller
tired of >>> waiting for the obvious fix. >> >> Someone please test this: > > Your patch on top of next-20130807 does not fix the issue in my wifi/network. > No working Internet connection (ping etc.). Ok, I'm going to simply revert all of these changes, thanks for testing. --

mmotm 2013-08-07-16-55 uploaded

2013-08-07 Thread akpm
The mm-of-the-moment snapshot 2013-08-07-16-55 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Andrew Morton
On Wed, 7 Aug 2013 19:54:45 -0400 Ed Cashin wrote: > > +bio_pageinc(struct bio *bio) > > +{ > > + struct bio_vec *bv; > > + struct page *page; > > + int i; > > + > > + bio_for_each_segment(bv, bio, i) { > > + page = bv->bv_page; > > + /* Non-zer

Re: linux-next: Tree for Aug 7

2013-08-07 Thread Eric Dumazet
On Wed, 2013-08-07 at 16:36 -0700, David Miller wrote: > From: David Miller > Date: Wed, 07 Aug 2013 16:27:48 -0700 (PDT) > > > Look, I'm going to fix this myself, because I'm pretty tired of > > waiting for the obvious fix. > > Someone please test this: > > diff --git a/include/linux/etherdevi

Re: linux-next: Tree for Aug 7

2013-08-07 Thread David Miller
From: David Miller Date: Wed, 07 Aug 2013 17:09:26 -0700 (PDT) > Ok, I'm going to simply revert all of these changes, thanks for testing. Here is what I just pushed to net-next: >From 09effa67a18d893fc4e6f81a3659fc9efef1445e Mon Sep 17 00:00:00 2001 From: "David S. Miller"

Re: linux-next: build failure after merge of the ext4 tree

2013-08-07 Thread Stephen Rothwell
Hi Kevin, On Wed, 07 Aug 2013 08:28:35 -0700 Kevin Hilman wrote: > > However, this same commit does introduce a new build failure (not > present in next-20130806) when ext4 is built as a module: > > ERROR: "dirty_expire_interval" [fs/ext4/ext4.ko] undefined! > make[3]: *** [__modpost] Error 1 >

Re: linux-next: build failure after merge of the ext4 tree

2013-08-07 Thread Stephen Rothwell
On Thu, 8 Aug 2013 10:22:28 +1000 Stephen Rothwell wrote: > > More quick testing with an empty file: v3.9 is OK, v3.10 gives > CONFIG_MODULES unset. Bisecting gives: cfa98f2e0ae956feca935573e977d7661a9561b9 is the first bad commit commit cfa98f2e0ae956feca935573e977d7661a9561b9 Author: Yann E. M

Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Ed Cashin
On Aug 7, 2013, at 8:05 PM, Andrew Morton wrote: > On Wed, 7 Aug 2013 19:54:45 -0400 Ed Cashin wrote: > >>> +bio_pageinc(struct bio *bio) >>> +{ >>> + struct bio_vec *bv; >>> + struct page *page; >>> + int i; >>> + >>> + bio_for_each_segment(bv, bio, i) { >>> +

Re: [PATCH V12 0/14] Paravirtualized ticket spinlocks

2013-08-07 Thread Konrad Rzeszutek Wilk
On Wed, Aug 07, 2013 at 12:15:21PM +0530, Raghavendra K T wrote: > On 08/07/2013 10:18 AM, H. Peter Anvin wrote: > >>Please let me know, if I should rebase again. > >> > > > >tip:master is not a stable branch; it is more like linux-next. We need > >to figure out which topic branches are dependenci

Re: + mm-vmalloc-remove-useless-variable-in-vmap_block.patch added to -mm tree

2013-08-07 Thread Zhang Yanfei
Hi Andrew, 于 2013/8/8 5:05, a...@linux-foundation.org 写道: > Subject: + mm-vmalloc-remove-useless-variable-in-vmap_block.patch added to > -mm tree > To: > iamjoonsoo@lge.com,han...@cmpxchg.org,liw...@linux.vnet.ibm.com,zhangyan...@cn.fujitsu.con > From: a...@linux-foundation.org > Date: Wed,

Re: + mm-vmalloc-use-well-defined-find_last_bit-func.patch added to -mm tree

2013-08-07 Thread Zhang Yanfei
Hi Andrew, 于 2013/8/8 5:05, a...@linux-foundation.org 写道: > Subject: + mm-vmalloc-use-well-defined-find_last_bit-func.patch added to -mm > tree > To: > iamjoonsoo@lge.com,han...@cmpxchg.org,liw...@linux.vnet.ibm.com,zhangyan...@cn.fujitsu.con > From: a...@linux-foundation.org > Date: Wed, 07

Re: [PATCH V12 0/14] Paravirtualized ticket spinlocks

2013-08-07 Thread Gleb Natapov
On Wed, Aug 07, 2013 at 08:50:12PM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Aug 07, 2013 at 12:15:21PM +0530, Raghavendra K T wrote: > > On 08/07/2013 10:18 AM, H. Peter Anvin wrote: > > >>Please let me know, if I should rebase again. > > >> > > > > > >tip:master is not a stable branch; it is

Re: linux-next: Tree for Aug 7 [ call-trace on suspend: ext4 | pm related ? ]

2013-08-07 Thread Colin Cross
On Wed, Aug 7, 2013 at 6:01 PM, Sedat Dilek wrote: > On Thu, Aug 8, 2013 at 1:34 AM, Colin Cross wrote: >> On Wed, Aug 7, 2013 at 4:15 PM, Sedat Dilek wrote: >>> On Thu, Aug 8, 2013 at 12:58 AM, Colin Cross wrote: Can you try add a call to show_state_filter(TASK_UNINTERRUPTIBLE) in th

Re: [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-07 Thread Lai Jiangshan
On 08/08/2013 03:29 AM, Carsten Emde wrote: > Hi Paul, > >>> Although all articles declare that rcu read site is deadlock-immunity. >>> It is not true for rcu-preempt, it will be deadlock if rcu read site >>> overlaps with scheduler lock. >> >> The real rule is that if the scheduler does its outer

reply to the sender: frankjimmyloancompan...@aol.com

2013-08-07 Thread madan . gupta
We offer Business/Company/Project loans at 3%. Reply with amount needed.Reply Via Email: frankjimmyloancompan...@aol.com Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receiv

Re: [PATCH 1/2] kernel/sys.c: return the current gid when error occurs

2013-08-07 Thread Chen Gang
On 08/08/2013 12:58 AM, Andy Lutomirski wrote: > On Wed, Aug 7, 2013 at 9:21 AM, Oleg Nesterov wrote: >> On 08/06, Andy Lutomirski wrote: >>> >>> I assume that what the man page means is that the return value is >>> whatever fsgid was prior to the call. On error, fsgid isn't changed, so >>> the r

Re: [PATCH v2] x86, relocs: move ELF relocation handling to C

2013-08-07 Thread Kees Cook
On Mon, Jul 8, 2013 at 10:35 AM, Zhang Yanfei wrote: > On 07/09/2013 12:15 AM, Kees Cook wrote: >> Moves the relocation handling into C, after decompression. This requires >> that the decompressed size is passed to the decompression routine as >> well so that relocations can be found. Only kernels

Re: [PATCH 1/2] kernel/sys.c: return the current gid when error occurs

2013-08-07 Thread Andy Lutomirski
On Wed, Aug 7, 2013 at 6:30 PM, Chen Gang wrote: > On 08/08/2013 12:58 AM, Andy Lutomirski wrote: >> On Wed, Aug 7, 2013 at 9:21 AM, Oleg Nesterov wrote: >>> On 08/06, Andy Lutomirski wrote: I assume that what the man page means is that the return value is whatever fsgid was prior

Re: [PATCH v3 00/11] Add namespace support for syslog

2013-08-07 Thread Gao feng
On 08/07/2013 03:55 PM, Eric W. Biederman wrote: > > Since this still has not been addressed. I am going to repeat Andrews > objection again. > > Isn't there a better way to get iptables information out than to use > syslog. I did not have time to follow up on that but it did appear that > some

Re: [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-07 Thread Lai Jiangshan
On 08/08/2013 08:36 AM, Paul E. McKenney wrote: > On Wed, Aug 07, 2013 at 05:38:27AM -0700, Paul E. McKenney wrote: >> On Wed, Aug 07, 2013 at 06:24:56PM +0800, Lai Jiangshan wrote: >>> Although all articles declare that rcu read site is deadlock-immunity. >>> It is not true for rcu-preempt, it wil

Re: [PATCH 1/2] kernel/sys.c: return the current gid when error occurs

2013-08-07 Thread Chen Gang
On 08/08/2013 09:35 AM, Andy Lutomirski wrote: > On Wed, Aug 7, 2013 at 6:30 PM, Chen Gang wrote: >> On 08/08/2013 12:58 AM, Andy Lutomirski wrote: >>> On Wed, Aug 7, 2013 at 9:21 AM, Oleg Nesterov wrote: On 08/06, Andy Lutomirski wrote: > > I assume that what the man page means is t

[PATCH 2/2] perf kvm: Update documentation with live command

2013-08-07 Thread David Ahern
Update perf-kvm documentation with new live subcommand. Add -p/--pid option for perf-kvm-stat-report as well. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Jiri Olsa Cc: Namhyung Kim Cc: Xiao Guangrong Cc: Runzhen Wan

[PATCH 1/2] perf kvm: option to print events that exceed a duration -v2

2013-08-07 Thread David Ahern
This is useful to spot high latency blips. It is normal for HLT reasons to have long exit times, so strip those from the duration check. v2: changed threshold to duration per acme's request Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Pet

Re: perf,arm -- another (different) fuzzer oops

2013-08-07 Thread Vince Weaver
On Wed, 7 Aug 2013, Stephen Boyd wrote: > Is config some really big value? It looks like config (or more > specifically event->attr.config) is ecececec which is larger than 9 > (PERF_COUNT_HW_MAX). I'm fairly certain r4 is event->attr.type > (PERF_TYPE_HARDWARE) and so we're out of bounds on that

Re: [PATCH v4 00/11] tracing: trace event triggers

2013-08-07 Thread Masami Hiramatsu
Hi, (2013/07/30 1:40), Tom Zanussi wrote: > Hi, > > This is v4 of the trace event triggers patchset, addressing more > comments from Masami Hiramatsu (thanks for the review and comments). > > One of Masami's comments was on event_trigger_regex_open's use of > inode->i_private and that the same p

Re: [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-07 Thread Steven Rostedt
On Thu, 2013-08-08 at 09:47 +0800, Lai Jiangshan wrote: > > [ 393.641012]CPU0 > > [ 393.641012] > > [ 393.641012] lock(&lock->wait_lock); > > [ 393.641012] > > [ 393.641012] lock(&lock->wait_lock); > > Patch2 causes it! > When I found all lock which can (chained)

Re: [PATCH trivial] UAPI: Kbuild: add/modify comments for "uapi/Kbuild" and "uapi/linux/Kbuild"

2013-08-07 Thread Chen Gang
Hello Rob: Maybe I misunderstand what you said (if so, I am sorry for it). At least for me, what you said is valuable to get additional discussion, but it seems better to start a new thread for it and also cc to linux-doc mail list. If so better include me in cc list, thanks. ;-) If you think

Re: [PATCH v4 00/11] tracing: trace event triggers

2013-08-07 Thread Steven Rostedt
On Thu, 2013-08-08 at 11:02 +0900, Masami Hiramatsu wrote: > # mkdir instances/hoge > # echo 'enable_event:mce:mce_record' > > instances/hoge/events/syscalls/sys_enter_symlink/trigger > # cat instances/hoge/events/syscalls/sys_enter_symlink/enable > 0* > # cat instances/hoge/events/mce/mce_record

RE: [PATCH v8 06/12] ARM: dts: Add description of System MMU of Exynos SoCs

2013-08-07 Thread Cho KyongHo
> -Original Message- > From: grund...@google.com [mailto:grund...@google.com] On Behalf Of Grant > Grundler > Sent: Thursday, August 08, 2013 1:21 AM > > On Wed, Aug 7, 2013 at 5:07 AM, Cho KyongHo wrote: > ... > >> I don't understand how this is possible. Can someone explain this > >> b

RE: [PATCH 3/5] x86, AMD: cleanup: merge common code in early microcode loading

2013-08-07 Thread H. Peter Anvin
How much does this matter? "Yu, Fenghua" wrote: >> From: Yu, Fenghua >> Sent: Wednesday, August 07, 2013 3:46 PM >> >> > From: Borislav Petkov [mailto:b...@alien8.de] >> > Sent: Wednesday, July 24, 2013 6:33 AM >> > On Tue, Jul 23, 2013 at 11:00:26PM +0200, Torsten Kaiser wrote: >> > > Extract c

Re: perf,arm -- another (different) fuzzer oops

2013-08-07 Thread Vince Weaver
On Wed, 7 Aug 2013, Stephen Boyd wrote: > ---8< > > diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c > index d9f5cd4..21f7790 100644 > --- a/arch/arm/kernel/perf_event.c > +++ b/arch/arm/kernel/perf_event.c > @@ -53,7 +53,12 @@ armpmu_map_cache_event(const unsigned (*c

Re: [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-07 Thread Lai Jiangshan
On 08/08/2013 10:12 AM, Steven Rostedt wrote: > On Thu, 2013-08-08 at 09:47 +0800, Lai Jiangshan wrote: > >>> [ 393.641012]CPU0 >>> [ 393.641012] >>> [ 393.641012] lock(&lock->wait_lock); >>> [ 393.641012] >>> [ 393.641012] lock(&lock->wait_lock); >> >> Patch2 cau

[PATCH v5 1/5] memcg: convert to use cgroup_is_descendant()

2013-08-07 Thread Li Zefan
This is a preparation to kill css_id. Signed-off-by: Li Zefan Acked-by: Michal Hocko --- mm/memcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 6f292b8..87a2537 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1353,7 +13

[PATCH v5 2/5] memcg: convert to use cgroup id

2013-08-07 Thread Li Zefan
Use cgroup id instead of css id. This is a preparation to kill css id. Note, as memcg treat 0 as an invalid id, while cgroup id starts with 0, we define memcg_id == cgroup_id + 1. Signed-off-by: Li Zefan Acked-by: Michal Hocko --- mm/memcontrol.c | 34 -- 1 file

Re: [PATCH] cpufreq: exynos5440: Fix to skip when new frequency same as current

2013-08-07 Thread Viresh Kumar
On 8 August 2013 04:55, Rafael J. Wysocki wrote: > It looks like it would require us to redefine .target() to take next_state > instead of target_freq (at least in the acpi-cpufreq case), wouldn't it? If we don't do it, then atleast for few drivers, like acpi-cpufreq, which use index more than ju

[PATCH v5 0/5] memcg, cgroup: kill css_id

2013-08-07 Thread Li Zefan
Hi Andrew, All the cgroup preparation patches are in cgroup tree now, and these remaining patches can be routed by mm tree. === This patchset converts memcg to use cgroup->id, and then we can remove cgroup css_id. As we've removed memcg's own refcnt, converting memcg to use cgroup->id i

Re: [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-07 Thread Paul E. McKenney
On Thu, Aug 08, 2013 at 10:33:15AM +0800, Lai Jiangshan wrote: > On 08/08/2013 10:12 AM, Steven Rostedt wrote: > > On Thu, 2013-08-08 at 09:47 +0800, Lai Jiangshan wrote: > > > >>> [ 393.641012]CPU0 > >>> [ 393.641012] > >>> [ 393.641012] lock(&lock->wait_lock); > >>> [ 3

[PATCH v5 5/5] cgroup: kill css_id

2013-08-07 Thread Li Zefan
The only user of css_id was memcg, and it has been convered to use cgroup->id, so kill css_id. Signed-off-by: Li Zefan Reviewed-by: Michal Hocko Acked-by: Tejun Heo --- include/linux/cgroup.h | 37 kernel/cgroup.c| 252 + 2 file

[PATCH v5 3/5] memcg: fail to create cgroup if the cgroup id is too big

2013-08-07 Thread Li Zefan
memcg requires the cgroup id to be smaller than 65536. This is a preparation to kill css id. Signed-off-by: Li Zefan Acked-by: Michal Hocko --- mm/memcontrol.c | 9 + 1 file changed, 9 insertions(+) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 3189f70..c0bb83c 100644 --- a/mm/

[PATCH v5 4/5] memcg: stop using css id

2013-08-07 Thread Li Zefan
Now memcg uses cgroup id instead of css id. Update some comments and set mem_cgroup_subsys->use_id to 0. Signed-off-by: Li Zefan Acked-by: Michal Hocko --- mm/memcontrol.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontr

Re: [PATCH 2/2] ARM: dt: t114 dalmore: add dt entry for nct1008

2013-08-07 Thread Wei Ni
On 08/08/2013 12:03 AM, Stephen Warren wrote: > On 08/07/2013 12:52 AM, Wei Ni wrote: >> Enable thermal sensor nct1008 for t114 dalmore. > > Wei, I assume this patch doesn't depend on any of the other LM90-related > patches you've sent; I can simply apply it right away? In my [PATCH 1/2], I add c

Re: [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-07 Thread Lai Jiangshan
On 08/08/2013 10:12 AM, Steven Rostedt wrote: > On Thu, 2013-08-08 at 09:47 +0800, Lai Jiangshan wrote: > >>> [ 393.641012]CPU0 >>> [ 393.641012] >>> [ 393.641012] lock(&lock->wait_lock); >>> [ 393.641012] >>> [ 393.641012] lock(&lock->wait_lock); >> >> Patch2 cau

Re: [PATCH 1/6] clk: Tegra: Add CPU0 clock driver

2013-08-07 Thread Viresh Kumar
On 8 August 2013 00:20, Stephen Warren wrote: > Right, and that's *exactly* what having a cpufreq driver is for; to > implement the details of CPU clock management. cpufreq drivers used to keep such information since a long time, probably because there wasn't another place to keep them and provid

Re: perf,arm -- another (different) fuzzer oops

2013-08-07 Thread Vince Weaver
On Wed, 7 Aug 2013, Vince Weaver wrote: > On Wed, 7 Aug 2013, Stephen Boyd wrote: > > > ---8< > > > > diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c > > index d9f5cd4..21f7790 100644 > > --- a/arch/arm/kernel/perf_event.c > > +++ b/arch/arm/kernel/perf_event.c > > @

Re: [PATCH 5/6] ARM: Tegra: start using cpufreq-cpu0 driver

2013-08-07 Thread Viresh Kumar
On 8 August 2013 00:21, Stephen Warren wrote: > On 08/07/2013 11:59 AM, Viresh Kumar wrote: >> On 7 August 2013 23:23, Stephen Warren wrote: >>> That link only describes why we shouldn't have a dedicated compatible >>> value for cpufreq. I certainly agree with that. However, I think it's >>> reas

[PATCH 02/19] perf sched: Simplify arguments to read_events

2013-08-07 Thread David Ahern
Destroy argument is not necessary. If session is not returned to caller, then clean it up. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/builtin-sched.c | 16 +--- 1 fil

[PATCH 00/19] perf sched: Add timehist subcommand

2013-08-07 Thread David Ahern
Ingo/Arnaldo: I have a lot of patches queued up on top of this set. Before I go much farther and the queue grows longer I wanted to throw out this set for comments, review and inclusion where possible. Most of the patches are cleanups and re-workings leading up to the new command. The patches I ha

[PATCH 19/19] perf sched timehist: Add pid/tid option

2013-08-07 Thread David Ahern
Allows analysis of individual tasks within a file collected for the entire system. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/builtin-sched.c | 50 +++

[PATCH 16/19] perf tool: Change perf_session__has_traces to actually check for tracepoints

2013-08-07 Thread David Ahern
Any event can have RAW data attribute set. The intent of the function is to determine if the session has tracepoints, so check for the type of each event explicitly. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Steph

[PATCH 07/19] perf top: Use new idle_sym check

2013-08-07 Thread David Ahern
Avoids strcmp processing each sample. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/builtin-top.c | 25 ++--- 1 file changed, 2 insertions(+), 23 deletions(-) d

[PATCH 17/19] perf sched timehist: Add support for context-switch event

2013-08-07 Thread David Ahern
Context switch events are 64 bytes; sched_switch events are 136 bytes. Both indicate scheduling changes, so allow user to leverage the smaller event. If both events exist in a data file, then context-switch event is ignored. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc:

[PATCH 15/19] perf sched: Add timehist command

2013-08-07 Thread David Ahern
By default 'perf sched timehist' dumps a run-time summary for each task. The summary includes the number of times the process was scheduled and the min, max and average run times when scheduled (ie., a measure of how CPU time the task wanted). Summary of idle times per cpu is also shown. Example o

[PATCH 14/19] perf sched: pass event to evsel handlers using data element

2013-08-07 Thread David Ahern
Upcoming timehist command needs access to the event. Use the existing handler.data element to do that. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/builtin-sched.c |3 ++- 1 file

[PATCH 04/19] perf sched: Remove sched_process_exit tracepoint

2013-08-07 Thread David Ahern
Event is not needed nor analyzed. Since perf-sched leverages perf-record to capture the sched data, we already capture task events like EXIT. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/

[PATCH 08/19] perf symbol: Save vmlinux or kallsyms path loaded

2013-08-07 Thread David Ahern
Save vmlinux or kallsyms path loaded using embedded default lookup (ie., not a user specified path). Upcoming perf sched timehist command requires kernel symbols for properly computing idle times and prints a warning if the kernel symbols are not loaded. Signed-off-by: David Ahern Cc: Ingo Molnar

[PATCH 11/19] perf tool: Add option to limit stack depth in callchain dumps

2013-08-07 Thread David Ahern
Option is used by upcoming timehist command. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/builtin-script.c |6 -- tools/perf/util/session.c |6 -- tools/perf/util/s

[PATCH 18/19] perf sched timehist: Print all events in verbose mode

2013-08-07 Thread David Ahern
Useful for debugging and correlating extra events in a file with the scheduling events collected. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/builtin-sched.c |

Re: [PATCHSET cgroup/for-3.12] cgroup: make cgroup_event specific to memcg

2013-08-07 Thread Li Zefan
>> If somebody needs a notification interface (and there is no one available >> right now) then you cannot prevent from such a pointless work anyway... > > I'm gonna add one for freezer state transitions. It'll be simple > "this file changed" thing and will probably apply that to at least oom > a

[PATCH 09/19] perf tool: Simplify options to perf_evsel__print_ip

2013-08-07 Thread David Ahern
Make print options based on flags. Simplifies addition of more print options which is the subject of upcoming patches. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/builtin-script.c |

[PATCH 10/19] perf tool: Add option to print stack trace on single line

2013-08-07 Thread David Ahern
Option is used by upcoming timehist command. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/util/session.c |8 ++-- tools/perf/util/session.h |1 + 2 files changed, 7 inser

Re: [PATCH V12 0/14] Paravirtualized ticket spinlocks

2013-08-07 Thread Raghavendra K T
On 08/07/2013 12:15 PM, Raghavendra K T wrote: On 08/07/2013 10:18 AM, H. Peter Anvin wrote: tip:master is not a stable branch; it is more like linux-next. We need to figure out which topic branches are dependencies for this set. Okay. I 'll start looking at the branches that would get affect

[PATCH 12/19] perf tool: Add support for exclude symbol list to symbol_conf

2013-08-07 Thread David Ahern
Allows user to specify a list of symbols not interested in. One use case is the upcoming timehist command. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/util/symbol.c | 20 +

[PATCH 13/19] perf tool: Skip symbols in exclude list while printing callchain

2013-08-07 Thread David Ahern
Leverage new exclude symbol list to allow user to not see certain functions in a backtrace. For example repeating patterns like: do_select core_sys_select sys_select can be reduced to just sys_select when dumping callchains, consuming less real estate on the screen while still conveying the e

[PATCH 05/19] perf sched: Remove sched_process_fork tracepoint

2013-08-07 Thread David Ahern
The PERF_RECORD_FORK event is already collected as part of the use of cmd_record and those events are analyzed as part of the libperf machinery. Using the fork tracepoint as well just duplicates the event load. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frede

[PATCH 03/19] perf sched: Remove thread lookup in sample handler

2013-08-07 Thread David Ahern
Not used in the function, so no sense in doing the lookup here. Thread look up will be done in the timehist command, and no sense in doing it twice. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian ---

[PATCH 06/19] perf symbol: Add optimization for idle kernel symbols

2013-08-07 Thread David Ahern
Avoid walking the list of idle symbols more than once by setting a flag in the symbol struct. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/util/symbol.c | 44 ++

[PATCH 01/19] perf: sample after exit loses thread correlation - v3

2013-08-07 Thread David Ahern
Occassionally events (e.g., context-switch, sched tracepoints) are losing the conversion of sample data associated with a thread. For example: $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 $ perf script ls 30482 [000] 1379727.583037: sched:sched_switch: prev_comm=ls prev_pid=30482 .

Re: [PATCH 2/6] ARM: Tegra: Add CPU's OPPs for using cpufreq-cpu0 driver

2013-08-07 Thread Viresh Kumar
On 8 August 2013 00:25, Stephen Warren wrote: > On 08/07/2013 12:06 PM, Viresh Kumar wrote: >> On 7 August 2013 23:12, Stephen Warren wrote: >>> On 08/07/2013 08:46 AM, Viresh Kumar wrote: cpufreq-cpu0 driver needs OPPs to be present in DT which can be probed by it to get frequenc

Re: [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-07 Thread Lai Jiangshan
On 08/08/2013 10:33 AM, Paul E. McKenney wrote: > On Thu, Aug 08, 2013 at 10:33:15AM +0800, Lai Jiangshan wrote: >> On 08/08/2013 10:12 AM, Steven Rostedt wrote: >>> On Thu, 2013-08-08 at 09:47 +0800, Lai Jiangshan wrote: >>> > [ 393.641012]CPU0 > [ 393.641012] > [

Re: [PATCH 1/3] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-07 Thread Sonic Zhang
Hi Linus, On Thu, Aug 8, 2013 at 2:56 AM, Linus Walleij wrote: > On Thu, Aug 1, 2013 at 9:31 AM, Sonic Zhang wrote: >> On Tue, Jul 30, 2013 at 12:47 AM, Linus Walleij >> wrote: >>> On Fri, Jul 26, 2013 at 6:57 AM, Sonic Zhang wrote: >>> Could you please comment on this patch set? It is ba

Re: [PATCH] kernel/sysctl_binary.c: improve the usage of return value 'result'

2013-08-07 Thread Chen Gang
On 08/08/2013 02:38 AM, Eric W. Biederman wrote: > Chen Gang writes: > >> Firstly, sorry for replying late, and also thank you for your detail >> patient reply. >> >> On 08/07/2013 03:45 PM, Eric W. Biederman wrote: >>> Chen Gang writes: >>> On 08/07/2013 05:46 AM, Eric W. Biederman wrote:

Re: [PATCH] pinctrl: pinmux: Don't free pins requested by other devices

2013-08-07 Thread Sonic Zhang
Hi Stephen, On Thu, Aug 8, 2013 at 1:09 AM, Stephen Warren wrote: > On 08/07/2013 10:23 AM, Linus Walleij wrote: >> On Wed, Jul 17, 2013 at 7:31 AM, Sonic Zhang wrote: >> >> I'd like Stephen and Axel to have a look at this as well... >> >>> From: Sonic Zhang >>> >>> in pinmux_disable_setting af

[PATCH part1 3/5] acpi, acpica: Split acpi_tb_parse_root_table() into two parts.

2013-08-07 Thread Tang Chen
This patch splits acpi_tb_parse_root_table() into two steps, and introduces two new functions: acpi_tb_root_table_install() and acpi_tb_root_table_override(). They are just the same as acpi_tb_parse_root_table() if they are called in sequence. Signed-off-by: Tang Chen Reviewed-by: Zhang Yanf

[PATCH part1 5/5] acpi, acpica: Split acpi_initialize_tables() into two parts.

2013-08-07 Thread Tang Chen
This patch splits acpi_initialize_tables() into two steps, and introduces two new functions: acpi_initialize_tables_firmware() and acpi_tb_root_table_override(), which work just the same as acpi_initialize_tables() if they are called in sequence. Signed-off-by: Tang Chen Reviewed-by: Zhang Ya

[PATCH part1 4/5] acpi, acpica: Call two new functions instead of acpi_tb_parse_root_table() in acpi_initialize_tables().

2013-08-07 Thread Tang Chen
The previous patch introduces two new functions: acpi_tb_root_table_install() and acpi_tb_root_table_override(), which work just the same as acpi_tb_parse_root_table() if they are called in sequence. In order to split acpi_initialize_tables(), call thes two functions in acpi_initialize_tables(

[PATCH part1 0/5] acpica: Split acpi_gbl_root_table_list initialization into two parts.

2013-08-07 Thread Tang Chen
[Problem] The current Linux cannot migrate pages used by the kerenl because of the kernel direct mapping. In Linux kernel space, va = pa + PAGE_OFFSET. When the pa is changed, we cannot simply update the pagetable and keep the va unmodified. So the kernel pages are not migratable. There are also

[PATCH part1 2/5] acpi, acpica: Call two new functions instead of acpi_tb_install_table() in acpi_tb_parse_root_table().

2013-08-07 Thread Tang Chen
The previous patch introduced two new functions: acpi_tb_install_table_firmware() and acpi_tb_install_table_override(). They are the same as acpi_tb_install_table() if they are called in sequence. In order to split acpi_tb_parse_root_table(), we call these two functions instead of acpi_tb_ins

[PATCH part1 1/5] acpi, acpica: Split acpi_tb_install_table() into two parts.

2013-08-07 Thread Tang Chen
[Problem] The current Linux cannot migrate pages used by the kerenl because of the kernel direct mapping. In Linux kernel space, va = pa + PAGE_OFFSET. When the pa is changed, we cannot simply update the pagetable and keep the va unmodified. So the kernel pages are not migratable. There are also

Re: [PATCH] pinctrl: pinmux: Don't free pins requested by other devices

2013-08-07 Thread Sonic Zhang
Hi Linus, On Thu, Aug 8, 2013 at 12:23 AM, Linus Walleij wrote: > On Wed, Jul 17, 2013 at 7:31 AM, Sonic Zhang wrote: > > I'd like Stephen and Axel to have a look at this as well... > >> From: Sonic Zhang >> >> in pinmux_disable_setting after current device fails to request >> the same pins. >>

Re: [PATCHv2] Add per-process flag to control thp

2013-08-07 Thread David Rientjes
On Tue, 6 Aug 2013, Alex Thorlton wrote: > I've gotten my hands on some of the benchmarks/code that were used to > originally uncover the performance issues we're seeing. I'm currently > trying to separate out the performance issues that are being caused by > the kernel code from issues involving

Re: [PATCH v2] x86, relocs: move ELF relocation handling to C

2013-08-07 Thread H. Peter Anvin
On 08/07/2013 06:34 PM, Kees Cook wrote: > > Hi Peter, > > Can this get added to tip? > > Thanks, > > -Kees > Sorry, missed the 7/8 update... -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More m

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-08-07 Thread Mike Galbraith
On Wed, 2013-08-07 at 10:25 +0200, Mike Galbraith wrote: > E5620 (2.4 GHz Westmere) throttle > > v3.11-rc4-27-ge4ef108 v3.11-rc4-27-ge4ef108+peterz > 6.76% [k] __schedule 7.68% [k] > reschedule_interrupt (find this little bastard)

Re: 2.6.34.x longterm stable status

2013-08-07 Thread Paul Gortmaker
[2.6.34.x longterm stable status] On 05/08/2013 (Mon 22:32) Aaro Koskinen wrote: > Hi, > > There hasn't been 2.6.34.x stable tree releases for a > while. Also, in some mails you have mentioned EOLing this tree (e.g. > http://marc.info/?l=linux-doc&m=137393133817894&w=2). I have two questions > co

[BUG] hackbench locks up with perf in 3.11-rc1 and beyond

2013-08-07 Thread Steven Rostedt
I went to do some benchmarks on the jump label code, and ran: perf stat -r 100 ./hackbench 50 It ran twice, and then would die with: [ 65.785108] hackbench invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0 [ 65.792921] hackbench cpuset=/ mems_allowed=0 [ 65.797286] CPU: 6 PI

Re: [PATCH 00/11] Add compression support to pstore

2013-08-07 Thread Aruna Balakrishnaiah
Hi Tony, On Thursday 08 August 2013 03:52 AM, Tony Luck wrote: On Tue, Aug 6, 2013 at 10:35 PM, Tony Luck wrote: ERST is at the whim of the BIOS writer (the ACPI standard doesn't provide any suggestions on record sizes). My systems support ~6K record size. Off by a little - 7896 bytes on my

Re: stable: a59f4e079d19464eebb9b06513a1d4f55fdae5ba needs backport ?

2013-08-07 Thread Li Zefan
Hi Greg, Could you queue this commit for 3.0 and 3.4? It has been acked by Ingo. On 2013/8/2 19:14, Ingo Molnar wrote: > > * Li Zefan wrote: > >> commit a59f4e079d19464eebb9b06513a1d4f55fdae5ba >> Author: Zhu Yanhai >> Date: Tue Jan 8 12:56:52 2013 +0800 >> >> sched: Fix the broken sche

[tip:x86/kaslr] x86, relocs: Move ELF relocation handling to C

2013-08-07 Thread tip-bot for Kees Cook
Commit-ID: a02150610776f66b40257624822a879311592bb2 Gitweb: http://git.kernel.org/tip/a02150610776f66b40257624822a879311592bb2 Author: Kees Cook AuthorDate: Mon, 8 Jul 2013 09:15:17 -0700 Committer: H. Peter Anvin CommitDate: Wed, 7 Aug 2013 21:00:04 -0700 x86, relocs: Move ELF relocat

Re: [PATCH 1/8] ARM: at91: move peripheral id definitions to dt-bindings include dir

2013-08-07 Thread boris brezillon
Hello Arnd, On 07/08/2013 22:24, Arnd Bergmann wrote: On Thursday 01 August 2013, Boris BREZILLON wrote: This patch moves peripheral id definitions from machine specific include dir (arch/arm/mach-at91/include/mach/'soc-name'.h) to dt-bindinds include dir (include/dt-bindings/at91/'soc-name'/pe

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-07 Thread Johannes Weiner
On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: > On Wed, Aug 07, 2013 at 03:58:28PM +0100, Mel Gorman wrote: > > On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > > > @@ -352,6 +352,7 @@ struct zone { > > >* free areas of different sizes > > >*/ > > > sp

Re: [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-07 Thread Paul E. McKenney
On Thu, Aug 08, 2013 at 11:10:47AM +0800, Lai Jiangshan wrote: > On 08/08/2013 10:33 AM, Paul E. McKenney wrote: > > On Thu, Aug 08, 2013 at 10:33:15AM +0800, Lai Jiangshan wrote: > >> On 08/08/2013 10:12 AM, Steven Rostedt wrote: > >>> On Thu, 2013-08-08 at 09:47 +0800, Lai Jiangshan wrote: > >>>

Re: [PATCH 4/7] perf completion: modernize style

2013-08-07 Thread Ramkumar Ramachandra
Arnaldo Carvalho de Melo wrote: > Can you check how is this in the current perf/core branch so that we can > move forward while I process some other patches? This series (except this part) was merged into perf/completion of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux 3 weeks ago, so I

Re: [PATCH 00/11] Add compression support to pstore

2013-08-07 Thread Aruna Balakrishnaiah
On Wednesday 07 August 2013 11:00 PM, Tony Luck wrote: Oh - one more thing - and my apologies for not spotting this before: dst = allocate_buf_for_compression(big_buf_sz); No - you may not call kmalloc() in oops/panic context. Please pre-allocate everything you need in some in

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-08-07 Thread ethan.zhao
Hi, perter and Mike, Some other test to verify the regression causes etc. On an 4 core intel i5 Asus pc. The pipe test. 1. default Bios configuration and default 3.11-rc3 kernel. [root@localhost ~]# time ./pip1m real0m10.683s user0m0.204s sys 0m6.597s [root@localhost ~]# time ./pip1

Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-08-07 Thread boris brezillon
On 07/08/2013 20:59, Linus Walleij wrote: On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON wrote: The current implementation handle both edge and level interrupts with the 'handle_simple_irq' handler. Level interrupts are active as long as the pin stays at the configured level (low or high).

Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-07 Thread Andi Kleen
On Wed, Aug 07, 2013 at 04:54:21PM -0700, Andrew Morton wrote: > On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen wrote: > > > From: Andi Kleen > > > > Use standard gcc __attribute__((alias(foo))) to define > > the syscall aliases instead of custom assembler macros. > > > > This is far cleaner, a

<    3   4   5   6   7   8   9   >