[Devel] Re: [PATCH] SUNRPC: create svc_xprt in proper network namespace

2011-12-07 Thread Stanislav Kinsbursky
07.12.2011 00:48, J. Bruce Fields пишет: On Tue, Dec 06, 2011 at 02:19:10PM +0300, Stanislav Kinsbursky wrote: This patch makes svc_xprt inherit network namespace link from it's socket. And poor rdma gets left out. Sorry, but this is not a part of my interest. OK. Applying for 3.3 (with c

[Devel] Re: [PATCH v8 0/9] per-cgroup tcp memory pressure controls

2011-12-07 Thread Glauber Costa
On 12/05/2011 07:34 PM, Glauber Costa wrote: Hi, This is my new attempt to fix all the concerns that were raised during the last iteration. I should highlight: 1) proc information is kept intact. (although I kept the wrapper functions) it will be submitted as a follow up patch so it can get

[Devel] [PATCH 0/4] SUNRPC: pass network namespace context to sockaddr construction routines

2011-12-07 Thread Stanislav Kinsbursky
This is another precursor patch set aimed to remove hard-coded "init_net" reference from SUNRPC sockaddr convertion and construction routines. The following series consists of: --- Stanislav Kinsbursky (4): SUNRPC: use passed network namespace context in rpc_parse_scope_id() SUNRPC:

[Devel] [PATCH 1/4] SUNRPC: use passed network namespace context in rpc_parse_scope_id()

2011-12-07 Thread Stanislav Kinsbursky
Use incomming network context in rpc_parse_scope_id() instead of hard-coded "init_net". Signed-off-by: Stanislav Kinsbursky --- net/sunrpc/addr.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/net/sunrpc/addr.c b/net/sunrpc/addr.c index 67a655e..35eb188 100644

[Devel] [PATCH 2/4] SUNRPC: use passed network namespace context in rpc_pton6()

2011-12-07 Thread Stanislav Kinsbursky
Use incomming network context in rpc_pton6() instead of hard-coded "init_net". Signed-off-by: Stanislav Kinsbursky --- net/sunrpc/addr.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/sunrpc/addr.c b/net/sunrpc/addr.c index 35eb188..c13a521 100644 --- a/net/

[Devel] [PATCH 3/4] SUNRPC: use passed network namespace context in rpc_pton()

2011-12-07 Thread Stanislav Kinsbursky
Use incomming network context in rpc_pton() instead of hard-coded "init_net". Signed-off-by: Stanislav Kinsbursky --- fs/nfs/dns_resolve.c|4 ++-- fs/nfs/nfs4filelayoutdev.c |2 +- fs/nfs/nfs4namespace.c |2 +- fs/nfs/super.c |4 ++-- fs/nfsd/nfsctl.c

[Devel] [PATCH 4/4] SUNRPC: use passed network namespace context in rpc_uaddr2sockaddr()

2011-12-07 Thread Stanislav Kinsbursky
Use incomming network context in rpc_uaddr2sockaddr() instead of hard-coded "init_net". Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfs4state.c |2 +- include/linux/sunrpc/clnt.h |2 +- net/sunrpc/addr.c |8 +--- net/sunrpc/rpcb_clnt.c |2 +- 4 fil

[Devel] Remote processing of core dump

2011-12-07 Thread Vasily Averin
Hi Dave, could you please advise is it possible to process core dump remotely? Currently for investigation of kernel crashes on customer nodes I need either download coredump to local node or upload debug symbols to remote node. This may not be quite convenient for various reasons. Is it possi

[Devel] [PATCH 2/6] perf: add ability to change event according to sample (v3)

2011-12-07 Thread Andrew Vagin
It's opposition of perf_session__parse_sample. v2: fixed mistakes which David Arhen found v3: s/data/sample/ s/perf_event__change_sample/perf_event__synthesize_sample Reviewed-by: David Ahern Signed-off-by: Andrew Vagin --- tools/perf/util/event.h |2 + tools/perf/util/evsel.c |

[Devel] [PATCH 3/6] perf: add ability to record event period

2011-12-07 Thread Andrew Vagin
Signed-off-by: Andrew Vagin --- tools/perf/builtin-record.c |1 + tools/perf/perf.h |1 + tools/perf/util/evsel.c |3 +++ 3 files changed, 5 insertions(+), 0 deletions(-) diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 766fa0a..f8fd14f 10064

[Devel] [PATCH 5/6] perf: teach perf inject to merge sched_stat_* and sched_switch events

2011-12-07 Thread Andrew Vagin
You may want to know where and how long a task is sleeping. A callchain may be found in sched_switch and a time slice in stat_iowait, so I add handler in perf inject for merging this events. My code saves sched_switch event for each process and when it meets stat_iowait, it reports the sched_switc

[Devel] [PATCH 0/7] Profiling sleep times (v4)

2011-12-07 Thread Andrew Vagin
Do you want to know where your code waits locks for a long time? Yes! It's for you. This feature helps you to find bottlenecks. It's not artificial task. Once one of my colleague was investigating a scalability problem. He pressed sysrq-t some times and tried to merge call-chains by hand. But perf

[Devel] [PATCH 4/6] perf: teach "perf inject" to work with files

2011-12-07 Thread Andrew Vagin
Before this patch "perf inject" can only handle data from pipe. I want to use "perf inject" for reworking events. Look at my following patch. Signed-off-by: Andrew Vagin --- tools/perf/builtin-inject.c | 33 +++-- 1 files changed, 31 insertions(+), 2 deletions(-)

[Devel] [PATCH 6/6] perf: add scripts for profiling sleep times (v2)

2011-12-07 Thread Andrew Vagin
E.g.: # perf script record -- sched:sched_stat_sleep -- ./foo # perf script report sched-stat or # perf script record -- -e sched:sched_stat_sleep v2: Add ability to record events for a defined process. It executes a small bash script, then executes perf with filtering by pid and then a bash sc

[Devel] [PATCH 1/6] perf: use event_name() to get an event name

2011-12-07 Thread Andrew Vagin
perf_evsel.name may be not initialized Signed-off-by: Andrew Vagin --- tools/perf/util/header.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 9272f3a..5b01449 100644 --- a/tools/perf/util/header.c +++ b/tools/p

[Devel] Re: [GIT PULL 0/2] perf/urgent fixes

2011-12-07 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling from: > > git://github.com/acmel/linux.git perf/urgent > > Regards, > > - Arnaldo > > Andrew Vagin (1): > perf header: Use event_name() to get an event name > > Anton Blanchard (1): > perf stat: Failure wi