Using ps to display process information never exit, and can't be killed

2012-10-11 Thread Cyberman Wu
Sorry to use that big mail list account since I don't know any specific mail list account should be used for that problem. We're running Linux box on Gx platform from Tilera. The kernel use some vendor specific patches, but most of them are the same as standard kernel. We encounter a problem

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-11 Thread viresh kumar
On Fri, Oct 12, 2012 at 11:14 AM, Viresh Kumar wrote: > dw_dmac driver already supports device tree but it used to have its platform > data passed the non-DT way. > > This patch does following changes: > - pass platform data via DT, non-DT way still takes precedence if both are > used. > -

[PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-11 Thread Viresh Kumar
dw_dmac driver already supports device tree but it used to have its platform data passed the non-DT way. This patch does following changes: - pass platform data via DT, non-DT way still takes precedence if both are used. - create generic filter routine - Earlier slave information was made

[PATCH 3/3] ARM: SPEAr13xx: Pass DW DMAC platform data from DT

2012-10-11 Thread Viresh Kumar
This patch adds dw_dmac's platform data to DT node. It also creates slave info node for SPEAr13xx, for the devices which were using dw_dmac. Signed-off-by: Viresh Kumar --- arch/arm/boot/dts/spear1340.dtsi | 19 ++ arch/arm/boot/dts/spear13xx.dtsi | 38

[PATCH 1/3] dmaengine: dw_dmac: Update documentation style comments for dw_dma_platform_data

2012-10-11 Thread Viresh Kumar
Documentation style comments were missing for few fields in struct dw_dma_platform_data. Add these. Signed-off-by: Viresh Kumar --- include/linux/dw_dmac.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/dw_dmac.h b/include/linux/dw_dmac.h index e1c8c9e..62a6190 100644 ---

Re: [git pull] signal.git, pile 2 (was Re: [RFC][CFT][CFReview] execve and kernel_thread unification work)

2012-10-11 Thread Paul Mackerras
On Fri, Oct 12, 2012 at 02:09:58AM +0100, Al Viro wrote: > > How granular are you planning to make that? I mean, we are talking about > 3 objects here - init/main.o, kernel/kthread.o and kernel/kmod.o. Do they > get TOC separate from that of arch/powerpc/kernel/entry_64.o? Potentially, yes, it

Re: [RFC PATCH 2/2] sched:Pick the apt busy sched group during load balancing

2012-10-11 Thread preeti
Hi everyone, The figures SCHED_GRP1:3200 and SCHED_GRP2:1156 shown below in the changelog is the probable figure as calculated with the per-entity- load-tracking metric for the runqueue load. > If a sched group has passed the test for sufficient load in > update_sg_lb_stats,to qualify for load

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-11 Thread Michael Kerrisk (man-pages)
Rusty, On Fri, Oct 12, 2012 at 12:16 AM, Rusty Russell wrote: > "H. Peter Anvin" writes: > >> On 10/10/2012 06:03 AM, Michael Kerrisk (man-pages) wrote: >>> Good point. A "whole hog" openat()-style interface is worth thinking about >>> too. >> >> *Although* you could argue that you can always

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-11 Thread Mark Brown
On Thu, Oct 11, 2012 at 03:56:22AM +, Christopher Heiny wrote: Fix your mailer to word wrap within paragraphs. > If this feature is a deal-breaker, we can take it out. In the absence > of a generic GPIO implementation for CS, though, I'd much rather leave > it in. Once generic GPIO CS

linux-next: build warnings after merge of the tip tree

2012-10-11 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (powerpc allnoconfig) produced these warnings: kernel/sched/fair.c:801:22: warning: 'task_h_load' declared 'static' but never defined [-Wunused-function] kernel/sched/fair.c:1013:13: warning: 'account_offnode_enqueue' defined but not

linux-next: build warning after merge of the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (powerpc allnoconfig) produced this warning: fs/namespace.c: In function 'do_mount': fs/namespace.c:2219:8: warning: passing argument 3 of 'security_sb_mount' discards 'const' qualifier from pointer target type [enabled by default]

Re: [PATCH v6 1/6] tracing,x86: Add a TSC trace_clock

2012-10-11 Thread Geert Uytterhoeven
On Fri, Oct 12, 2012 at 1:27 AM, David Sharp wrote: > +#include Please use the Kbuild infrastructure ("generic-y += ..." in arch/*/include/asm/Kbuild) instead of adding wrappers around the asm-generic version. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's

Re: [PATCH] efivarfs: Implement exclusive access for {get,set}_variable

2012-10-11 Thread Jeremy Kerr
Hi Greg, Should this be backported to the stable kernels? No, the efivarfs code that this touches was only recently committed; it won't be in any of the stable series. Cheers, Jeremy -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to

Re: [PATCH v3 07/10] thp: implement splitting pmd for huge zero page

2012-10-11 Thread Ni zhan Chen
On 10/12/2012 12:13 PM, Kirill A. Shutemov wrote: On Fri, Oct 12, 2012 at 11:23:37AM +0800, Ni zhan Chen wrote: On 10/02/2012 11:19 PM, Kirill A. Shutemov wrote: From: "Kirill A. Shutemov" We can't split huge zero page itself, but we can split the pmd which points to it. On splitting the

[RFC PATCH 2/2] sched:Pick the apt busy sched group during load balancing

2012-10-11 Thread Preeti U Murthy
If a sched group has passed the test for sufficient load in update_sg_lb_stats,to qualify for load balancing,then PJT's metrics has to be used to qualify the right sched group as the busiest group. The scenario which led to this patch is shown below: Consider Task1 and Task2 to be a long running

[RFC PATCH 1/2] sched:Prevent movement of short running tasks during load balancing

2012-10-11 Thread Preeti U Murthy
Prevent sched groups with low load as tracked by PJT's metrics from being candidates of the load balance routine.This metric is chosen to be 1024+15%*1024.But using PJT's metrics it has been observed that even when three 10% tasks are running,the load sometimes does not exceed this threshold.The

[RFC PATCH 0/2] sched: Load Balancing using Per-entity-Load-tracking

2012-10-11 Thread Preeti U Murthy
Hi everyone, This patchset uses the per-entity-load-tracking patchset which will soon be available in the kernel.It is based on the tip/master tree and the first 8 latest patches of sched:per-entity-load-tracking alone have been imported to the tree to avoid the complexities of task groups and to

Re: [PATCH] uprobe: fix misleading log entry

2012-10-11 Thread Srikar Dronamraju
> On Wed, Jul 18, 2012 at 5:22 PM, Srikar Dronamraju > wrote: > > * Jovi Zhang [2012-07-18 11:08:42]: > > > >> From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 > >> From: Jovi Zhang > >> Date: Wed, 18 Jul 2012 17:51:26 +0800 > >> Subject: [PATCH] uprobe: fix misleading log

Re: [PATCH] efivarfs: Implement exclusive access for {get,set}_variable

2012-10-11 Thread Greg KH
On Thu, Oct 11, 2012 at 02:42:36PM +0100, Matt Fleming wrote: > On Thu, 2012-10-11 at 21:19 +0800, Jeremy Kerr wrote: > > Currently, efivarfs does not enforce exclusion over the get_variable and > > set_variable operations. Section 7.1 of UEFI requires us to only allow a > > single processor to

Re: [PATCH] backlight: lm3639: Return proper error in lm3639_bled_mode_store error paths

2012-10-11 Thread gshark
2012년 10월 11일 14:11, Axel Lin 쓴 글: Signed-off-by: Axel Lin --- drivers/video/backlight/lm3639_bl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c index c6915c6..585949b 100644 ---

Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-11 Thread Inderpal Singh
Hello, On 5 October 2012 06:17, Inderpal Singh wrote: > The first 2 patches of this series fix memory leaks because the memory > allocated for peripheral channels and DMA descriptors were not getting > freed. > > The last 2 patches balance the module's remove function. > > This series depends on

Re: [PATCH v2] acpi : acpi_bus_trim() stops removing devices when failing to remove the device

2012-10-11 Thread Yasuaki Ishimatsu
Hi Toshi, 2012/10/11 22:58, Toshi Kani wrote: On Thu, 2012-10-11 at 19:12 +0900, Yasuaki Ishimatsu wrote: acpi_bus_trim() stops removing devices, when acpi_bus_remove() return error number. But acpi_bus_remove() cannot return error number correctly. acpi_bus_remove() only return -EINVAL, when

Re: [PATCH v3 07/10] thp: implement splitting pmd for huge zero page

2012-10-11 Thread Kirill A. Shutemov
On Fri, Oct 12, 2012 at 11:23:37AM +0800, Ni zhan Chen wrote: > On 10/02/2012 11:19 PM, Kirill A. Shutemov wrote: > >From: "Kirill A. Shutemov" > > > >We can't split huge zero page itself, but we can split the pmd which > >points to it. > > > >On splitting the pmd we create a table with all ptes

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/powerpc/kernel/sys_ppc32.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit be6abfa769fa ("powerpc: switch to generic sys_execve()/ kernel_execve()") from

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/powerpc/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit be6abfa769fa ("powerpc: switch to generic sys_execve ()/kernel_execve()") from

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/mn10300/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit 8f1597e959a3 ("mn10300: switch to generic sys_execve()") from the signal tree.

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/m68k/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit d878d6dacee2 ("m68k: switch to generic sys_execve()/kernel_execve()") from the

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/frv/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit 460dabab73f2 ("frv: switch to generic sys_execve()") from the signal tree. The

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/c6x/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit 680a14535c33 ("c6x: switch to generic sys_execve") from the signal tree. The latter

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

2012-10-11 Thread Dinh Nguyen
R: "denali_remove" [drivers/mtd/nand/denali_pci.ko] undefined! > > Probably caused by commit 305b1ee29c8e ("mtd: denali: split the generic > driver and PCI layer"). > > I have used the l2-mtd tree from next-20121011 for today. Sorry about that. I just sent a patch

RE: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-11 Thread Ma, Ling
> > Load and write operation occupy about 35% and 10% respectively for > > most industry benchmarks. Fetched 16-aligned bytes code include about > > 4 instructions, implying 1.34(0.35 * 4) load, 0.4 write. > > Modern CPU support 2 load and 1 write per cycle, so throughput from > > write is

[PATCH] genirq: for edge interrupt IRQS_ONESHOT support with irq thread

2012-10-11 Thread Chuansheng Liu
In our system, there is one edge interrupt, and we want it to be irq thread with IRQS_ONESHOT, and found in handle_edge_irq(), even with IRQS_ONESHOT, the irq is still unmasked without care of flag IRQS_ONESHOT. It causes IRQS_ONESHOT can not work well for edge interrupt, but also after the irq

linux-next: manual merge of the pinctrl tree with Linus' tree

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in drivers/mtd/nand/atmel_nand.c between commit 28446acb1f82 ("mtd: atmel nand: fix gpio missing request") from Linus' tree and commit 08695153170c ("MTD: atmel nand: fix gpio missing request") from the pinctrl tree. I fixed

Re: [PATCH v3 07/10] thp: implement splitting pmd for huge zero page

2012-10-11 Thread Ni zhan Chen
On 10/02/2012 11:19 PM, Kirill A. Shutemov wrote: From: "Kirill A. Shutemov" We can't split huge zero page itself, but we can split the pmd which points to it. On splitting the pmd we create a table with all ptes set to normal zero page. Signed-off-by: Kirill A. Shutemov Reviewed-by: Andrea

RE: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-11 Thread Ma, Ling
> > Load and write operation occupy about 35% and 10% respectively for > > most industry benchmarks. Fetched 16-aligned bytes code include about > > 4 instructions, implying 1.34(0.35 * 4) load, 0.4 write. > > Modern CPU support 2 load and 1 write per cycle, so throughput from > > write is

linux-next: manual merge of the pinctrl tree with Linus' tree

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/mach-at91/at91sam9x5.c between commits af2a5f09fb6d ("Replace clk_lookup.con_id with clk_lookup.dev_id entries for twi clk") and f7d19b906556 ("ARM: at91: add clocks for I2C DT entries") from Linus' tree and

linux-next: manual merge of the pinctrl tree with the tree

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/mach-at91/at91sam9n12.c between commit f7d19b906556 ("ARM: at91: add clocks for I2C DT entries") from the tree and commit 5c70cd3c7c69 ("arm: at91: dt: at91sam9 add pinctrl support") from the pinctrl tree. I fixed

linux-next: manual merge of the pinctrl tree with Linus' tree

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/mach-at91/at91sam9263.c between commit f7d19b906556 ("ARM: at91: add clocks for I2C DT entries") from Linus' tree and commit 5c70cd3c7c69 ("arm: at91: dt: at91sam9 add pinctrl support") from the pinctrl tree. I

linux-next: manual merge of the pinctrl tree with Linus' tree

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/boot/dts/at91sam9g25ek.dts between commit fbc1871511ed ("ARM: dts: add twi nodes for atmel boards") from Linus' tree and commit 77ccddbdc0c9 ("arm: at91: dt: at91sam9 add serial pinctrl support") from the pinctrl

Re: [PATCH 1/2] tracing: trivial cleanup

2012-10-11 Thread Steven Rostedt
On Thu, 2012-10-11 at 19:31 -0700, David Sharp wrote: > On Thu, Oct 11, 2012 at 6:56 PM, Steven Rostedt wrote: > > Sorry, I know this is late, but it was pushed down in my todo list > > (never off, but something I probably wouldn't have seen for a few more > > months). > > > > On Thu, 2012-06-07

Re: [PATCH v6 6/6] tracing: Fix maybe-uninitialized warning in ftrace_function_set_regexp

2012-10-11 Thread David Sharp
On Thu, Oct 11, 2012 at 6:36 PM, Steven Rostedt wrote: > On Thu, 2012-10-11 at 16:27 -0700, David Sharp wrote: >> Compiler warning: >> >> kernel/trace/trace_events_filter.c: In function >> 'ftrace_function_set_filter_cb': >> kernel/trace/trace_events_filter.c:2074:8: error: 'ret' may be used >>

[PATCH] binfmt_script: do not leave interp on stack

2012-10-11 Thread Kees Cook
When binfmt_script's load_script ran, it would manipulate bprm->buf and leave bprm->interp pointing to the local stack. If a series of scripts are executed, the final one will have leaked kernel stack contents into the cmdline. For a proof of concept, see DoTest.sh from:

Re: [PATCH 1/2] tracing: trivial cleanup

2012-10-11 Thread David Sharp
On Thu, Oct 11, 2012 at 6:56 PM, Steven Rostedt wrote: > Sorry, I know this is late, but it was pushed down in my todo list > (never off, but something I probably wouldn't have seen for a few more > months). > > On Thu, 2012-06-07 at 16:46 -0700, Vaibhav Nagarnaik wrote: >> From: David Sharp > >

Re: [Request for review] Revised delete_module(2) manual page

2012-10-11 Thread Rusty Russell
Lucas De Marchi writes: > What do you think? Mark as deprecated now and remove when kernel > removes it? Or remove now? Complain now, and I'll queue the removal in two merge windows. Thats gives us a chance just in case someone actually uses this; if so I want to talk to them about what it is

Re: [PATCH v2 8/8] x86/lguest: Use __pa_symbol instead of __pa on C visible symbols

2012-10-11 Thread Rusty Russell
Alexander Duyck writes: > The function lguest_write_cr3 is using __pa to convert swapper_pg_dir and > initial_page_table from virtual addresses to physical. The correct function > to use for these values is __pa_symbol since they are C visible symbols. > > Cc: Rusty Russell > Signed-off-by:

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-11 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Thu, Oct 11, 2012 at 10:33:31AM +1030, Rusty Russell wrote: >> OK. Well, Anthony wants qemu to be robust in this regard, so I am >> tempted to rework all the qemu drivers to handle arbitrary layouts. >> They could use a good audit anyway. > > I agree here. Still

Re: [PATCH] [SCSI] virtio-scsi: Add real 2-clause BSD license to header

2012-10-11 Thread Rusty Russell
Paolo Bonzini writes: > Il 11/10/2012 08:41, Bryan Venteicher ha scritto: >> This is analogous to commit a1b383870a made by Rusty Russell to all >> the VirtIO headers at the time. This eases the use of the header as >> is by other OSes. >> >> Signed-off-by: Bryan Venteicher > > Acked-by: Paolo

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-11 Thread Rusty Russell
"H. Peter Anvin" writes: > On 10/10/2012 06:03 AM, Michael Kerrisk (man-pages) wrote: >> Good point. A "whole hog" openat()-style interface is worth thinking about >> too. > > *Although* you could argue that you can always simply open the module > file first, and that finit_module() is really

linux-next: manual merge of the kvm-ppc tree with the kvm tree

2012-10-11 Thread Stephen Rothwell
Hi Alexander, Today's linux-next merge of the kvm-ppc tree got a conflict in arch/powerpc/kvm/44x_emulate.c between commits from the kvm tree and the same patches plus another commit from the kvm-ppc tree. I just used the kvm-ppc tree version. This happened because 1) you

Re: [PATCH 1/2] tracing: trivial cleanup

2012-10-11 Thread Steven Rostedt
Sorry, I know this is late, but it was pushed down in my todo list (never off, but something I probably wouldn't have seen for a few more months). On Thu, 2012-06-07 at 16:46 -0700, Vaibhav Nagarnaik wrote: > From: David Sharp If this is from David it needs his SOB. -- Steve > > Remove

Re: udev breakages - was: Re: Need of an ".async_probe()" type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-11 Thread Ming Lei
On Fri, Oct 12, 2012 at 2:33 AM, Shea Levy wrote: > > FWIW (and probably that's not much), the NixOS[0] distro doesn't currently > use /lib/firmware. There is no /lib directory by default on NixOS, instead > we create a new symlink tree representing the current system on each system > change and

Re: [PATCH 00/33] AutoNUMA27

2012-10-11 Thread Andrea Arcangeli
Hi Mel, On Thu, Oct 11, 2012 at 10:34:32PM +0100, Mel Gorman wrote: > So after getting through the full review of it, there wasn't anything > I could not stand. I think it's *very* heavy on some of the paths like > the idle balancer which I was not keen on and the fault paths are also > quite

Re: [Patch 3/7] smpboot: Provide infrastructure for percpu hotplug threads

2012-10-11 Thread Sasha Levin
On Wed, Sep 19, 2012 at 5:47 PM, Sasha Levin wrote: > Hi Thomas, > > On 07/16/2012 12:42 PM, Thomas Gleixner wrote: >> Provide a generic interface for setting up and tearing down percpu >> threads. >> >> On registration the threads for already online cpus are created and >> started. On

Re: [PATCH v6 6/6] tracing: Fix maybe-uninitialized warning in ftrace_function_set_regexp

2012-10-11 Thread Steven Rostedt
On Thu, 2012-10-11 at 16:27 -0700, David Sharp wrote: > Compiler warning: > > kernel/trace/trace_events_filter.c: In function > 'ftrace_function_set_filter_cb': > kernel/trace/trace_events_filter.c:2074:8: error: 'ret' may be used > uninitialized in this function [-Werror=maybe-uninitialized] >

[RFC][PATCH] perf: Add a few generic stalled-cycles events

2012-10-11 Thread Sukadev Bhattiprolu
>From 89cb6a25b9f714e55a379467a832ee015014ed11 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Tue, 18 Sep 2012 10:59:01 -0700 Subject: [PATCH] perf: Add a few generic stalled-cycles events The existing generic event 'stalled-cycles-backend' corresponds to PM_CMPLU_STALL event in

Re: [PATCH 2.6.32.y, 2.6.34.y] ALSA: hda - ALSA HD Audio patch for Intel Panther Point DeviceIDs

2012-10-11 Thread Ben Hutchings
On Tue, 2012-10-09 at 10:56 -0400, Paul Gortmaker wrote: > On 12-10-08 09:55 PM, Ben Hutchings wrote: > > On Mon, 2012-10-08 at 18:07 -0700, Jonathan Nieder wrote: > >> From: Seth Heasley > >> Date: Wed, 20 Apr 2011 10:59:57 -0700 > >> > >> commit d2edeb7c6f1dada8ca7d5c23e42d604e92ae0c76

[PATCH RT 1/8] random: Make it work on rt

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner Delegate the random insertion to the forced threaded interrupt handler. Store the return IP of the hard interrupt handler in the irq descriptor and feed it into the random generator as a source of entropy. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org

[PATCH RT 6/8] sched: Better debug output for might sleep

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner might sleep can tell us where interrupts have been disabled, but we have no idea what disabled preemption. Add some debug infrastructure. Cc: stable...@vger.kernel.org Signed-off-by: Thomas Gleixner Signed-off-by: Steven Rostedt --- include/linux/sched.h |4

[PATCH RT 8/8] Linux 3.2.31-rt47-rc1

2012-10-11 Thread Steven Rostedt
From: Steven Rostedt --- localversion-rt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 2721581..8a02d38 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt46 +-rt47-rc1 -- 1.7.10.4 -- To unsubscribe from this

[PATCH RT 4/8] mm: page_alloc: Use local_lock_on() instead of plain spinlock

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner The plain spinlock while sufficient does not update the local_lock internals. Use a proper local_lock function instead to ease debugging. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org Signed-off-by: Steven Rostedt --- include/linux/locallock.h | 11

[PATCH RT 5/8] rt: rwsem/rwlock: lockdep annotations

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner rwlocks and rwsems on RT do not allow multiple readers. Annotate the lockdep acquire functions accordingly. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org Signed-off-by: Steven Rostedt --- kernel/rt.c | 46 +-

[PATCH RT 2/8] softirq: Init softirq local lock after per cpu section is set up

2012-10-11 Thread Steven Rostedt
From: Steven Rostedt I discovered this bug when booting 3.4-rt on my powerpc box. It crashed with the following report: [ cut here ] kernel BUG at /work/rt/stable-rt.git/kernel/rtmutex_common.h:75! Oops: Exception in kernel mode, sig: 5 [#1] PREEMPT SMP NR_CPUS=64 NUMA

[PATCH RT 7/8] stomp_machine: Use mutex_trylock when called from inactive cpu

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner If the stop machinery is called from inactive CPU we cannot use mutex_lock, because some other stomp machine invokation might be in progress and the mutex can be contended. We cannot schedule from this context, so trylock and loop. Signed-off-by: Thomas Gleixner Cc:

[PATCH RT 3/8] mm: slab: Fix potential deadlock

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner = [ INFO: possible recursive locking detected ] 3.6.0-rt1+ #49 Not tainted - swapper/0/1 is trying to acquire lock: lock_slab_on+0x72/0x77 but task is already holding lock:

[PATCH RT 0/8] [ANNOUNCE] 3.2.31-rt47-rc1 stable review

2012-10-11 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.2.31-rt47-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

[git pull] vfs.git, pile 2

2012-10-11 Thread Al Viro
Stuff in this one - assorted fixes, lglock tidy-up, death to lock_super(). There'll be a VFS pile tomorrow (with patches from Jeff Layton, sanitizing getname() and related parts of audit and preparing for ESTALE fixes), but I'd rather push the stuff in this one ASAP - some of the bugs

[git pull] signal.git, pile 2 (was Re: [RFC][CFT][CFReview] execve and kernel_thread unification work)

2012-10-11 Thread Al Viro
On Fri, Oct 12, 2012 at 11:16:33AM +1100, Paul Mackerras wrote: > On Thu, Oct 11, 2012 at 01:53:06PM +0100, Al Viro wrote: > > > Umm... Maybe, but let's do that as subsequent cleanup. Again, > > we almost certainly don't need to mess with TOC at all - the callbacks > > are in the main

Re: [PATCH 07/33] autonuma: mm_autonuma and task_autonuma data structures

2012-10-11 Thread Andrea Arcangeli
Hi Christoph, On Fri, Oct 12, 2012 at 12:23:17AM +, Christoph Lameter wrote: > On Thu, 11 Oct 2012, Rik van Riel wrote: > > > These statistics are updated at page fault time, I > > believe while holding the page table lock. > > > > In other words, they are in code paths where updating > >

Re: [PATCH 00/33] AutoNUMA27

2012-10-11 Thread Andrea Arcangeli
On Thu, Oct 11, 2012 at 04:35:03PM +0100, Mel Gorman wrote: > If System CPU time really does go down as this converges then that > should be obvious from monitoring vmstat over time for a test. Early on > - high usage with that dropping as it converges. If that doesn't happen > then the tasks

Re: [PATCH 10/33] autonuma: CPU follows memory algorithm

2012-10-11 Thread Andrea Arcangeli
On Thu, Oct 11, 2012 at 03:58:05PM +0100, Mel Gorman wrote: > On Thu, Oct 04, 2012 at 01:50:52AM +0200, Andrea Arcangeli wrote: > > This algorithm takes as input the statistical information filled by the > > knuma_scand (mm->mm_autonuma) and by the NUMA hinting page faults > > (p->task_autonuma),

Re: uprobe: checking probe event include directory

2012-10-11 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 7:45 PM, Srikar Dronamraju wrote: > * Jovi Zhang [2012-07-18 19:38:27]: > >> On Wed, Jul 18, 2012 at 7:07 PM, Srikar Dronamraju >> wrote: >> > The patch looks good, >> > >> > Can you modify the description a bit. However you are free to ignore >> > these comments. After

Re: [RFC][CFT][CFReview] execve and kernel_thread unification work

2012-10-11 Thread Paul Mackerras
On Thu, Oct 11, 2012 at 01:53:06PM +0100, Al Viro wrote: > Umm... Maybe, but let's do that as subsequent cleanup. Again, > we almost certainly don't need to mess with TOC at all - the callbacks > are in the main kernel, there are very few of them and they really are > low-level details of

linux-next: build failure after merge of the l2-mtd tree

2012-10-11 Thread Stephen Rothwell
e29c8e ("mtd: denali: split the generic driver and PCI layer"). I have used the l2-mtd tree from next-20121011 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpy1SbpHtmy4.pgp Description: PGP signature

Re: [PATCH 2/2]suppress "Device nodeX does not have a release() function" warning

2012-10-11 Thread Yasuaki Ishimatsu
2012/10/12 5:31, David Rientjes wrote: On Thu, 11 Oct 2012, Yasuaki Ishimatsu wrote: When calling unregister_node(), the function shows following message at device_release(). "Device 'node2' does not have a release() function, it is broken and must be fixed." The reason is node's device

Re: [GIT] TPM bugfixes

2012-10-11 Thread Randy Dunlap
On 10/11/2012 04:00 PM, Andrew Morton wrote: > On Thu, 11 Oct 2012 15:49:36 -0700 > Andrew Morton wrote: > >> On Fri, 12 Oct 2012 00:45:06 +0200 >> richard -rw- weinberger wrote: >> >>> On Fri, Oct 12, 2012 at 12:19 AM, Andrew Morton >>> wrote: On Thu, 11 Oct 2012 21:54:18 +1100 (EST)

Re: [PATCH] uprobe: fix misleading log entry

2012-10-11 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 5:22 PM, Srikar Dronamraju wrote: > * Jovi Zhang [2012-07-18 11:08:42]: > >> From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 >> From: Jovi Zhang >> Date: Wed, 18 Jul 2012 17:51:26 +0800 >> Subject: [PATCH] uprobe: fix misleading log entry >> >>

[PATCH] kvm/ftrace: change the diplaying format of vector in trace_msi_set_irq

2012-10-11 Thread Sanagi, Koki
This patch changes the way to diplay the vector in trace_msi_set_irq from %x to %u. Currently, it mismatches another output of ftrace such as kvm_msi_set_irq and kvm_inj_virq which uses %u. Signed-off-by: Koki Sanagi --- include/trace/events/kvm.h |2 +- 1 files changed, 1 insertions(+), 1

[PATCH] gen_init_cpio: avoid stack overflow when expanding

2012-10-11 Thread Kees Cook
Fix possible overflow of the buffer used for expanding environment variables when building file list. $ cat usr/crash.list file foo ${BIG}${BIG}${BIG}${BIG}${BIG}${BIG} 0755 0 0 $ BIG=$(perl -e 'print "A" x 4096;') ./usr/gen_init_cpio usr/crash.list *** buffer overflow detected ***:

[PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v4

2012-10-11 Thread Andi Kleen
From: Andi Kleen There was some desire in large applications using MAP_HUGETLB/SHM_HUGETLB to use 1GB huge pages on some mappings, and stay with 2MB on others. This is useful together with NUMA policy: use 2MB interleaving on some mappings, but 1GB on local mappings. This patch extends the

Re: [PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v3

2012-10-11 Thread Andi Kleen
> Alas, include/asm-generic/mman.h doesn't exist now. git resolved it automagically > > Does this change touch all the hugetlb-capable architectures? I took a look at this again. So not every hugetlb capable architecture needs it, only architectures with multiple hugetlb page sizes. This is

Re: amd64, v3.6.0: Kernel panic + BUG at net/netfilter/nf_conntrack_core.c:220!

2012-10-11 Thread Pablo Neira Ayuso
On Thu, Oct 11, 2012 at 11:27:33PM +0200, Borislav Petkov wrote: > On Thu, Oct 11, 2012 at 12:13:33PM -0700, Ian Applegate wrote: > > On machines serving mainly http traffic we are seeing the following > > panic, which is not yet reproducible. > > Must be this BUG_ON: > > if

Re: [PATCH v5 1/3] tracing,x86: Add a TSC trace_clock

2012-10-11 Thread David Sharp
On Mon, Oct 8, 2012 at 7:08 PM, Yoshihiro YUNOMAE wrote: > Hi David, > > This is a nice patch set. > > I just have found something should be fixed, which related to > your work. I'll send it following this mail. > > Would you mind adding these patches as your patch series? Thanks for noticing

[PATCH v6 3/6] tracing: Format non-nanosec times from tsc clock without a decimal point.

2012-10-11 Thread David Sharp
With the addition of the "tsc" clock, formatting timestamps to look like fractional seconds is misleading. Mark clocks as either in nanoseconds or not, and format non-nanosecond timestamps as decimal integers. Tested: $ cd /sys/kernel/debug/tracing/ $ cat trace_clock [local] global tsc $ echo

[PATCH v6 1/6] tracing,x86: Add a TSC trace_clock

2012-10-11 Thread David Sharp
In order to promote interoperability between userspace tracers and ftrace, add a trace_clock that reports raw TSC values which will then be recorded in the ring buffer. Userspace tracers that also record TSCs are then on exactly the same time base as the kernel and events can be unambiguously

[PATCH v6 6/6] tracing: Fix maybe-uninitialized warning in ftrace_function_set_regexp

2012-10-11 Thread David Sharp
Compiler warning: kernel/trace/trace_events_filter.c: In function 'ftrace_function_set_filter_cb': kernel/trace/trace_events_filter.c:2074:8: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: David Sharp Cc: Steven Rostedt ---

[PATCH v6 5/6] ftrace: Show raw time stamp on stats per cpu using counter or tsc mode for trace_clock

2012-10-11 Thread David Sharp
From: Yoshihiro YUNOMAE Show raw time stamp values for stats per cpu if you choose counter or tsc mode for trace_clock. Although a unit of tracing time stamp is nsec in local or global mode, the units in counter and TSC mode are tracing counter and cycles respectively. Signed-off-by: Yoshihiro

[PATCH v6 2/6] tracing: Reset ring buffer when changing trace_clocks

2012-10-11 Thread David Sharp
Because the "tsc" clock isn't in nanoseconds, the ring buffer must be reset when changing clocks so that incomparable timestamps don't end up in the same trace. Tested: Confirmed switching clocks resets the trace buffer. Google-Bug-Id: 6980623 Signed-off-by: David Sharp Cc: Steven Rostedt Cc:

[PATCH v6 0/6] TSC trace_clock

2012-10-11 Thread David Sharp
Added Yoshihiro Yonomae's patches to change the per_cpu stats to show raw timestamps when the clock is not in nanoseconds. Also added a small patch to fix a warning. David Sharp (4): tracing,x86: Add a TSC trace_clock tracing: Reset ring buffer when changing trace_clocks tracing: Format

[PATCH v6 4/6] ftrace: Change unsigned long type of ring_buffer_oldest_event_ts() to u64

2012-10-11 Thread David Sharp
From: Yoshihiro YUNOMAE ring_buffer_oldest_event_ts() should return a value of u64 type, because ring_buffer_per_cpu->buffer_page->buffer_data_page->time_stamp is u64 type. Signed-off-by: Yoshihiro YUNOMAE Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Vaibhav Nagarnaik

Re: [PATCH 03/31] sections: Fix section conflicts in arch/frv

2012-10-11 Thread Andi Kleen
> Unfortunately __pminitconst isn't defined at this point: > arch/frv/kernel/setup.c:187:47: error: expected '=', ',', ';', 'asm' > or '__attribute__' before '*' token > arch/frv/kernel/setup.c:386:2: error: 'clock_cmodes' undeclared (first > use in this function) > arch/frv/kernel/setup.c:571:6:

Re: [PATCH 03/10] x86, mm: get early page table from BRK

2012-10-11 Thread H. Peter Anvin
On 10/12/2012 06:55 AM, Yinghai Lu wrote: > On Thu, Oct 11, 2012 at 7:41 AM, Konrad Rzeszutek Wilk > wrote: >> On Wed, Oct 10, 2012 at 08:49:05AM -0700, Yinghai Lu wrote: >>> >>> yes that is some extreme case: >>> assume that 2M range is [2T-2M, 2T), >> >> What is T in here? Terabyte? Is the '['

mmotm 2012-10-11-16-14 uploaded

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

Re: Linux 2.6.32.60

2012-10-11 Thread H. Peter Anvin
On 10/11/2012 07:31 PM, Willy Tarreau wrote: > On Thu, Oct 11, 2012 at 07:58:04PM +0900, Greg KH wrote: >> On Thu, Oct 11, 2012 at 08:29:16AM +0200, Willy Tarreau wrote: >>> If you think these patches constitute a regression, I can revert them. >>> However I'd like convincing arguments since

Re: [Q] Default SLAB allocator

2012-10-11 Thread Andi Kleen
David Rientjes writes: > On Thu, 11 Oct 2012, Andi Kleen wrote: > >> > While I've always thought SLUB was the default and recommended allocator, >> > I'm surprise to find that it's not always the case: >> >> iirc the main performance reasons for slab over slub have mostly >> disappeared, so in

[PATCH] compat: VIDEO_SET_SPU_PALETTE missing error check

2012-10-11 Thread Kees Cook
The compat ioctl for VIDEO_SET_SPU_PALETTE was missing an error check while converting ioctl arguments. This could lead to leaking kernel stack contents into userspace. Patch extracted from existing fix in grsecurity. Cc: David Miller Cc: Brad Spengler Cc: PaX Team Cc: sta...@vger.kernel.org

Re: [PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-10-11 Thread Yinghai Lu
On Wed, Oct 10, 2012 at 11:13 PM, Yinghai Lu wrote: > On Wed, Oct 10, 2012 at 9:40 AM, Stefano Stabellini > wrote: >> >> So you are missing the Xen patches entirely in this iteration of the >> series? > > please check updated for-x86-mm branch. > > [PATCH -v4 00/15] x86: Use BRK to pre mapping

Re: [GIT] TPM bugfixes

2012-10-11 Thread Andrew Morton
On Thu, 11 Oct 2012 15:49:36 -0700 Andrew Morton wrote: > On Fri, 12 Oct 2012 00:45:06 +0200 > richard -rw- weinberger wrote: > > > On Fri, Oct 12, 2012 at 12:19 AM, Andrew Morton > > wrote: > > > On Thu, 11 Oct 2012 21:54:18 +1100 (EST) > > > James Morris wrote: > > > > > >> Please pull

Re: [Q] Default SLAB allocator

2012-10-11 Thread David Rientjes
On Thu, 11 Oct 2012, Andi Kleen wrote: > > While I've always thought SLUB was the default and recommended allocator, > > I'm surprise to find that it's not always the case: > > iirc the main performance reasons for slab over slub have mostly > disappeared, so in theory slab could be finally

Re: [PATCH v2 0/8] Improve performance of VM translation on x86_64

2012-10-11 Thread H. Peter Anvin
On 10/12/2012 06:40 AM, Andi Kleen wrote: > > Patch series looks good to me. Thanks for doing this properly. > Reviewed-by: Andi Kleen > Agreed. Acked-by: H. Peter Anvin I will pick this up after the merge window closes unless Ingo beats me to it. (I'm currently traveling.) -hpa

Re: [PATCH v5 3/3] tracing: Format non-nanosec times from tsc clock without a decimal point.

2012-10-11 Thread David Sharp
On Thu, Oct 11, 2012 at 1:43 PM, Steven Rostedt wrote: > On Mon, 2012-10-01 at 20:31 -0700, David Sharp wrote: > >> static int >> -lat_print_timestamp(struct trace_seq *s, u64 abs_usecs, >> - unsigned long rel_usecs) >> +lat_print_timestamp(struct trace_iterator *iter, u64

  1   2   3   4   5   6   7   8   9   10   >