Re: [PATCH 00/13] UAPI header file split

2012-07-25 Thread David Howells
Michael Kerrisk mtk.manpa...@gmail.com wrote: 4. DISINTEGRATE MARKERS LEFT OVER (?) Some of the DISINTEGRATE markers that you create during the scripting process are left in the final uapi files. Was this intentional? Ummm... no, there shouldn't be any. Certainly the marker has

Re: [PATCH 03/17] perf, x86: Add copy_from_user_nmi_nochk for best effort copy

2012-07-25 Thread Frederic Weisbecker
On Wed, Jul 25, 2012 at 07:30:31PM +0200, Jiri Olsa wrote: On Wed, Jul 25, 2012 at 07:16:43PM +0200, Jiri Olsa wrote: On Wed, Jul 25, 2012 at 06:11:53PM +0200, Frederic Weisbecker wrote: On Sun, Jul 22, 2012 at 02:14:26PM +0200, Jiri Olsa wrote: Adding copy_from_user_nmi_nochk that

Re: [PATCH] firmware: remove computone driver firmware and documentation

2012-07-25 Thread Tim Gardner
On 07/25/2012 11:30 AM, Paul Gortmaker wrote: For future reference, the option --irreversible-delete to format-patch is a nice way to avoid sending hundreds of lines of meaningless binary data in e-mail. Noted. There'll be more to come... rtg -- Tim Gardner tim.gard...@canonical.com --

[PATCH] random: mix in architectural randomness in extract_buf()

2012-07-25 Thread H. Peter Anvin
From: H. Peter Anvin h...@linux.intel.com RDRAND is so much faster than the Linux pool system that we can always just mix in architectural randomness. Doing this in extract_buf() lets us do this in one convenient place, unfortunately the output size (10 bytes) is maximally awkward. That, plus

Re: [PATCH 02/17] perf: Add ability to attach user level registers dump to sample

2012-07-25 Thread Stephane Eranian
On Sun, Jul 22, 2012 at 2:14 PM, Jiri Olsa jo...@redhat.com wrote: Introducing PERF_SAMPLE_REGS_USER sample type bit to trigger the dump of user level registers on sample. Registers we want to dump are specified by sample_regs_user bitmask. Only user level registers are dumped at the moment.

[PATCH 04/19] perf kvm: Fix bug resolving guest kernel syms

2012-07-25 Thread Arnaldo Carvalho de Melo
From: David Ahern dsah...@gmail.com Guest kernel symbols are not resolved despite passing the information needed to resolve them. e.g., perf kvm --guest --guestmount=/tmp/guest-mount record -a -- sleep 1 perf kvm --guest --guestmount=/tmp/guest-mount report --stdio 36.55% [guest/11399]

[PATCH 15/19] perf tools: use XSI-complaint version of strerror_r() instead of GNU-specific

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Kirill A. Shutemov kir...@shutemov.name Perf uses GNU-specific version of strerror_r(). The GNU-specific strerror_r() returns a pointer to a string containing the error message. This may be either a pointer to a string that the function stores in buf, or a pointer to some (immutable)

[PATCH 17/19] tools lib traceevent: Detect build environment changes

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Cross compiling perf requires setting ARCH and CROSS_COMPILE variables, but libtraceevent couldn't detect the changes so it ends up believing no recompiling is required. Thus the linker failed like: LINK perf ../lib/traceevent//libtraceevent.a:

[PATCH 01/19] perf symbols: Add machine id to modules debug message

2012-07-25 Thread Arnaldo Carvalho de Melo
From: David Ahern dsah...@gmail.com Current debug message is: Problems creating module maps, continuing anyway... When running multiple VMs it would be nice to know which machine the message is referring to: $ perf kvm --guest --guestmount=/tmp/guest-mount record -av -- sleep 10 Problems

[PATCH 16/19] perf tools: Fix build error with bison 2.6

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Kirill A. Shutemov kir...@shutemov.name Bison 2.6 started to generate parse_events_parse() declaration in header. In this case we have redundant redeclaration: util/parse-events.c:29:5: error: redundant redeclaration of ‘parse_events_parse’ [-Werror=redundant-decls] In file included from

[PATCH 06/19] perf tools: Dump exclude_{guest,host}, precise_ip header info too

2012-07-25 Thread Arnaldo Carvalho de Melo
From: David Ahern dsah...@gmail.com Adds the attributes to the event line in the header dump. From: event : name = cycles, type = 0, config = 0x0, config1 = 0x0, config2 = 0x0, excl_usr = 0, excl_kern = 0, ... to event : name = cycles, type = 0, config = 0x0, config1 = 0x0, config2

[PATCH 12/19] perf symbols: Add dso data caching

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding dso data caching so we don't need to open/read/close, each time we want dso data. The DSO data caching affects following functions: dso__data_read_offset dso__data_read_addr Each DSO read tries to find the data (based on offset) inside the cache. If

[PATCH 10/19] perf symbols: Factor DSO symtab types to generic binary types

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding interface to access DSOs so it could be used from another place. New DSO binary type is added - making current SYMTAB__* types more general: DSO_BINARY_TYPE__* = SYMTAB__* Following function is added to return path based on the specified binary type:

