Re: [PATCH v3 0/3] mm/zswap bugfix: memory leaks and other problems

2013-09-25 Thread Weijie Yang
On Tue, Sep 24, 2013 at 9:11 AM, Minchan Kim minc...@kernel.org wrote: On Mon, Sep 23, 2013 at 04:19:36PM +0800, Weijie Yang wrote: This patch series fix a few bugs in mm/zswap based on Linux-3.11. v2 -- v3 - keep GFP_KERNEL flag Why do you drop this? It's plain BUG. I read Bob's

[PATCH 3.11-stable] sched/cputime: Do not scale when utime == 0

2013-09-25 Thread Sergey Senozhatsky
commit 5a8e01f8fa51f5cbce8f37acc050eb2319d12956 upstream. scale_stime() silently assumes that stime rtime, otherwise when stime == rtime and both values are big enough (operations on them do not fit in 32 bits), the resulting scaling stime can be bigger than rtime. In consequence utime = rtime -

[PATCH] avr32: balance cpu_idle_poll_ctrl calls

2013-09-25 Thread Gabor Juhos
Since commit 01426478df3a8791ff5c8b6b82d409e699cfaf38 (avr32: Use generic idle loop) the kernel throws the following warning on avr32: WARNING: at 900322e4 [verbose debug info unavailable] Modules linked in: CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.0-rc2 #117 task: 901c3ecc ti:

[PATCH] arm: mach-integrator: Add stub for pci_v3_early_init() for !CONFIG_PCI

2013-09-25 Thread Joerg Roedel
This fixes a compile error where CONFIG_PCI is disabled: LD init/built-in.o arch/arm/mach-integrator/built-in.o: In function `ap_map_io': integrator_cp.c:(.init.text+0x570): undefined reference to `pci_v3_early_init' make[1]: *** [vmlinux] Error 1 make: *** [sub-make] Error 2 Cc:

[PATCH for-3.12 2/3] bcma: make bcma_core_pci_{up,down}() callable from atomic context

2013-09-25 Thread Arend van Spriel
This patch removes the bcma_core_pci_power_save() call from the bcma_core_pci_{up,down}() functions as it tries to schedule thus requiring to call them from non-atomic context. The function bcma_core_pci_power_save() is now exported so the calling module can explicitly use it in non-atomic

[PATCH for-3.12 1/3] brcmfmac: obtain platform data upon module initialization

