[PATCH 2/7] btrfs: cleanup: mark 'set_state_private' as static

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > set_state_private: [R]: exported from: fs/btrfs/disk-io.o fs/btrfs/built-in.o > fs/btrfs/btrfs.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/extent_io.c | 2 +- fs/btrfs/extent_io.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff

[PATCH 1/7] btrfs: cleanup: mark 'btrfs_lookup_fs_root' as static

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_lookup_fs_root: [R]: exported from: fs/btrfs/disk-io.o > fs/btrfs/built-in.o fs/btrfs/btrfs.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/disk-io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 7/7] btrfs: cleanup: removed unused 'btrfs_get_inode_ref_index'

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_get_inode_ref_index: [R]: exported from: fs/btrfs/inode-item.o > fs/btrfs/btrfs.o fs/btrfs/built-in.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/ctree.h | 6 - fs/btrfs/inode-item.c | 65

[PATCH 4/7] btrfs: cleanup: removed unused 'btrfs_start_transaction_lflush'

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_start_transaction_lflush: [R]: exported from: fs/btrfs/btrfs.o > fs/btrfs/transaction.o fs/btrfs/built-in.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/transaction.c | 7 --- fs/btrfs/transaction.h | 2 -- 2 files changed, 9

[PATCH 3/7] btrfs: cleanup: mark 'btrfs_write_and_wait_marked_extents' as static

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_write_and_wait_marked_extents: [R]: exported from: fs/btrfs/btrfs.o > fs/btrfs/transaction.o fs/btrfs/built-in.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/transaction.c | 4 ++-- fs/btrfs/transaction.h | 2 -- 2 files changed, 2

[PATCH 5/7] btrfs: cleanup: mark 'btrfs_read_root_item' as static

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_read_root_item: [R]: exported from: fs/btrfs/btrfs.o > fs/btrfs/built-in.o fs/btrfs/root-tree.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/ctree.h | 2 -- fs/btrfs/root-tree.c | 4 ++-- 2 files changed, 2 insertions(+), 4

[PATCH 6/7] btrfs: cleanup: removed unused 'btrfs_reada_detach'

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_reada_detach: [R]: exported from: fs/btrfs/btrfs.o fs/btrfs/built-in.o > fs/btrfs/reada.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/ctree.h | 1 - fs/btrfs/reada.c | 9 + 2 files changed, 1 insertion(+), 9 deletions(-) diff

[PATCH 0/7] uselex.rb as a tiny tool to find dead code

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Hi guys! TL;DR: the patches remove (currently or already) dead code and localize symbol visibility used only in one module. Thanks! The Story: Once upon a time I've got very simple idea to find dead code in large C/C++ mixed project at work. The things of my

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Greg Kroah-Hartman
On Wed, Aug 07, 2013 at 02:28:49PM -0700, Bob Smith wrote: > Greg Kroah-Hartman wrote: > > You ignored my mknod comment. > Yes, proxy is a type of IPC. It's closest counterpart in the > kernel now is a named pipe. The kernel does not try to create > named pipes automatically. Named pipes are

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Bob Smith
Greg Kroah-Hartman wrote: >>echo 1 > /proc/sys/net/ipv4/ip_forward # procfs >>echo 75 > /dev/motors/left/speed# proxy >>echo 5 > /dev/wpa_supplicant/use_channel # proxy > No it shouldn't, that is userspace talking to the kernel, you aren't > doing that at all.

Re: [RFC][PATCH 3/2] x86/jump labels: Count and display the short jumps used

2013-08-07 Thread Jason Baron
On 08/07/2013 04:47 PM, Linus Torvalds wrote: > On Wed, Aug 7, 2013 at 1:19 PM, Jason Baron wrote: >> The whole point of the thread started with wanting to move the default >> 'disabled' branch further out-of-line. > Yeah, but I always disagreed with that. > > Putting the unusual code out-of-line

Re: [PATCH 01/23] radix-tree: implement preload for multiple contiguous elements

2013-08-07 Thread Kirill A. Shutemov
Jan Kara wrote: > On Wed 07-08-13 23:24:03, Kirill A. Shutemov wrote: > > Jan Kara wrote: > > > On Wed 07-08-13 19:32:36, Kirill A. Shutemov wrote: > > > > Jan Kara wrote: > > > > > On Sun 04-08-13 05:17:03, Kirill A. Shutemov wrote: > > > > > > From: "Kirill A. Shutemov" > > > > > > > > > > > >