[PATCH 18/19] tools lib traceevent: Ignore TRACEEVENT-CFLAGS file

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com The TRACEEVENT-CFLAGS file is used to detect any change on compiler flags. Just ignore it. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: David Ahern dsah...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc: Jiri Olsa jo...@redhat.com Cc: Paul Mackerras

[PATCH 19/19] perf annotate: Prevent overflow in size calculation

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Cody Schafer c...@linux.vnet.ibm.com A large enough symbol size causes an overflow in the size parameter to the histogram allocation, leading to a segfault in symbol__inc_addr_samples later on when this histogram is accessed. In the case of being called via perf-report, this returns back

[PATCH 11/19] perf symbols: Add interface to read DSO image data

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding following interface for DSO object to allow reading of DSO image data: dso__data_fd - opens DSO and returns file descriptor Binary types are used to locate/open DSO in following order: DSO_BINARY_TYPE__BUILD_ID_CACHE

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

2012-07-25 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, Best Regards, - Arnaldo The following changes since commit 6e0f17be0361444862637e8986c8c1a3b3f8dcf8: Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace into perf/core (2012-07-18 11:18:00 +0200) are

[PATCH 13/19] perf test: Add dso data caching tests

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding automated test for DSO data reading. Testing raw/cached reads from different file/cache locations. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arun Sharma asha...@fb.com Cc: Benjamin Redelings benjamin.redeli...@nescent.org Cc: Corey Ashford

Re: virtio(-scsi) vs. chained sg_lists (was Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list)

2012-07-25 Thread Paolo Bonzini
Il 25/07/2012 17:28, Boaz Harrosh ha scritto: 1) what I get is a scsi_cmnd which contains an N-element scatterlist. 2) virtio-scsi has to build the packet that is passed to the hardware (it does not matter that the hardware is virtual). This packet (per virtio-scsi spec) has an N+1-element

[PATCH 08/19] perf tools: Fix trace events storms due to weight demux

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Frederic Weisbecker fweis...@gmail.com Trace events have a period (weight) of 1 by default. This can be overriden on events definition by using the __perf_count() macro. For example, the sched_stat_runtime() is weighted with the runtime of the task that fired the event. By default, perf

[PATCH 14/19] perf tools: Make the breakpoint events sample period default to 1

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Jovi Zhang bookj...@gmail.com There have one problem about hw_breakpoint perf event, as watched, the events reported to userspace is not correctly, sometime one trigger bp_event report several events, sometime bp_event cannot go through to user. The root cause is attr-freq is 1 passed to

[PATCH 09/19] perf hists: Print newline between hists callchains

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Frederic Weisbecker fweis...@gmail.com Tiny cosmetic fix. The lack of a newline between hists callchains was looking slightly messy. Before: 0.24% swapper [kernel.kallsyms] [k] _raw_spin_lock_irq | --- _raw_spin_lock_irq

[PATCH 02/19] perf kvm: Set name for VM process in guest machine

2012-07-25 Thread Arnaldo Carvalho de Melo
From: David Ahern dsah...@gmail.com COMM events are not generated in the context of a guest machine, so the thread name is never set for the VMM process. For example, the qemu-kvm name applies to the process in the host machine, not the guest machine. So, samples for guest machines are currently

[PATCH 07/19] perf hists: Return correct number of characters printed in callchain

2012-07-25 Thread Arnaldo Carvalho de Melo
From: Frederic Weisbecker fweis...@gmail.com Include the omitted number of characters printed for the first entry. Not that it really matters because nobody seem to care about the number of printed characters for now. But just in case. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc:

[PATCH 03/19] perf kvm: Guest userspace samples should not be lumped with host uspace

2012-07-25 Thread Arnaldo Carvalho de Melo
From: David Ahern dsah...@gmail.com e.g., perf kvm --host --guest report -i perf.data --stdio -D shows: 1 599127912065356 0x143b8 [0x48]: PERF_RECORD_SAMPLE(IP, 5): 5671/5676: 0x7fdf95a061c0 period: 1 addr: 0 ... chain: nr:2 . 0: ff80 . 1: fe00 ... thread:

[PATCH 05/19] perf kvm: Limit repetitive guestmount message to once per directory

2012-07-25 Thread Arnaldo Carvalho de Melo
From: David Ahern dsah...@gmail.com After 7ed97ad use of the guestmount option without a subdir for *each* VM generates an error message for each sample related to that VM. Once per VM is enough. Signed-off-by: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo

Re: [PATCH] add blockconsole version 1.1

2012-07-25 Thread Jörn Engel
On Wed, 25 July 2012 09:17:09 +0100, Tvrtko Ursulin wrote: As far as I know there is nothing like netpoll in the block layer so it has to be a lot less reliable than netconsole. Especially with delaying write out to a workqueue. Anyway, I am not arguing, just saying in my opinion those

[PATCH net-next,1/2] hyperv: Add a check for ring_size value

2012-07-25 Thread Haiyang Zhang
It prevents ring_size being set to a too small value. Reported-by: Jason Wang jasow...@redhat.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c |7 ++- 1 files changed, 6 insertions(+), 1

[PATCH net-next,2/2] hyperv: Add error handling to rndis_filter_device_add()

