Re: [PATCH] score: remove unused CPU_SCORE7 Kconfig parameter

2013-11-04 Thread Michael Opdenacker
Hi Lennox, Thank you very much for reviewing my patch! On 11/04/2013 03:52 PM, Lennox Wu wrote: Hi Michael, We have another processor, the parameter will be used to differentiate the different processors. I understand, no problem! As long as this is fine for you, that's fine for me too :)

Re: [PATCH] events: add a flag to perf_event_open() to set O_CLOEXEC

2013-11-04 Thread Yann Droneaud
Hi, Le jeudi 31 octobre 2013 à 19:12 +0100, Peter Zijlstra a écrit : On Wed, Oct 30, 2013 at 10:35:50PM +0100, Yann Droneaud wrote: This patch adds PERF_FLAG_FD_CLOEXEC flag for perf_event_open() syscall. perf_event_open() creates a new file descriptor, but unlike open() syscall, it

Re: [PATCH for-next] dm: fix missing bi_remaining accounting

2013-11-04 Thread Mikulas Patocka
On Fri, 1 Nov 2013, Jens Axboe wrote: On 11/01/2013 07:59 AM, Mike Snitzer wrote: Add the missing bi_remaining increment, required by the block layer's new bio-chaining code, to both the verity and old snapshot DM targets. Otherwise users will hit the bi_remaining = 0 BUG_ON in

Re: [PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6)

2013-11-04 Thread Oleg Nesterov
On 11/04, Namhyung Kim wrote: On Sat, 2 Nov 2013 16:54:58 +0100, Oleg Nesterov wrote: This does not look right to me. - get_user_vaddr() is costly, it does vma_interval_tree_foreach() under -i_mmap_mutex. Hmm.. yes, I think this is not needed. I guess it should lookup a proper

Re: BUG: soft lockup - CPU#8 stuck for 22s!

2013-11-04 Thread Mel Gorman
On Tue, Oct 22, 2013 at 01:29:22PM -0400, Don Morris wrote: Greetings, all. Just wanted to drop this out there to see if it rang any bells. I've been getting a soft lockup (numad thread stuck on a cpu while attempting to attach a task to a cgroup) for a while now, but I thought it was only