Re: [PATCH v2 1/2] perf tools: Add support for pinned modifier

2013-08-07 Thread Michael Ellerman
Arnaldo Carvalho de Melo wrote: >Em Wed, Aug 07, 2013 at 03:19:57PM +1000, Michael Ellerman escreveu: >> On Tue, Aug 06, 2013 at 03:59:37PM +0200, Jiri Olsa wrote: >> > On Tue, Aug 06, 2013 at 11:28:05PM +1000, Michael Ellerman wrote: >> > > +if (evsel->leader == evsel) >> > > +

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Greg Kroah-Hartman
On Wed, Aug 07, 2013 at 02:04:52PM -0700, Bob Smith wrote: > Greg Kroah-Hartman wrote: > >>cat /dev/proxyctrl # what is the offset? > >>echo 2 > /dev/proxyctrl # set offset to 2 > > > >You have language bindings right there in bash for this api, what you > >are saying is that you don't

Re: PREEMPT_RT vs bcache

2013-08-07 Thread Kent Overstreet
On Wed, Aug 07, 2013 at 11:08:42PM +0200, Ben Hutchings wrote: > On Wed, 2013-08-07 at 13:53 -0700, Kent Overstreet wrote: > > On Wed, Aug 07, 2013 at 10:28:18PM +0200, Ben Hutchings wrote: > > > As Kent said back in 2011 (commit 84759c6d18c5), bcache needs > > > {down,up}_read_non_owner(). But

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Bob Smith
Greg Kroah-Hartman wrote: > You ignored my mknod comment. Yes, proxy is a type of IPC. It's closest counterpart in the kernel now is a named pipe. The kernel does not try to create named pipes automatically. Named pipes are created deliberately by users with the mkfifo command or system call.

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

2013-08-07 Thread Andrew Morton
On Wed, 7 Aug 2013 14:18:35 -0700 Andrew Morton wrote: > On Wed, 7 Aug 2013 17:12:36 -0400 Ed Cashin wrote: > > > > > On Aug 7, 2013, at 4:58 PM, Andrew Morton wrote: > > > > > On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > > > > > >> As discussed previously, > > > > > > I think I

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

2013-08-07 Thread Andrew Morton
On Wed, 7 Aug 2013 17:21:32 -0400 Ed Cashin wrote: > > What are the end-user-visible effects of the problem which is being > > fixed? Please always include this info when fixing bugs so that others > > can work out what kernel version(s) need the patch. > > > Sorry. I tried to cover that but

[PATCH 09/47] perf tests: Add attr record group sampling test

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding test to validate perf_event_attr data for command: 'record -e '{cycles,cache-misses}:S' Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link:

next-20130807: possible circular locking dependency detected

2013-08-07 Thread Belisko Marek
] 3.11.0-rc4-next-20130807-dirty #2 Not tainted [4.423339] --- [4.429931] getty/767 is trying to acquire lock: [4.434783] (>termios_rwsem){..}, at: [] n_tty_read+0x3ec/0x958 [4.442871] [4.442871] but task is already hold

[PATCH 12/47] perf tools: Fix compile of util/tsc.c

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern On Fedora 18, with gcc 4.6.4 compile fails with: arch/x86/util/tsc.c: In function ‘perf_time_to_tsc’: arch/x86/util/tsc.c:13:6: error: declaration of ‘time’ shadows a global declaration [-Werror=shadow] cc1: all warnings being treated as errors make: ***

[PATCH 10/47] perf tests: Add parse events tests for leader sampling

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding 2 more tests to the automated parse events suite for following event config: '{cycles,cache-misses,branch-misses}:S' '{instructions,branch-misses}:Su' Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc:

[PATCH 16/47] perf top: move CONSOLE_CLEAR to header file

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern For use with kvm-live mode. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Runzhen Wang Cc: Xiao Guangrong Link: http://lkml.kernel.org/r/1375473947-64285-2-git-send-email-dsah...@gmail.com

Re: [PATCH] udev: fail firmware loading immediately if no search path is defined