2012-07-25 Thread Haiyang Zhang
Reported-by: Jason Wang jasow...@redhat.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git

Re: [PATCH 15/19] perf tools: use XSI-complaint version of strerror_r() instead of GNU-specific

2012-07-25 Thread Kirill A. Shutemov
Could you take subject from updated patch? This one: perf: fix strerror_r() usage -- Kirill A. Shutemov -- 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

Re: [PATCH 5/6] rbtree: faster augmented erase

2012-07-25 Thread Rik van Riel
On 07/23/2012 09:54 PM, Michel Lespinasse wrote: Add an augmented tree rotation callback to __rb_erase_color(), so that augmented tree information can be maintained while rebalancing. Also introduce rb_erase_augmented(), which is a version of rb_erase() with augmented tree callbacks. We need

Re: [PATCH 4/6] rbtree: faster augmented insert

2012-07-25 Thread Rik van Riel
On 07/20/2012 08:31 AM, Michel Lespinasse wrote: Introduce rb_insert_augmented(), which is a version of rb_insert_color() with an added callback on tree rotations. This can be used for insertion into an augmented tree: the handcoded search phase must be updated to maintain the augmented

Re: [PATCH v2 1/4] ACPI: Add acpi_pr_level() interfaces

2012-07-25 Thread Toshi Kani
On Wed, 2012-07-25 at 00:06 -0700, Joe Perches wrote: On Fri, 2012-07-20 at 10:54 -0600, Toshi Kani wrote: This patch introduces acpi_pr_level(), where level is a message level such as err/warn/info, to support improved logging messages for ACPI, esp. in hotplug operations. acpi_pr_level()

Re: [PATCH 6/6] rbtree: remove prior augmented rbtree implementation

2012-07-25 Thread Rik van Riel
On 07/23/2012 09:55 PM, Michel Lespinasse wrote: convert arch/x86/mm/pat_rbtree.c to the proposed augmented rbtree api and remove the old augmented rbtree implementation. Signed-off-by: Michel Lespinasse wal...@google.com Acked-by: Rik van Riel r...@redhat.com I'm looking forward to using

Re: [PATCH 15/34] mm: migration: clean up unmap_and_move()

2012-07-25 Thread Greg KH
On Wed, Jul 25, 2012 at 05:04:34PM +0100, Mel Gorman wrote: On Wed, Jul 25, 2012 at 08:45:26AM -0700, Greg KH wrote: On Mon, Jul 23, 2012 at 02:38:28PM +0100, Mel Gorman wrote: commit 0dabec93de633a87adfbbe1d800a4c56cd19d73b upstream. Stable note: Not tracked in Bugzilla. This patch

Re: [PATCH 02/10] consider a memcg parameter in kmem_create_cache

2012-07-25 Thread Kirill A. Shutemov
On Wed, Jul 25, 2012 at 06:38:13PM +0400, Glauber Costa wrote: ... @@ -337,6 +341,12 @@ extern void *__kmalloc_track_caller(size_t, gfp_t, unsigned long); __kmalloc(size, flags) #endif /* DEBUG_SLAB */ +#ifdef CONFIG_MEMCG_KMEM +#define MAX_KMEM_CACHE_TYPES 400 +#else +#define

Re: [PATCH v2 1/4] ACPI: Add acpi_pr_level() interfaces

2012-07-25 Thread Joe Perches
On Wed, 2012-07-25 at 11:53 -0600, Toshi Kani wrote: On Wed, 2012-07-25 at 00:06 -0700, Joe Perches wrote: On Fri, 2012-07-20 at 10:54 -0600, Toshi Kani wrote: This patch introduces acpi_pr_level(), where level is a message level such as err/warn/info, to support improved logging messages

Re: [PATCH] scripts/kernel-doc: added support for html5

2012-07-25 Thread Randy Dunlap
On 07/25/2012 06:38 AM, Dan Luedtke wrote: New output option html5 writes validating HTML5 and adds CSS classes ready to be selected by third-party stylesheets. Signed-off-by: Dan Luedtke m...@danrl.de --- scripts/kernel-doc | 255 ++--

Re: [PATCH v4 24/25] memcg/slub: shrink dead caches

2012-07-25 Thread Glauber Costa
On 07/25/2012 07:23 PM, Christoph Lameter wrote: On Fri, 20 Jul 2012, Glauber Costa wrote: This is the same btw in SLAB which keeps objects in per cpu caches and keeps empty slab pages on special queues. This patch marks all memcg caches as dead. kmem_cache_shrink is called for the ones

Re: [PATCH 10/10] memcg/sl[au]b: shrink dead caches

2012-07-25 Thread Glauber Costa
On 07/25/2012 09:13 PM, Christoph Lameter wrote: On Wed, 25 Jul 2012, Glauber Costa wrote: In the slub allocator, when the last object of a page goes away, we don't necessarily free it - there is not necessarily a test for empty page in any slab_free path. That is true for the slab

Re: [RFC PATCH 0/6] CPU hotplug: Reverse invocation of notifiers during CPU hotplug