Re: [PATCH v5 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-11-04 Thread Sandeepa Prabhu
On 3 November 2013 23:55, Jiang Liu liu...@gmail.com wrote: On 10/30/2013 08:12 AM, Will Deacon wrote: Hi Jinag Liu, Sorry for the delayed review, I've been travelling. On Fri, Oct 18, 2013 at 04:19:56PM +0100, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com If I try and email you

Re: [PATCH] drivers: xen-selfballoon: consider slab pages

2013-11-04 Thread Konrad Rzeszutek Wilk
On Mon, Nov 04, 2013 at 08:39:24PM +0800, Bob Liu wrote: Currently the goal_page in xen-selfballon doesn't consider much about pages used in kernel space. A typical usage is slab pages, without consider slab pages the goal_page result may be too rough and lead extra memory pressure to

Re: [PATCH 3/3] perf tools: Check maximum frequency rate for record/top

2013-11-04 Thread David Ahern
On 11/4/13, 4:06 AM, Jiri Olsa wrote: Adding the check for maximum allowed frequency rate defined in following file: /proc/sys/kernel/perf_event_max_sample_rate When we cross the maximum value we fail and display detailed error message with advise. perf commands should automatically adjust

Re: [PATCH for-next] dm: fix missing bi_remaining accounting

2013-11-04 Thread Mike Snitzer
On Mon, Nov 04 2013 at 10:06am -0500, Mikulas Patocka mpato...@redhat.com wrote: On Fri, 1 Nov 2013, Jens Axboe wrote: On 11/01/2013 07:59 AM, Mike Snitzer wrote: Add the missing bi_remaining increment, required by the block layer's new bio-chaining code, to both the verity and old

Re: [PATCH 00/14] skd: various fixes/cleanups

2013-11-04 Thread Jens Axboe
On 11/04/2013 04:08 AM, Bartlomiej Zolnierkiewicz wrote: Hi Jens, Could you please take a look at this patchset? It has been posted a month ago and there has been no feedback from you. Today I've noticed that you've recently done some changes in your for-3.13/drivers branch which seem

Re: [PATCH for-next] dm: fix missing bi_remaining accounting

2013-11-04 Thread Mikulas Patocka
On Mon, 4 Nov 2013, Mike Snitzer wrote: On Mon, Nov 04 2013 at 10:06am -0500, Mikulas Patocka mpato...@redhat.com wrote: On Fri, 1 Nov 2013, Jens Axboe wrote: On 11/01/2013 07:59 AM, Mike Snitzer wrote: Add the missing bi_remaining increment, required by the block layer's

Re: [PATCH v2 0/2] vmpslice support for zero-copy gifting of pages

2013-11-04 Thread Vlastimil Babka
On 10/25/2013 05:46 PM, Robert Jennings wrote: From: Robert C Jennings r...@linux.vnet.ibm.com This patch set would add the ability to move anonymous user pages from one process to another through vmsplice without copying data. Moving pages rather than copying is implemented for a narrow

Re: [PATCH 3/3] perf tools: Check maximum frequency rate for record/top

2013-11-04 Thread Jiri Olsa
On Mon, Nov 04, 2013 at 08:17:24AM -0700, David Ahern wrote: On 11/4/13, 4:06 AM, Jiri Olsa wrote: Adding the check for maximum allowed frequency rate defined in following file: /proc/sys/kernel/perf_event_max_sample_rate When we cross the maximum value we fail and display detailed

[PATCH v3] p2m: use GNTTABOP_unmap_and_duplicate if available

2013-11-04 Thread Roger Pau Monne
The new GNTTABOP_unmap_and_duplicate operation doesn't zero the mapping passed in new_addr, allowing us to perform batch unmaps in p2m code without requiring the use of a multicall. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com Cc:

Re: [Xen-devel] [PATCH v3] p2m: use GNTTABOP_unmap_and_duplicate if available

2013-11-04 Thread Ian Campbell
On Mon, 2013-11-04 at 16:38 +0100, Roger Pau Monne wrote: The new GNTTABOP_unmap_and_duplicate operation I don't see this op in mainline Xen anywhere... Was it part of Stefano's original swiotlb for ARM stuff? If so we've dropped that approach for ARM and the new solution doesn't require

Re: [PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6)

2013-11-04 Thread Oleg Nesterov
On 11/04, Namhyung Kim wrote: On Mon, 04 Nov 2013 17:46:41 +0900, Namhyung Kim wrote: On Sat, 2 Nov 2013 16:54:58 +0100, Oleg Nesterov wrote: - this only allows to read the data from the same binary. Right. This is also an unnecessary restriction. We should be able to access data in

Re: [PATCH] x86: Allow NR_CPUS=1024

2013-11-04 Thread Russ Anderson
On Mon, Nov 04, 2013 at 09:16:16AM -0500, Josh Boyer wrote: On Mon, Nov 04, 2013 at 03:10:51PM +0100, Ingo Molnar wrote: * Josh Boyer jwbo...@redhat.com wrote: Why touch MAXSMP at all? It's really just a shortcut for 'configure the kernel silly large', via a single option, nothing

[PATCH] arm: add save_stack_trace_regs() support

2013-11-04 Thread ivan lam
From: ivan lam ivan.lam2...@gmail.com Date: Mon, 4 Nov 2013 23:35:55 +0800 Subject: [PATCH] arm: add save_stack_trace_regs() support When configure kprobe events of ftrace with stacktrace option enabled in arm, not stacktrace was recorded after the kprobe was triggered. Implement the

Re: [PATCH for-next] dm: fix missing bi_remaining accounting

2013-11-04 Thread Mike Snitzer
On Mon, Nov 04 2013 at 10:25am -0500, Mikulas Patocka mpato...@redhat.com wrote: On Mon, 4 Nov 2013, Mike Snitzer wrote: On Mon, Nov 04 2013 at 10:06am -0500, Mikulas Patocka mpato...@redhat.com wrote: The code uses atomic_inc for restoration of bi_remaining. This patch

[PATCH -next] random: needs linux/device.h for struct device

2013-11-04 Thread Randy Dunlap
changed, 1 insertion(+) --- linux-next-20131104.orig/drivers/char/random.c +++ linux-next-20131104/drivers/char/random.c @@ -240,6 +240,7 @@ #include linux/kernel.h #include linux/major.h #include linux/string.h +#include linux/device.h #include linux/fcntl.h #include linux/slab.h #include linux

[PATCH v2] KVM: IOMMU: hva align mapping page size

2013-11-04 Thread Greg Edwards
When determining the page size we could use to map with the IOMMU, the page size should also be aligned with the hva, not just the gfn. The gfn may not reflect the real alignment within the hugetlbfs file. Signed-off-by: Greg Edwards gedwa...@ddn.com Cc: sta...@vger.kernel.org ---

Re: [PATCH 11/13] tracing/kprobes: Add priv argument to fetch functions

2013-11-04 Thread Oleg Nesterov
See my replies to 0/13. Lets assume that you agree that get_user_vaddr() doesn't need tu-inode. On 10/29, Namhyung Kim wrote: This argument is for passing private data structure to each fetch function and will be used by uprobes. In this case, why do we need this void *priv? It actually

Re: [Xen-devel] [PATCH v3] p2m: use GNTTABOP_unmap_and_duplicate if available

2013-11-04 Thread Roger Pau Monné
On 04/11/13 16:49, Ian Campbell wrote: On Mon, 2013-11-04 at 16:38 +0100, Roger Pau Monne wrote: The new GNTTABOP_unmap_and_duplicate operation I don't see this op in mainline Xen anywhere... Was it part of Stefano's original swiotlb for ARM stuff? If so we've dropped that approach for

Re: [PATCH v2] debugobject: add support for kref

2013-11-04 Thread Sebastian Andrzej Siewior
On 03.11.13, Sebastian Andrzej Siewior wrote: v1…v2: - not an RFC anymore - addressed tglx review: - use debug_obj_descr with state active - use debug_object_active_state() to check for active object instead the other hack I had. - added debug_object_free() in a way that does not

Re: [PATCH v2 1/2] vmsplice: unmap gifted pages for recipient

2013-11-04 Thread Vlastimil Babka
On 10/25/2013 05:46 PM, Robert Jennings wrote: From: Robert C Jennings r...@linux.vnet.ibm.com Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap pages. When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the writer's gift'ed pages would be zapped. This

Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver (v4)

2013-11-04 Thread Frank Haverkamp
Hi Greg, Am Mittwoch, den 30.10.2013, 10:36 -0700 schrieb Greg KH: On Wed, Oct 30, 2013 at 10:32:58AM +0100, Frank Haverkamp wrote: +/* + * Module initialization and PCIe setup. Card health monitoring and + * recovery functionality. Character device creation and deletion are + *

<    7   8   9   10   11   12