2013-09-25 Thread Arend van Spriel
The driver uses platform_driver_probe() to obtain platform data if any. However, that function is placed in the .init section so it must be called upon driver module initialization. The problem was reported by Fenguang Wu resulting in a kernel oops because the .init section was already freed. [

[PATCH for-3.12 3/3] brcmsmac: call bcma_core_pci_power_save() from non-atomic context

2013-09-25 Thread Arend van Spriel
This patch adds explicit call to bcma_core_pci_power_save() from a non-atomic context resolving 'scheduling while atomic' issue. [ 13.224317] BUG: scheduling while atomic: dhcpcd/1800/0x0202 [ 13.224322] Modules linked in: brcmsmac nouveau coretemp kvm_intel kvm cordic brcmutil bcma

Re: Patch mmc: tmio_mmc_dma: fix PIO fallback on SDHI has been added to the 3.0-stable tree

2013-09-25 Thread Sergei Shtylyov
Hello. On 25-09-2013 3:27, gre...@linuxfoundation.org wrote: This is a note to let you know that I've just added the patch titled mmc: tmio_mmc_dma: fix PIO fallback on SDHI to the 3.0-stable tree which can be found at:

Re: [PATCH] avr32: balance cpu_idle_poll_ctrl calls

2013-09-25 Thread Hans-Christian Egtvedt
Around Wed 25 Sep 2013 11:31:19 +0200 or thereabout, Gabor Juhos wrote: Since commit 01426478df3a8791ff5c8b6b82d409e699cfaf38 (avr32: Use generic idle loop) the kernel throws the following warning on avr32: WARNING: at 900322e4 [verbose debug info unavailable] Modules linked in: CPU:

[PATCH 3.11-stable] audit: fix endless wait in audit_log_start()

2013-09-25 Thread Jonghwan Choi
This patch looks like it should be in the 3.11-stable tree, should we apply it? -- From: Konstantin Khlebnikov khlebni...@openvz.org commit 8ac1c8d5deba65513b6a82c35e89e73996c8e0d6 upstream After commit 829199197a43 (kernel/audit.c: avoid negative sleep durations) audit

[PATCH -stable] rt2800: fix wrong TX power compensation

2013-09-25 Thread Stanislaw Gruszka
commit 6e956da2027c767859128b9bfef085cf2a8e233b upstream. We should not do temperature compensation on devices without EXTERNAL_TX_ALC bit set (called DynamicTxAgcControl on vendor driver). Such devices can have totally bogus TSSI parameters on the EEPROM, but still threaded by us as valid and

Re: [PATCH] arm: mach-integrator: Add stub for pci_v3_early_init() for !CONFIG_PCI

2013-09-25 Thread Linus Walleij
On Wed, Sep 25, 2013 at 12:11 PM, Joerg Roedel j...@8bytes.org wrote: This fixes a compile error where CONFIG_PCI is disabled: ARM SoC folks, can you please apply this directly for fixes? Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe stable in the body of a

[PATCH] mtd: pxa3xx_nand: fix compilation error

2013-09-25 Thread Linus Walleij
When building the pxa3xx defconfig without device tree support (i.e. the pxa3xx_defconfig) the build fails like this: drivers/mtd/nand/pxa3xx_nand.c: In function ‘pxa3xx_nand_probe’: drivers/mtd/nand/pxa3xx_nand.c:1325:2: error: implicit declaration of function ‘pxa3xx_nand_get_variant’

Re: [PATCH 3.12] mwifiex: queue main work from main process when bailing on races

2013-09-25 Thread Daniel Mack
On 17.09.2013 21:15, Bing Zhao wrote: Queue main_work in case mwifiex_main_process() bails due to an already processed transaction. This is particularly necessary because mwifiex_main_process() is called from both the SDIO interrupt handler and the workqueue. In case an interrupt occurs while

Re: [PATCH] mtd: pxa3xx_nand: fix compilation error

2013-09-25 Thread Ezequiel Garcia
Hi Linus, On Wed, Sep 25, 2013 at 04:19:54PM +0200, Linus Walleij wrote: When building the pxa3xx defconfig without device tree support (i.e. the pxa3xx_defconfig) the build fails like this: drivers/mtd/nand/pxa3xx_nand.c: In function ‘pxa3xx_nand_probe’:

Re: [PATCH 3.11-stable] audit: fix endless wait in audit_log_start()

2013-09-25 Thread Konstantin Khlebnikov
On Wed, Sep 25, 2013 at 3:23 PM, Jonghwan Choi jhbird.c...@samsung.com wrote: This patch looks like it should be in the 3.11-stable tree, should we apply it? Yep, all kernels starting from v3.8 are affected. But I not sure that it could be applied as is, in older kernels context is slightly

[PATCH 1/7] irq: Force hardirq exit's softirq processing on its own stack

2013-09-25 Thread Frederic Weisbecker
The commit facd8b80c67a3cf64a467c4a2ac5fb31f2e6745b (irq: Sanitize invoke_softirq) converted irq exit calls of do_softirq() to __do_softirq() on all architectures, assuming it was only used there for its irq disablement properties. But as a side effect, the softirqs processed in the end of the

RE: [PATCH 3.12] mwifiex: queue main work from main process when bailing on races

2013-09-25 Thread Bing Zhao
Hi Daniel, Acked-by: Bing Zhao bz...@marvell.com John, could you pick this one? We found that this patch causes CPU utilization issue on Chromebooks. Could you please try attached patch on your platform? Basically this patch reverts your change and add main_proc_lock protection for

[RFC PATCH 0/7] softirq: Consolidation and stack overrun fix v2

2013-09-25 Thread Frederic Weisbecker
Hi, So here is a respin after the discussion we had, plus some more goodies: * 1st patch is a short term pure regression fixe, with stable tag etc... * 2nd patch now also generalize the softirq_count() check * 4th improve debugging (just hope I did not mistake the !in_interrupt() assumption in

Re: [PATCH 3.12] mwifiex: queue main work from main process when bailing on races

2013-09-25 Thread Daniel Mack
Hi Bing, On 25.09.2013 18:19, Bing Zhao wrote: Acked-by: Bing Zhao bz...@marvell.com John, could you pick this one? We found that this patch causes CPU utilization issue on Chromebooks. Could you please try attached patch on your platform? Basically this patch reverts your change and add

[PATCH 7/8 V4] rtlwifi: rtl8188ee: Fix smatch warning in rtl8188ee/hw.c

2013-09-25 Thread Larry Finger
Smatch lists the following: CHECK drivers/net/wireless/rtlwifi/rtl8188ee/hw.c drivers/net/wireless/rtlwifi/rtl8188ee/hw.c:149 _rtl88ee_set_fw_clock_on() info: ignoring unreachable code. drivers/net/wireless/rtlwifi/rtl8188ee/hw.c:149 _rtl88ee_set_fw_clock_on() info: ignoring unreachable

[3.8.y.z extended stable] Linux 3.8.13.10

2013-09-25 Thread Kamal Mostafa
I am announcing the release of the Linux 3.8.13.10 kernel. The updated 3.8.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.8.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.8.y;a=shortlog The diff from v3.8.13.9 is

Re: [PATCH] xfs: v2 fix node forward in xfs_node_toosmall

2013-09-25 Thread Ben Myers
Hey Dave, On Wed, Sep 25, 2013 at 09:33:31AM +1000, Dave Chinner wrote: On Tue, Sep 24, 2013 at 04:34:53PM -0500, Mark Tinguely wrote: On 09/24/13 16:06, Dave Chinner wrote: On Tue, Sep 24, 2013 at 12:35:44PM -0500, Mark Tinguely wrote: On 09/23/13 18:48, Dave Chinner wrote: On Mon, Sep

[merged] kernel-rebootc-re-enable-the-function-of-variable-reboot_default.patch removed from -mm tree

2013-09-25 Thread akpm
Subject: [merged] kernel-rebootc-re-enable-the-function-of-variable-reboot_default.patch removed from -mm tree To: chuansheng@intel.com,fei...@intel.com,robinmh...@linux.com,stable@vger.kernel.org,mm-comm...@vger.kernel.org From: a...@linux-foundation.org Date: Wed, 25 Sep 2013 12:06:14

[PATCH] Patch x86: Remove the duplicate C6100 entry in quirky motherboard boot list.

2013-09-25 Thread Masoud Sharbiani
From: Masoud Sharbiani msharbi...@twitter.com Two entries for the same system type were added, with two different vendor names: 'Dell' and 'Dell, Inc.'. Since a prefix match is being used, we can eliminate the latter. Signed-off-by: Masoud Sharbiani msharbi...@twitter.com ---

Re: [PATCH] Patch x86: Remove the duplicate C6100 entry in quirky motherboard boot list.

2013-09-25 Thread Greg KH
On Wed, Sep 25, 2013 at 03:36:10PM -0700, Masoud Sharbiani wrote: From: Masoud Sharbiani msharbi...@twitter.com Two entries for the same system type were added, with two different vendor names: 'Dell' and 'Dell, Inc.'. Since a prefix match is being used, we can eliminate the latter.

patch USB: OHCI: accept very late isochronous URBs added to usb tree

2013-09-25 Thread gregkh
This is a note to let you know that I've just added the patch titled USB: OHCI: accept very late isochronous URBs to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show up in the next release of

patch USB: UHCI: accept very late isochronous URBs added to usb tree

2013-09-25 Thread gregkh
This is a note to let you know that I've just added the patch titled USB: UHCI: accept very late isochronous URBs to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show up in the next release of

patch USB: fix PM config symbol in uhci-hcd, ehci-hcd, and xhci-hcd added to usb tree

2013-09-25 Thread gregkh
This is a note to let you know that I've just added the patch titled USB: fix PM config symbol in uhci-hcd, ehci-hcd, and xhci-hcd to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show up in

Re: [PATCH] tty: Fix SIGTTOU not sent with tcflush()

2013-09-25 Thread Greg Kroah-Hartman
On Wed, Sep 25, 2013 at 08:13:04PM -0400, Peter Hurley wrote: Commit 'e7f3880cd9b98c5bf9391ae7acdec82b75403776' tty: Fix recursive deadlock in tty_perform_flush() introduced a regression where tcflush() does not generate SIGTTOU for background process groups. Make sure ioctl(TCFLSH) calls

patch usb/core/devio.c: Don't reject control message to endpoint with wrong added to usb tree

2013-09-25 Thread gregkh
This is a note to let you know that I've just added the patch titled usb/core/devio.c: Don't reject control message to endpoint with wrong to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show

[PATCH] tty: Fix SIGTTOU not sent with tcflush()

2013-09-25 Thread Peter Hurley
Commit 'e7f3880cd9b98c5bf9391ae7acdec82b75403776' tty: Fix recursive deadlock in tty_perform_flush() introduced a regression where tcflush() does not generate SIGTTOU for background process groups. Make sure ioctl(TCFLSH) calls tty_check_change() when invoked from the line discipline. Cc:

Re: [ 000/110] 3.10.13-stable review

2013-09-25 Thread Greg Kroah-Hartman
On Tue, Sep 24, 2013 at 09:15:20PM -0700, Guenter Roeck wrote: On 09/24/2013 05:13 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.13 release. There are 110 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [ 000/117] 3.11.2-stable review

2013-09-25 Thread Greg Kroah-Hartman
On Tue, Sep 24, 2013 at 09:09:20PM -0700, Guenter Roeck wrote: On 09/24/2013 05:17 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.11.2 release. There are 117 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [ 00/40] 3.4.63-stable review

2013-09-25 Thread Greg Kroah-Hartman
On Tue, Sep 24, 2013 at 09:35:27PM -0700, Guenter Roeck wrote: On 09/24/2013 05:11 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.63 release. There are 40 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [PATCH] sg: fix memory leak

2013-09-25 Thread vaughan
On 09/25/2013 10:26 PM, Vegard Nossum wrote: Commit e32c9e6300e3af659cbfe45e90a1e7dcd3572ada introduced a memory leak. Fix it. Cc: stable@vger.kernel.org Cc: Vaughan Cao vaughan@oracle.com Cc: Douglas Gilbert dgilb...@interlog.com Signed-off-by: Vegard Nossum vegard.nos...@oracle.com

Re: [ 00/28] 3.0.97-stable review

2013-09-25 Thread Shuah Khan
On 09/24/2013 06:07 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.0.97 release. There are 28 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [ 00/40] 3.4.63-stable review

2013-09-25 Thread Shuah Khan
On 09/24/2013 06:11 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.63 release. There are 40 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [ 000/110] 3.10.13-stable review

2013-09-25 Thread Shuah Khan
On 09/24/2013 06:13 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.13 release. There are 110 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [ 000/117] 3.11.2-stable review

2013-09-25 Thread Shuah Khan
On 09/24/2013 06:17 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.11.2 release. There are 117 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [ 00/28] 3.0.97-stable review

2013-09-25 Thread Greg Kroah-Hartman
On Wed, Sep 25, 2013 at 08:22:24PM -0600, Shuah Khan wrote: On 09/24/2013 06:07 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.0.97 release. There are 28 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [ 000/117] 3.11.2-stable review

2013-09-25 Thread Greg Kroah-Hartman
On Wed, Sep 25, 2013 at 08:26:11PM -0600, Shuah Khan wrote: On 09/24/2013 06:17 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.11.2 release. There are 117 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [PATCH 0/2] ipc/sem.c: Race in sem_lock()

2013-09-25 Thread Mike Galbraith
On Tue, 2013-09-24 at 09:09 +0200, Mike Galbraith wrote: On Tue, 2013-09-24 at 08:20 +0200, Manfred Spraul wrote: Hi Greg, On 09/23/2013 11:28 PM, Greg KH wrote: formletter This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read

Re: [PATCH 0/2] ipc/sem.c: Race in sem_lock()

2013-09-25 Thread Andrew Morton
On Thu, 26 Sep 2013 04:50:20 +0200 Mike Galbraith efa...@gmx.de wrote: As soon as I finish some maintenance, I'll wedge the or forward pile into 3.10-rt and beat it up on 8 socket box. Applied ipc v3.10... plus pending fixes (minus sem_otime/proc), and beat is up with ltp, rt-tests/foo

RE: [PATCH v3 2/3] mm/zswap: bugfix: memory leak when invalidate and reclaim occur concurrently

2013-09-25 Thread Weijie Yang
On Tue, Sep 24, 2013 at 9:03 AM, Minchan Kim minc...@kernel.org wrote: On Mon, Sep 23, 2013 at 04:21:49PM +0800, Weijie Yang wrote: Modify: - check the refcount in fail path, free memory if it is not referenced. Hmm, I don't like this because zswap refcount routine is already mess for

Re: [PATCH 0/2] ipc/sem.c: Race in sem_lock()

2013-09-25 Thread Mike Galbraith
On Wed, 2013-09-25 at 20:09 -0700, Andrew Morton wrote: On Thu, 26 Sep 2013 04:50:20 +0200 Mike Galbraith efa...@gmx.de wrote: As soon as I finish some maintenance, I'll wedge the or forward pile into 3.10-rt and beat it up on 8 socket box. Applied ipc v3.10... plus pending fixes

Re: [PATCH] sg: fix memory leak

2013-09-25 Thread Douglas Gilbert
On 13-09-25 10:05 PM, vaughan wrote: On 09/25/2013 10:26 PM, Vegard Nossum wrote: Commit e32c9e6300e3af659cbfe45e90a1e7dcd3572ada introduced a memory leak. Fix it. Cc: stable@vger.kernel.org Cc: Vaughan Cao vaughan@oracle.com Cc: Douglas Gilbert dgilb...@interlog.com Signed-off-by: Vegard

Re: [PATCH] arm: mach-integrator: Add stub for pci_v3_early_init() for !CONFIG_PCI

2013-09-25 Thread Olof Johansson
On Wed, Sep 25, 2013 at 6:39 AM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Sep 25, 2013 at 12:11 PM, Joerg Roedel j...@8bytes.org wrote: This fixes a compile error where CONFIG_PCI is disabled: ARM SoC folks, can you please apply this directly for fixes? Done! Thanks, -Olof --