2012-07-25 Thread Srivatsa S. Bhat
On 07/25/2012 10:00 PM, Thomas Gleixner wrote: On Wed, 25 Jul 2012, Srivatsa S. Bhat wrote: On 07/25/2012 08:27 PM, Alan Stern wrote: One of the other ideas to improve the hotplug notifier stuff that came up during some of the discussions was to implement explicit dependency tracking between

RE: [PATCH] debug: Do not permit CONFIG_DEBUG_STACK_USAGE=y on IA64 or PARISC

2012-07-25 Thread Luck, Tony
Since the problem is an invalid assumption about how the stack grows, why not just condition it on that. We actually have a config option for this: CONFIG_STACK_GROWSUP. But for some reason ia64 doesn't define this, why not, Tony? It looks deliberate because you have replaced a lot of

Re: [tpmdd-devel] [PATCH 2/3] TPM: Close data_pending and data_buffer races

2012-07-25 Thread Kent Yoder
Hi, On Wed, Jan 11, 2012 at 05:43:31PM -0200, Rajiv Andrade wrote: On Tue, 27 Dec 2011, Mimi Zohar wrote: On Fri, 2011-12-23 at 07:25 -0700, Tim Gardner wrote: On 12/22/2011 01:02 PM, Rajiv Andrade wrote: snip It's inside the mutex region. Actually, the patch you

Re: [PATCH 15/19] perf tools: use XSI-complaint version of strerror_r() instead of GNU-specific

2012-07-25 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 25, 2012 at 08:54:59PM +0300, Kirill A. Shutemov escreveu: Could you take subject from updated patch? This one: perf: fix strerror_r() usage Sorry, missed that :-\ I think it was because you didn't send the new patch on its own, but keeping the old subject line and inlining the

Re: [PATCH -mm] remove __GFP_NO_KSWAPD

2012-07-25 Thread Rik van Riel
On 07/24/2012 07:34 PM, Minchan Kim wrote: Hi Rik, On Tue, Jul 24, 2012 at 11:12:22AM -0400, Rik van Riel wrote: When transparent huge pages were introduced, memory compaction and swap storms were an issue, and the kernel had to be careful to not make THP allocations cause pageout or

Re: [PATCH 05/10] slab: allow enable_cpu_cache to use preset values for its tunables

2012-07-25 Thread Glauber Costa
On 07/25/2012 09:05 PM, Christoph Lameter wrote: On Wed, 25 Jul 2012, Glauber Costa wrote: SLAB allows us to tune a particular cache behavior with tunables. When creating a new memcg cache copy, we'd like to preserve any tunables the parent cache already had. So does SLUB but I do not see

Re: [PATCH 02/17] perf: Add ability to attach user level registers dump to sample