2013-08-07 Thread Andy Lutomirski
On Wed, Aug 7, 2013 at 12:52 AM, Maarten Lankhorst wrote: > Op 07-08-13 02:26, Andy Lutomirski schreef: >> On Tue, Aug 6, 2013 at 5:24 PM, Tom Gundersen wrote: >>> On 6 Aug 2013 18:32, "Bryan Kadzban" wrote: On Tue, Aug 06, 2013 at 11:17:17AM +0200, Tom Gundersen wrote: > On Tue, Aug

[PATCH 39/47] perf session: Export queue_event function

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Taking a lesson from perf-trace and bringing in control of event processing to perf-kvm-stat-live: parse the sample to get access the time leaving just the need to queue it to the ordered samples list. For that the queue_event function needs to be exported. Unexport

[PATCH 07/47] perf evsel: Add PERF_SAMPLE_READ sample related processing

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa For sample with sample type PERF_SAMPLE_READ the period value is stored in the 'struct sample_read'. Moreover if the read format has PERF_FORMAT_GROUP, the 'struct sample_read' contains period values for all events in the group (for which the sample's event is a leader). We

[PATCH 11/47] perf evsel: Actually show symbol offset in stack trace when requested

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Symbol offset is one of the fields that can be requested in perf-script. Currently you do not get that data when requested. e.g., perf script -f comm,tid,pid,time,cpu,sym,symoff,ip ... gcc 6201/6201 [006] 762250.617897: 81090d95 update_curr 810911b8

Re: [edk2] Corrupted EFI region

2013-08-07 Thread Matthew Garrett
On Wed, Aug 07, 2013 at 02:10:28PM -0700, Andrew Fish wrote: > Well the issue I see is I don't think OS X or Windows are doing this. > So I'm guessing there is some unique thing beings done on the Linux > side and we don't have good tests to catch bugs in the EFI > implementations. If the

[PATCH 14/47] perf python: Remove duplicate TID bit from mask

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: David Ahern Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thiago Peixoto Link: http://lkml.kernel.org/n/tip-jurgz6myq125o1ql6lldh...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 18/47] perf session: Export a few functions for event processing

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Allows kvm live mode to reuse the event processing and ordered samples processing used by the perf-report path. v2: removed flush_sample_queue as noticed by Jiri Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter

[PATCH 17/47] perf stats: Add max and min stats

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Need an initialization function to set min to -1 to differentiate from an actual min of 0. Signed-off-by: David Ahern Reviewed-by: Xiao Guangrong Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Runzhen Wang Cc: Xiao

[PATCH 06/47] perf evlist: Add perf_evlist__id2sid method to get event ID related data

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa This will be helpful for PERF_FORMAT_GROUP samples where we need to store ID related period value for each event. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link:

[PATCH 05/47] perf evlist: Fix event ID retrieval for group format read case

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa We need to fail the event ID retrieval in case both following conditions are true: - we are on kernel with no PERF_EVENT_IOC_ID support - PERF_FORMAT_GROUP read format is set The PERF_FORMAT_GROUP read format bit is the killer for retrieving event ID out of the read

[PATCH 20/47] perf evlist: Remove obsolete dummy execve

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Minor cleanup. The dummy execve to pre-resolve the PLT is obsolete since "enable_on_execve" was added. The counters are only running after the execve anyways. So just remove it. Signed-off-by: Andi Kleen Reviewed-by: Jiri Olsa Cc: Jiri Olsa Cc: Stephane Eranian Link:

[PATCH 13/47] perf trace: Beautify 'connect' result

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It is an errno, so print an error string. Cc: David Ahern Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-zt68gijvvoe8gd7kmclo4...@git.kernel.org Signed-off-by: Arnaldo

[PATCH 38/47] perf annotate browser: Fix typo

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Ingo Molnar Signed-off-by: Ingo Molnar Link: http://lkml.kernel.org/r/20130802111050.ga29...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/ui/browsers/annotate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/ui/browsers/annotate.c

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

2013-08-07 Thread Ed Cashin
On Aug 7, 2013, at 5:00 PM, Andrew Morton wrote: > On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > >> As discussed previously, the fact that some users of the block >> layer provide bios that point to pages with a zero _count means >> that it is not OK for the network layer to do a

[PATCH 45/47] perf tests: Add tests of new pinned modifier

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Michael Ellerman Add a negative test to test__checkevent_pmu_events() to get lots of coverage of the negative case, ie. when the modifier is not specified. Add a test of a single event, and of the group case. Signed-off-by: Michael Ellerman Acked-by: Jiri Olsa Acked-by: Namhyung Kim

[PATCH 23/47] perf stat: Flush output after each line in interval mode

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Andi Kleen When interval mode is outputting to a pipe, each measurement should be flushed individually, so that the reader sees it timely. With a terminal each line is automatically flushed by stdio, but that is disabled with non terminal output. Simply fflush output after each time

[PATCH 08/47] perf tools: Add 'S' event/group modifier to read sample value

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding 'S' event/group modifier to specify that the event value/s are read by PERF_SAMPLE_READ sample type processing, instead of the period value offered by lower layers. There's additional behaviour change for 'S' modifier being specified on event group: Currently all the

[PATCH 34/47] perf annotate: Put dso name in symbol annotation title

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Currently the symbol name is displayed at the top when displaying symbol annotation. Add to this the dso long name. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike

[PATCH 33/47] perf annotate: Allow disassembly using /proc/kcore

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Annotation with /proc/kcore is possible so the logic is adjusted to allow it. The main difference is that /proc/kcore had no symbols so the parsing logic needed a tweak to read jump offsets. The other difference is that objdump cannot always read from kcore. That seems to

[PATCH 22/47] perf stat: Add support for --initial-delay option

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Andi Kleen When measuring workloads the startup phase -- doing page faults, dynamic linking, opening files -- is often very different from the rest of the workload. Especially with smaller kernels and using counter multiplexing this can give significant measurement errors. Multiplexing

Re:

2013-08-07 Thread Western Union
-- 750,000.00 USD deposit alert from Western Union. Send Your Name, Telephone Number, address, Occupation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 32/47] perf tests: Add kcore to the object code reading test

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Make the "object code reading" test attempt to read from kcore. The test uses objdump which struggles with kcore. i.e. doesn't always work, sometimes takes a long time. The test has been made to work around those issues. Signed-off-by: Adrian Hunter Cc: David Ahern Cc:

[PATCH 21/47] perf evsel: Add support for enabling counters

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Add support for enabling already set up counters by using an ioctl. I share some code with the filter setup. Signed-off-by: Andi Kleen Reviewed-by: Jiri Olsa Cc: Jiri Olsa Cc: Stephane Eranian Link:

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

2013-08-07 Thread Andrew Morton
On Wed, 7 Aug 2013 17:12:36 -0400 Ed Cashin wrote: > > On Aug 7, 2013, at 4:58 PM, Andrew Morton wrote: > > > On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > > > >> As discussed previously, > > > > I think I missed that. > > > >> the fact that some users of the block > >> layer

[PATCH 02/47] perf: Do not get values from disabled counters in group format read

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa It's possible some of the counters in the group could be disabled when sampling member of the event group is reading the rest via PERF_SAMPLE_READ sample type processing. Disabled counters could then produce wrong numbers. Fixing that by reading only enabled counters for

[PATCH 24/47] perf symbols: avoid SyS kernel syscall aliases

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter When removing duplicate symbols, prefer to remove syscall aliases starting with SyS or compat_SyS. A side-effect of that is that it results in slightly improved results for the "vmlinux symtab matches kallsyms" test. Signed-off-by: Adrian Hunter Cc: David Ahern Cc:

Re: [PATCH 00/26] STA2X11 devicetree support for amba/pci

2013-08-07 Thread H. Peter Anvin
On 08/07/2013 02:12 PM, Alessandro Rubini wrote: > > Would it make sense to work on devicetree support in x86 bootloaders > (especially yours, let's ignore grub)? > No, it's already there. ;) -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH 44/47] perf tools: Add support for pinned modifier

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Michael Ellerman This commit adds support for a new modifier "D", which requests that the event, or group of events, be pinned to the PMU. The "p" modifier is already taken for precise, and "P" may be used in future to mean "fully precise". So we use "D", which stands for pinneD - and

[PATCH 26/47] perf symbols: Load kernel maps before using

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter In order to use kernel maps to read object code, those maps must be adjusted to map to the dso file offset. Because lazy-initialization is used, that is not done until symbols are loaded. However the maps are first used by thread__find_addr_map() before symbols are loaded.