2012-07-25 Thread Jiri Olsa
On Wed, Jul 25, 2012 at 07:39:18PM +0200, Stephane Eranian wrote: On Sun, Jul 22, 2012 at 2:14 PM, Jiri Olsa jo...@redhat.com wrote: SNIP + if (sample_type PERF_SAMPLE_REGS_USER) { + u64 avail = (data-regs_user != NULL); + + /* +* If

Re: [PATCH] acpi : create sun sysfs file in container device

2012-07-25 Thread Toshi Kani
Yasuaki Ishimatsu wrote: There is no comment on the patch about a month. But I want to merge the patch into linux-3.6. So I resend it. --- Even if container device has _SUN method, the method is ignored. So we cannot know slot-unique ID number of the container device. The patch creates sun

[PATCH] ixp4xx: Declare MODULE_FIRMWARE usage

2012-07-25 Thread Tim Gardner
Cc: Krzysztof Halasa k...@pm.waw.pl Cc: Imre Kaloz ka...@openwrt.org Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Tim Gardner tim.gard...@canonical.com --- arch/arm/mach-ixp4xx/ixp4xx_npe.c |9 - 1 file changed, 8 insertions(+), 1

Re: [RFC] page-table walkers vs memory order

2012-07-25 Thread Paul E. McKenney
On Tue, Jul 24, 2012 at 02:51:05PM -0700, Hugh Dickins wrote: On Mon, 23 Jul 2012, Peter Zijlstra wrote: While staring at mm/huge_memory.c I found a very under-commented smp_wmb() in __split_huge_page_map(). It turns out that its copied from __{pte,pmd,pud}_alloc() but forgot the useful

Re: [PATCH 05/10] slab: allow enable_cpu_cache to use preset values for its tunables

2012-07-25 Thread Christoph Lameter
On Wed, 25 Jul 2012, Glauber Costa wrote: It is certainly not through does the same method as SLAB, right ? Writing to /proc/slabinfo gives me an I/O error I assume it is something through sysfs, but schiming through the code now, I can't find any per-cache tunables. Would you mind pointing

Re: [PATCH v2 1/4] ACPI: Add acpi_pr_level() interfaces

2012-07-25 Thread Toshi Kani
On Wed, 2012-07-25 at 11:11 -0700, Joe Perches wrote: On Wed, 2012-07-25 at 11:53 -0600, Toshi Kani wrote: On Wed, 2012-07-25 at 00:06 -0700, Joe Perches wrote: On Fri, 2012-07-20 at 10:54 -0600, Toshi Kani wrote: This patch introduces acpi_pr_level(), where level is a message level

RE: [PATCH] ia64: rename platform_* to ia64_platform_*

2012-07-25 Thread Luck, Tony
Is platform_name particularly special? Yes. It is the symbol that is currently colliding with other subsystem namespace. Perhaps it's be better to rename all the other platform_foo uses to ia64_platform_foo That's good point in general, oh well I just wanted to make the minimal change..

Re: drm/nouveau: crash regression in 3.5

2012-07-25 Thread Marcin Slusarz
On Wed, Jul 25, 2012 at 10:46:49AM +0200, Ortwin Glück wrote: Does it work if you boot without X and modprobe nouveau manually? If it does, can you disable page flipping in xorg.conf (Option PageFlip 0 in nouveau device section) and recheck with X? It happens long before X, when the

RE: [PATCH] ia64: rename platform_* to ia64_platform_*

2012-07-25 Thread Joe Perches
On Wed, 2012-07-25 at 18:37 +, Luck, Tony wrote: Is platform_name particularly special? Yes. It is the symbol that is currently colliding with other subsystem namespace. Perhaps it's be better to rename all the other platform_foo uses to ia64_platform_foo That's good point in

Re: [PATCH v2] leds: add new lp8788 led driver

2012-07-25 Thread Mark Brown
On Wed, Jul 25, 2012 at 12:46:56PM +0800, Bryan Wu wrote: I'm going to Ack this driver and Mark will you merge this as whole patchset? Acked-by: Bryan Wu bryan...@canonical.com It's an MFD so Samuel would normally apply if it were going via the MFD tree, though if the dependencies are correct

Re: [PATCH 01/10] random: make 'add_interrupt_randomness()' do something sane

2012-07-25 Thread Thomas Gleixner
On Fri, 6 Jul 2012, Linus Torvalds wrote: On Fri, Jul 6, 2012 at 6:01 AM, Theodore Ts'o ty...@mit.edu wrote: What in the world is fast count? I've grepped for it, and I can't find it. It's your own fast-pool counter that Matt was talking about. I can simply not credit entropy of the

Re: [PATCH, RFC 0/6] Avoid cache trashing on clearing huge/gigantic page

2012-07-25 Thread Christoph Lameter
On Fri, 20 Jul 2012, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com Clearing a 2MB huge page will typically blow away several levels of CPU caches. To avoid this only cache clear the 4K area around the fault address and use a cache avoiding clears for the

Re: [Xen-devel] [PATCH WIP 6/6] xen/arm: enable evtchn irqs

2012-07-25 Thread Konrad Rzeszutek Wilk
On Fri, Jul 20, 2012 at 04:23:07PM +0100, Stefano Stabellini wrote: On Fri, 20 Jul 2012, Konrad Rzeszutek Wilk wrote: On Fri, Jul 20, 2012 at 12:09:56PM +0100, Stefano Stabellini wrote: On Fri, 20 Jul 2012, Konrad Rzeszutek Wilk wrote: OK, please include those questions/answers in the

[PATCH -mm] remove __GFP_NO_KSWAPD fixes

2012-07-25 Thread Rik van Riel
Turns out I missed two spots where __GFP_NO_KSWAPD is used. The removal from the trace code is obvious, since the flag got removed there is no need to print it. For mtdcore.c, now that memory compaction has been fixed, we should no longer see large swap storms from an attempt to allocate a large

Re: [PATCH 15/19] perf tools: use XSI-complaint version of strerror_r() instead of GNU-specific

2012-07-25 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: Em Wed, Jul 25, 2012 at 08:54:59PM +0300, Kirill A. Shutemov escreveu: Could you take subject from updated patch? This one: perf: fix strerror_r() usage Sorry, missed that :-\ I think it was because you didn't send the new patch

Re: [PATCH] leds: triggers: send uevent when changing triggers

2012-07-25 Thread Colin Cross
On Tue, Jul 24, 2012 at 11:11 PM, Bryan Wu bryan...@canonical.com wrote: On Wed, Jul 25, 2012 at 8:32 AM, Colin Cross ccr...@android.com wrote: Some triggers create sysfs files when they are enabled. Send a uevent change notification whenever the trigger is changed to allow userspace

Re: [RFC PATCH 00/13] firmware loader: introduce cache/uncache firmware

2012-07-25 Thread Rafael J. Wysocki
On Wednesday, July 25, 2012, Linus Torvalds wrote: On Wed, Jul 25, 2012 at 5:35 AM, Ming Lei ming@canonical.com wrote: The below patch should fix the problem above. Actually, I think we could make this even simpler. There's nothing wrong with saying user mode is enabled *just*

Re: linux-next: manual merge of the akpm tree with the tip tree

2012-07-25 Thread Andrew Morton
On Wed, 25 Jul 2012 09:35:03 +0200 Johannes Weiner han...@cmpxchg.org wrote: As this is unlikely to reappear in this merge window, the conflict resolution is quite simple. All that's needed is remove the 3 hunks from my patch that converted a user in Peter's patch to a new API. I can resend

Re: linux-next: manual merge of the akpm tree with the tip tree

2012-07-25 Thread Ingo Molnar
* Andrew Morton a...@linux-foundation.org wrote: On Wed, 25 Jul 2012 09:35:03 +0200 Johannes Weiner han...@cmpxchg.org wrote: As this is unlikely to reappear in this merge window, the conflict resolution is quite simple. All that's needed is remove the 3 hunks from my patch that

[PATCH] igb: correct hardware type (i210/i211) check in igb_loopback_test()

2012-07-25 Thread Jesper Juhl
In the original code ... if ((adapter-hw.mac.type == e1000_i210) || (adapter-hw.mac.type == e1000_i210)) { ... the second check of 'adapter-hw.mac.type' is pointless since it tests for the exact same value as the first. After reading through a few other parts of the driver

[PATCH] staging rtl8192e: Declare MODULE_FIRMWARE usage

2012-07-25 Thread Tim Gardner
Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Larry Finger larry.fin...@lwfinger.net Cc: Mike McCormack mi...@ring3k.org Cc: wlanfae wlan...@realtek.com Cc: Sean MacLennan se...@seanm.ca Cc: de...@driverdev.osuosl.org Signed-off-by: Tim Gardner tim.gard...@canonical.com ---

RE: [PATCH] igb: correct hardware type (i210/i211) check in igb_loopback_test()

2012-07-25 Thread Wyborny, Carolyn
-Original Message- From: Jesper Juhl [mailto:j...@chaosbits.net] Sent: Wednesday, July 25, 2012 12:06 PM To: linux-kernel@vger.kernel.org Cc: net...@vger.kernel.org; e1000-de...@lists.sourceforge.net; Wyborny, Carolyn; Pieper, Jeffrey E; Kirsher, Jeffrey T; Rick Jones; Ronciak, John;

[tip:perf/core] perf symbols: Add machine id to modules debug message

2012-07-25 Thread tip-bot for David Ahern
Commit-ID: f51304d3fe4fee475991ee424a4b7f85eec65a7b Gitweb: http://git.kernel.org/tip/f51304d3fe4fee475991ee424a4b7f85eec65a7b Author: David Ahern dsah...@gmail.com AuthorDate: Fri, 20 Jul 2012 17:25:46 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 23 Jul

[tip:perf/core] perf kvm: Set name for VM process in guest machine

2012-07-25 Thread tip-bot for David Ahern
Commit-ID: 5cd95c2db479aa7a66f6fa572dfa410c6314c78e Gitweb: http://git.kernel.org/tip/5cd95c2db479aa7a66f6fa572dfa410c6314c78e Author: David Ahern dsah...@gmail.com AuthorDate: Fri, 20 Jul 2012 17:25:47 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul

Re: virtio(-scsi) vs. chained sg_lists (was Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list)

2012-07-25 Thread Boaz Harrosh
On 07/25/2012 08:43 PM, Paolo Bonzini wrote: Il 25/07/2012 17:28, Boaz Harrosh ha scritto: 1) what I get is a scsi_cmnd which contains an N-element scatterlist. 2) virtio-scsi has to build the packet that is passed to the hardware (it does not matter that the hardware is virtual). This

[tip:perf/core] perf kvm: Guest userspace samples should not be lumped with host uspace

2012-07-25 Thread tip-bot for David Ahern
Commit-ID: 7c0f4a4113ba5de7898c246eeaeee4c23d94b887 Gitweb: http://git.kernel.org/tip/7c0f4a4113ba5de7898c246eeaeee4c23d94b887 Author: David Ahern dsah...@gmail.com AuthorDate: Fri, 20 Jul 2012 17:25:48 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul

[tip:perf/core] perf kvm: Fix bug resolving guest kernel syms

2012-07-25 Thread tip-bot for David Ahern
Commit-ID: adb5d2a487c55e5ca2ecc0b73c8f592e95d292c7 Gitweb: http://git.kernel.org/tip/adb5d2a487c55e5ca2ecc0b73c8f592e95d292c7 Author: David Ahern dsah...@gmail.com AuthorDate: Fri, 20 Jul 2012 17:25:49 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul

[PATCH] igb: don't break user visible strings over multiple lines in igb_ethtool.c

2012-07-25 Thread Jesper Juhl
Even when they go beyond 80 characters, user visible strings should be on one line to make them easy to grep for. Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/net/ethernet/intel/igb/igb_ethtool.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) This

[tip:perf/core] perf kvm: Limit repetitive guestmount message to once per directory

2012-07-25 Thread tip-bot for David Ahern
Commit-ID: c80c3c269011c67b8dabef5238af44a6d94e4d0e Gitweb: http://git.kernel.org/tip/c80c3c269011c67b8dabef5238af44a6d94e4d0e Author: David Ahern dsah...@gmail.com AuthorDate: Fri, 20 Jul 2012 17:25:51 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul

Re: linux-next: manual merge of the akpm tree with the tip tree

2012-07-25 Thread Johannes Weiner
On Wed, Jul 25, 2012 at 11:57:13AM -0700, Andrew Morton wrote: On Wed, 25 Jul 2012 09:35:03 +0200 Johannes Weiner han...@cmpxchg.org wrote: As this is unlikely to reappear in this merge window, the conflict resolution is quite simple. All that's needed is remove the 3 hunks from my

[tip:perf/core] perf tools: Dump exclude_{guest,host}, precise_ip header info too

2012-07-25 Thread tip-bot for David Ahern
Commit-ID: 78b961ff8e67207adb15959526cdea4cc50ae1ed Gitweb: http://git.kernel.org/tip/78b961ff8e67207adb15959526cdea4cc50ae1ed Author: David Ahern dsah...@gmail.com AuthorDate: Fri, 20 Jul 2012 17:25:52 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul

[tip:perf/core] perf hists: Return correct number of characters printed in callchain

2012-07-25 Thread tip-bot for Frederic Weisbecker
Commit-ID: 8760db726e2afcd1a78e2ff58965c6b35a5826cb Gitweb: http://git.kernel.org/tip/8760db726e2afcd1a78e2ff58965c6b35a5826cb Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Wed, 18 Jul 2012 19:10:55 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] perf tools: Fix trace events storms due to weight demux

2012-07-25 Thread tip-bot for Frederic Weisbecker
Commit-ID: 0983cc0dbca45250cbb5984bec7c303ac265b8e5 Gitweb: http://git.kernel.org/tip/0983cc0dbca45250cbb5984bec7c303ac265b8e5 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Wed, 18 Jul 2012 19:10:54 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] perf hists: Print newline between hists callchains

2012-07-25 Thread tip-bot for Frederic Weisbecker
Commit-ID: 6654f5d8bdaa438b1e60dfeb90f9d46ca969c012 Gitweb: http://git.kernel.org/tip/6654f5d8bdaa438b1e60dfeb90f9d46ca969c012 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Wed, 18 Jul 2012 19:10:56 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] perf symbols: Factor DSO symtab types to generic binary types

2012-07-25 Thread tip-bot for Jiri Olsa
Commit-ID: 44f24cb3156a1e7d2b6bb501b7f6153aed08994c Gitweb: http://git.kernel.org/tip/44f24cb3156a1e7d2b6bb501b7f6153aed08994c Author: Jiri Olsa jo...@redhat.com AuthorDate: Sun, 22 Jul 2012 14:14:32 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul 2012

[tip:perf/core] perf symbols: Add interface to read DSO image data

2012-07-25 Thread tip-bot for Jiri Olsa
Commit-ID: 949d160b6962c13fc071afefa22997780fcc94a5 Gitweb: http://git.kernel.org/tip/949d160b6962c13fc071afefa22997780fcc94a5 Author: Jiri Olsa jo...@redhat.com AuthorDate: Sun, 22 Jul 2012 14:14:33 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul 2012

Re: [PATCH 01/10] slab/slub: struct memcg_params

2012-07-25 Thread Kirill A. Shutemov
On Wed, Jul 25, 2012 at 06:38:12PM +0400, Glauber Costa wrote: For the kmem slab controller, we need to record some extra information in the kmem_cache structure. Signed-off-by: Glauber Costa glom...@parallels.com Signed-off-by: Suleiman Souhlal sulei...@google.com CC: Christoph Lameter

Re: linux-next: manual merge of the akpm tree with the tip tree

2012-07-25 Thread Andrew Morton
On Wed, 25 Jul 2012 21:03:51 +0200 Ingo Molnar mi...@kernel.org wrote: This means that if the above code reappears in linux-next or mainline, the current copy of mm-memcg-fix-compaction-migration-failing-due-to-memcg-limits.patch will no longer update it, and I probably won't notice

[tip:perf/core] perf symbols: Add dso data caching

2012-07-25 Thread tip-bot for Jiri Olsa
Commit-ID: 4dff624ae05bf3fb89f7653b3a55e7a5f1f1dadf Gitweb: http://git.kernel.org/tip/4dff624ae05bf3fb89f7653b3a55e7a5f1f1dadf Author: Jiri Olsa jo...@redhat.com AuthorDate: Sun, 22 Jul 2012 14:14:39 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul 2012

Re: [PATCH 01/10] slab/slub: struct memcg_params

2012-07-25 Thread Glauber Costa
On 07/25/2012 11:26 PM, Kirill A. Shutemov wrote: On Wed, Jul 25, 2012 at 06:38:12PM +0400, Glauber Costa wrote: For the kmem slab controller, we need to record some extra information in the kmem_cache structure. Signed-off-by: Glauber Costa glom...@parallels.com Signed-off-by: Suleiman

Re: [PATCH, RFC 0/6] Avoid cache trashing on clearing huge/gigantic page

2012-07-25 Thread Andi Kleen
On Wed, Jul 25, 2012 at 01:51:01PM -0500, Christoph Lameter wrote: On Fri, 20 Jul 2012, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com Clearing a 2MB huge page will typically blow away several levels of CPU caches. To avoid this only cache clear the

[tip:perf/core] perf tools: Make the breakpoint events sample period default to 1

2012-07-25 Thread tip-bot for Jovi Zhang
Commit-ID: 4a841d650ea435c69e60675537f158a620697290 Gitweb: http://git.kernel.org/tip/4a841d650ea435c69e60675537f158a620697290 Author: Jovi Zhang bookj...@gmail.com AuthorDate: Sun, 15 Jul 2012 03:03:10 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul

[tip:perf/core] perf test: Add dso data caching tests

2012-07-25 Thread tip-bot for Jiri Olsa
Commit-ID: f7add556534529ab18501ced98d7f3f2fc7f0621 Gitweb: http://git.kernel.org/tip/f7add556534529ab18501ced98d7f3f2fc7f0621 Author: Jiri Olsa jo...@redhat.com AuthorDate: Sun, 22 Jul 2012 14:14:40 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul 2012

[tip:perf/core] perf tools: use XSI-complaint version of strerror_r() instead of GNU-specific

2012-07-25 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 4cc49d4dc82a39a542a31c1f51ead08a46fd33f1 Gitweb: http://git.kernel.org/tip/4cc49d4dc82a39a542a31c1f51ead08a46fd33f1 Author: Kirill A. Shutemov kir...@shutemov.name AuthorDate: Tue, 24 Jul 2012 00:06:54 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] perf tools: Fix build error with bison 2.6

2012-07-25 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 043d1a5c14e95212dbf48251051804ede1ed1862 Gitweb: http://git.kernel.org/tip/043d1a5c14e95212dbf48251051804ede1ed1862 Author: Kirill A. Shutemov kir...@shutemov.name AuthorDate: Tue, 24 Jul 2012 00:04:07 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

[tip:perf/core] tools lib traceevent: Detect build environment changes

2012-07-25 Thread tip-bot for Namhyung Kim
Commit-ID: 52b5c0d485385d3c767d979496983ca2b6987f5c Gitweb: http://git.kernel.org/tip/52b5c0d485385d3c767d979496983ca2b6987f5c Author: Namhyung Kim namhyung@lge.com AuthorDate: Fri, 6 Jul 2012 16:21:32 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul

[tip:perf/core] tools lib traceevent: Ignore TRACEEVENT-CFLAGS file

2012-07-25 Thread tip-bot for Namhyung Kim
Commit-ID: 52f18a2ff9b012a7efdbd520ca0dc0e118a8a837 Gitweb: http://git.kernel.org/tip/52f18a2ff9b012a7efdbd520ca0dc0e118a8a837 Author: Namhyung Kim namhyung@lge.com AuthorDate: Fri, 6 Jul 2012 16:21:33 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul

[tip:perf/core] perf annotate: Prevent overflow in size calculation

2012-07-25 Thread tip-bot for Cody Schafer
Commit-ID: 8696329b7bcf32e69ad12d5975ad1497936d43ec Gitweb: http://git.kernel.org/tip/8696329b7bcf32e69ad12d5975ad1497936d43ec Author: Cody Schafer c...@linux.vnet.ibm.com AuthorDate: Thu, 19 Jul 2012 20:05:25 -0700 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25

Re: [PATCH, RFC 0/6] Avoid cache trashing on clearing huge/gigantic page

2012-07-25 Thread Christoph Lameter
On Wed, 25 Jul 2012, Andi Kleen wrote: why exempt the 4K around the fault address? Is there a regression if that is not exempted? You would get an immediate cache miss when the faulting instruction is reexecuted. Nope. You would not get cache misses for all cachelines in the 4k range.

[PATCH] tlg2300: Declare MODULE_FIRMWARE usage

2012-07-25 Thread Tim Gardner
Cc: Huang Shijie shij...@gmail.com Cc: Kang Yong kangy...@telegent.com Cc: Zhang Xiaobing xbzh...@telegent.com Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: linux-me...@vger.kernel.org Signed-off-by: Tim Gardner tim.gard...@canonical.com --- drivers/media/video/tlg2300/pd-main.c |4 +++-

Re: [PATCH] firmware: Remove obsolete Myricom firmware

2012-07-25 Thread Paul Gortmaker
On 12-07-25 01:30 PM, Tim Gardner wrote: The Myricom GB driver firmware is no longer in use. Furthermore, CONFIG_MYRI_SBUS is no longer defined. If there is going to be more of these, it is kind of nice to have in the commit header a reference to the commit when the original user(s) went away.

Re: [RFC PATCH 0/6] CPU hotplug: Reverse invocation of notifiers during CPU hotplug

2012-07-25 Thread Alan Stern
On Wed, 25 Jul 2012, Paul E. McKenney wrote: I think the best you can do is stop using notifiers and use something else instead. For example, a simple set of function calls (assuming you know beforehand what callbacks need to be invoked). Unfortunately, we don't know beforehand.

[PATCH] tilegx pci: fix semantic merge conflict with 3527ed81c

2012-07-25 Thread Chris Metcalf
Yinghai Lu removed pci_bus.subordinate in pci-next, which meant that the tile-next changes to add tilegx PCI support don't build. This was expected (seen in linux-next) and this one-line fix is along the same lines as commit b918c62e for all other architectures. Signed-off-by: Chris Metcalf

Re: [PATCH 25/34] mm: vmscan: Check if reclaim should really abort even if compaction_ready() is true for one zone

2012-07-25 Thread Greg KH
On Mon, Jul 23, 2012 at 02:38:38PM +0100, Mel Gorman wrote: commit 0cee34fd72c582b4f8ad8ce00645b75fb4168199 upstream. Stable note: Not tracked on Bugzilla. THP and compaction was found to aggressively reclaim pages and stall systems under different situations that was addressed

<    3   4   5   6   7   8   9   10   11   12   >