[PATCH 47/47] Revert "tools lib lk: Fix for cross build"

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Joonsoo Kim This reverts commit 079787f209416416383c74ea5d5044be2d586f5e. Below commit already resolve a cross build problem. I have been noticed this too lately. commit 3c4797d46c14fa0c7cf733a77bd4b28875078b53 Author: Rabin Vincent Date: Fri May 17 22:27:44 2013 +0200

[PATCH 25/47] perf tests: Add test for reading object code

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Using the information in mmap events, perf tools can read object code associated with sampled addresses. A test is added that compares bytes read by perf with the same bytes read using objdump. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo

[PATCH 37/47] perf annotate browser: Improve description of '?' hotkey

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The previous description: "Search previous string" is usually associated with the 'N' following a '/string', the opposite of 'n', which is 'Search next string' in the direction established with '/' or '?'. So change it to 'Search string backwards', to clarify

[PATCH 46/47] perf machine: Do not require /lib/modules/* on a guest

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jason Wessel For some types of work loads and special guest environments, you might have a kernel that has no kernel modules. The perf kvm record tool fails instantiate vmlinux maps when the kernel modules directory cannot be opened, even though the kallsyms has been properly processed.

[PATCH 28/47] perf tests: Adjust the vmlinux symtab matches kallsyms test

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The vmlinux maps now map to the dso and the symbol values are now file offsets. For comparison with kallsyms the virtual memory address is needed which is obtained by unmapping the symbol value. The "vmlinux symtab matches kallsyms" is adjusted accordingly. Signed-off-by:

[PATCH 31/47] perf tests: Adjust the vmlinux symtab matches kallsyms test again

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The kallsyms maps now may map to kcore and the symbol values now may be file offsets. For comparison with vmlinux the virtual memory address is needed which is obtained by unmapping the symbol value. The "vmlinux symtab matches kallsyms" is adjusted accordingly.

[PATCH 42/47] perf kvm stat report: Add option to analyze specific VM

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Add an option to analyze a specific VM within a data file. This allows the collection of kvm events for all VMs and then analyze data for each VM (or set of VMs) individually. Signed-off-by: David Ahern Reviewed-by: Xiao Guangrong Cc: Frederic Weisbecker Cc: Ingo Molnar

[PATCH 04/47] perf tools: Add support for parsing PERF_SAMPLE_READ sample type

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding support to parse out the PERF_SAMPLE_READ sample bits. The code contains both single and group format specification. This code parse out and prepare PERF_SAMPLE_READ data into the perf_sample struct. It will be used for group leader sampling feature comming in shortly.

[PATCH 27/47] perf tools: Make it possible to read object code from vmlinux

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The new "object code reading" test shows that it is not possible to read object code from vmlinux. That is because the mappings do not map to the dso. This patch fixes that. A side-effect of changing the kernel map is that the "reloc" offset must be taken into account. As

[PATCH 19/47] perf kvm: Split out tracepoints from record args

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Needed by kvm live command. Make record_args a local while we are messing with the args. Signed-off-by: David Ahern Reviewed-by: Xiao Guangrong Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Runzhen Wang Cc: Xiao Guangrong

[PATCH 40/47] perf kvm: Add live mode

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern perf kvm stat currently requires back to back record and report commands to see stats. e.g,. perf kvm stat record -p $pid -- sleep 1 perf kvm stat report This is inconvenvient for on box monitoring of a VM. This patch introduces a 'live' mode that in effect combines the

[PATCH 35/47] perf annotate: Remove nop at end of annotation

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter When kcore is used for annotation, symbols do not have correct sizes because they come from kallsyms, that has only its start address, with the end address being the next symbol's minus one. That sometimes results in an extra nop being seen after the end of a function.

[GIT PULL 00/47] perf/core improvements and fixes

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 93786a5f6aeb9c032c1c240246c5aabcf457b38f: watchdog: Make it work under full dynticks (2013-07-30 22:29:15 +0200) are available in the git repository at:

[PATCH 36/47] perf annotate: Add call target name if it is missing

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The /proc/kcore file has no symbols, so the call target name does not display. Fix by looking up the symbol name if it is on the same map. Reported-by: Arnaldo Carvalho de Melo Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc:

[PATCH 29/47] perf tools: Make it possible to read object code from kernel modules

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The new "object code reading" test shows that it is not possible to read object code from kernel modules. That is because the mappings do not map to the dsos. This patch fixes that. This involves identifying and flagging relocatable (ELF type ET_REL) files (e.g. kernel

Re: [PATCH 00/26] STA2X11 devicetree support for amba/pci

2013-08-07 Thread Alessandro Rubini
[stripped list of issues from my original message follows] >> Some of the problems he found are: >> >> * Passing a dtb to the kernel: we use a modified kexec at present >> * Passing correct irq numbers to the AMBA drivers >> * Switching to a new gpio driver with devicetree support

[PATCH 43/47] perf ui/gtk: Fix segmentation fault on perf_hpp__for_each_format loop

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The commit 2b8bfa6bb8a7 ("perf tools: Centralize default columns init in perf_hpp__init") moves initialization of common overhead column to perf_hpp__init() but forgot about the gtk code. So the gtk code added the same column to the list twice causing infinite loop when

Re: PREEMPT_RT vs bcache

2013-08-07 Thread Uwe Kleine-König
On Wed, Aug 07, 2013 at 01:53:57PM -0700, Kent Overstreet wrote: > On Wed, Aug 07, 2013 at 10:28:18PM +0200, Ben Hutchings wrote: > > As Kent said back in 2011 (commit 84759c6d18c5), bcache needs > > {down,up}_read_non_owner(). But these are not implemented by the -rt > > patchset when

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

2013-08-07 Thread Ed Cashin
On Aug 7, 2013, at 4:58 PM, Andrew Morton wrote: > On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > >> As discussed previously, > > I think I missed that. > >> the fact that some users of the block >> layer provide bios that point to pages with a zero _count means >> that it is not OK

[PATCH 41/47] perf kvm: Add min and max stats to display

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Add max and min times for exit events. v2: address Xiao's comment to use get_event function for pulling max and min from stats struct similar to mean and count Signed-off-by: David Ahern Reviewed-by: Xiao Guangrong Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa

[PATCH 30/47] perf symbols: Add support for reading from /proc/kcore

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter In the absence of vmlinux, perf tools uses kallsyms for symbols. If the user has access, now also map to /proc/kcore. The dso data_type is now set to either DSO_BINARY_TYPE__KCORE or DSO_BINARY_TYPE__GUEST_KCORE as approprite. This patch breaks the "vmlinux symtab matches

[PATCH 15/47] perf util: Add parse_nsec_time() function

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The parse_nsec_time() function is for parsing a string of time into 64-bit nsec value. It's a preparation of time filtering in some of perf commands. Signed-off-by: Namhyung Kim Tested-by: David Ahern Acked-by: David Ahern Cc: Andi Kleen Cc: David Ahern Cc: Ingo Molnar

[PATCH 03/47] perf evlist: Use PERF_EVENT_IOC_ID perf ioctl to read event id

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Changing the way we retrieve the event ID. Instead of parsing out the ID out of the read data, using the PERF_EVENT_IOC_ID ioctl. Keeping the old way in place to support kernels without PERF_EVENT_IOC_ID ioctl support. This will be useful for retrieving the event ID for events

[PATCH 01/47] perf: Add PERF_EVENT_IOC_ID ioctl to return event ID

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa The only way to get the event ID is by reading the event fd, followed by parsing the ID value out of the returned data. While this is ok for current read format used by perf tool, it is not ok when we use PERF_FORMAT_GROUP format. With this format the data are returned for the

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-07 Thread Myklebust, Trond
On Wed, 2013-08-07 at 22:01 +0100, Nix wrote: > On 7 Aug 2013, Trond Myklebust said: > > > On Wed, 2013-08-07 at 11:18 +0100, Nix wrote: > >> On 6 Aug 2013, Trond Myklebust verbalised: > >> > True. How about something like the following instead. Note the change to > >> > the original patch... >

Re: [edk2] Corrupted EFI region

2013-08-07 Thread Andrew Fish
On Aug 7, 2013, at 1:19 PM, Matt Fleming wrote: > [ Readding Matthew Garrett to the Cc list, seeing as we both got removed > for some unknown reason ] > > On Wed, 07 Aug, at 10:23:56AM, Andrew Fish wrote: > >> OK so I think I need some Cliff Notes here to help me understand what >> is going

Re: PREEMPT_RT vs bcache

2013-08-07 Thread Ben Hutchings
On Wed, 2013-08-07 at 13:53 -0700, Kent Overstreet wrote: > On Wed, Aug 07, 2013 at 10:28:18PM +0200, Ben Hutchings wrote: > > As Kent said back in 2011 (commit 84759c6d18c5), bcache needs > > {down,up}_read_non_owner(). But these are not implemented by the -rt > > patchset when PREEMPT_RT_FULL

Re: [PATCH] [TRIVIAL] ARM: msm: fix compilation error in gpiomux

2013-08-07 Thread Stephen Boyd
On 08/07, David Brown wrote: > On Wed, Aug 07, 2013 at 08:34:39AM +0200, Krzysztof Kozlowski wrote: > >Fix compilation error in gpiomux (CONFIG_MSM_GPIOMUX=y): > >arch/arm/mach-msm/gpiomux.c:24:13: error: static declaration of > > ???__msm_gpiomux_write??? follows non-static declaration >

Re: WARNING: CPU: 26 PID: 93793 at fs/ext4/inode.c:230 ext4_evict_inode+0x4c9/0x500 [ext4]() still in 3.11-rc3

2013-08-07 Thread Davidlohr Bueso
On Wed, 2013-08-07 at 20:45 +0200, Jan Kara wrote: > On Wed 07-08-13 11:08:43, Davidlohr Bueso wrote: > > Hi Jan, > > > > On Wed, 2013-08-07 at 17:20 +0200, Jan Kara wrote: > > > On Thu 01-08-13 20:58:46, Davidlohr Bueso wrote: > > > > On Thu, 2013-08-01 at 22:33 +0200, Jan Kara wrote: > > > > >

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Bob Smith
Greg Kroah-Hartman wrote: cat /dev/proxyctrl # what is the offset? echo 2 > /dev/proxyctrl # set offset to 2 You have language bindings right there in bash for this api, what you are saying is that you don't want to write new syscall bindings for new languages, which is

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-07 Thread Nix
On 7 Aug 2013, Trond Myklebust said: > On Wed, 2013-08-07 at 11:18 +0100, Nix wrote: >> On 6 Aug 2013, Trond Myklebust verbalised: >> > True. How about something like the following instead. Note the change to >> > the original patch... >> >> Well, with those applied I could reboot without a

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

2013-08-07 Thread Andrew Morton
On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > As discussed previously, the fact that some users of the block > layer provide bios that point to pages with a zero _count means > that it is not OK for the network layer to do a put_page on the > skb frags during an skb_linearize, so the aoe

[GIT PULL] msm cleanups for v3.12

2013-08-07 Thread David Brown
The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm.git for-3.12/msm-cleanup2 for you to fetch changes up to

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

2013-08-07 Thread Andrew Morton
On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > As discussed previously, I think I missed that. > the fact that some users of the block > layer provide bios that point to pages with a zero _count means > that it is not OK for the network layer to do a put_page on the > skb frags during an

[PATCH v3 2/2] mm: make lru_add_drain_all() selective

2013-08-07 Thread Chris Metcalf
This change makes lru_add_drain_all() only selectively interrupt the cpus that have per-cpu free pages that can be drained. This is important in nohz mode where calling mlockall(), for example, otherwise will interrupt every core unnecessarily. Signed-off-by: Chris Metcalf --- v3: split commit

[PATCH v3 1/2] workqueue: add new schedule_on_cpu_mask() API

2013-08-07 Thread Chris Metcalf
This primitive allows scheduling work to run on a particular set of cpus described by a "struct cpumask". This can be useful, for example, if you have a per-cpu variable that requires code execution only if the per-cpu variable has a certain value (for example, is a non-empty list).

Re: PREEMPT_RT vs bcache

2013-08-07 Thread Kent Overstreet
On Wed, Aug 07, 2013 at 10:28:18PM +0200, Ben Hutchings wrote: > As Kent said back in 2011 (commit 84759c6d18c5), bcache needs > {down,up}_read_non_owner(). But these are not implemented by the -rt > patchset when PREEMPT_RT_FULL is enabled. Can they be added, or is > there a fundamental

[PATCH] idr: Document ida tree sections

2013-08-07 Thread Kent Overstreet
On Wed, Aug 07, 2013 at 04:22:01PM -0400, Tejun Heo wrote: > Hello, Kent. > > On Wed, Aug 07, 2013 at 10:34:58AM -0700, Kent Overstreet wrote: > > + * So for 1 mb of memory (and allocating more than that should be fine with > > + * CONFIG_COMPACTION) you get slightly under 8 million IDs. > >

Re: [RFC][PATCH 3/2] x86/jump labels: Count and display the short jumps used

2013-08-07 Thread Linus Torvalds
On Wed, Aug 7, 2013 at 1:19 PM, Jason Baron wrote: > > The whole point of the thread started with wanting to move the default > 'disabled' branch further out-of-line. Yeah, but I always disagreed with that. Putting the unusual code out-of-line (as in "at the end of the function") is a good

Re: [PATCH v2] mm: make lru_add_drain_all() selective

2013-08-07 Thread Tejun Heo
On Tue, Aug 06, 2013 at 04:22:39PM -0400, Chris Metcalf wrote: > This change makes lru_add_drain_all() only selectively interrupt > the cpus that have per-cpu free pages that can be drained. > > This is important in nohz mode where calling mlockall(), for > example, otherwise will interrupt every

Re: [PATCH 26/26] pinctrl: add support for sta2x11 (via pinctrl-nomadik)

2013-08-07 Thread Alessandro Rubini
> Maybe you could add a commit message? Ack (Davide is holidays, I grant that for him). > Apart from that it looks like a straight-forward plug-in to the > Nomadik pin controller, so I'd happily apply it, but I guess it > will go in through the x86 tree? It's part of a bigger series, that adds

[PATCH] tile: fix some issues in hugepage support

2013-08-07 Thread Chris Metcalf
First, in huge_pte_offset(), we were erroneously checking pgd_present(), which is always true, rather than pud_present(), which is the thing that tells us if there is a top-level (L0) PTE. Fixing this means we properly look up huge page entries only when the Present bit is actually set in the PTE.

[PATCH] tile: implement gettimeofday() via vDSO

2013-08-07 Thread Chris Metcalf
This change creates the framework for vDSO calls, makes the existing rt_sigreturn() mechanism use it, and adds a fast gettimeofday(). Now that we need to expose the vDSO address to userspace, we add AT_SYSINFO_EHDR to the set of aux entries provided to userspace. (You can disable any extra vDSO

[PATCH] tile: make register dumps more readable

2013-08-07 Thread Chris Metcalf
It's much easier to read register dumps if you read vertically rather than horizontally, since the register numbers line up and lead the eye down more than to the right. Signed-off-by: Chris Metcalf --- arch/tile/kernel/process.c | 20 ++-- 1 file changed, 10 insertions(+), 10

[PATCH] arch/tile: provide traceability for hypervisor calls

2013-08-07 Thread Chris Metcalf
This change adds infrastructure (CONFIG_TILE_HVGLUE_TRACE) that provides C code wrappers for the calls the kernel makes to the Tilera hypervisor. This allows standard kernel infrastructure like FTRACE to be able to instrument hypervisor calls. To allow direct calls to the true API, we export

[PATCH] RAID: add tilegx SIMD implementation of raid6

2013-08-07 Thread Ken Steele
This change adds TILE-Gx SIMD instructions to the software raid (md), modeling the Altivec implementation. This is only for Syndrome generation; there is more that could be done to improve recovery, as in the recent Intel SSE3 recovery implementation. The code unrolls 8 times; this turns out to

[PATCH] tile: improve big-endian support

2013-08-07 Thread Chris Metcalf
First, fix a bug in asm/unaligned.h; we need to just use the asm-generic unaligned.h so we properly choose endian-correct flavors. Second, keep the hv/hypervisor.h ABI fully "native" in the sense that we don't have __BIG_ENDIAN__ ifdefs there. Instead, we use macros in the head_NN.S assembly

[PATCH] tile: avoid struct vm_struct leak

2013-08-07 Thread Chris Metcalf
If ioreamp_prot() fails in ioremap_page_range() due to kernel memory exhaustion, we previously would leak a struct vm_struct. Signed-off-by: Chris Metcalf --- arch/tile/mm/pgtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/tile/mm/pgtable.c

<    1   2   3   4   5   6   7   8   9   10   >