Re: ext3 issue on 3.6.1

2012-10-18 Thread Fabio Coatti
2012/10/19 NeilBrown : > On Fri, 19 Oct 2012 00:08:09 +0200 Jan Kara wrote: > >> On Thu 18-10-12 23:40:25, Paul Bolle wrote: >> > On Thu, 2012-10-18 at 23:23 +0200, Jan Kara wrote: >> > > On Fri 12-10-12 14:57:55, Fabio Coatti wrote: >> > > > [13031.051521] [ cut here ] >>

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

2012-10-18 Thread KOSAKI Motohiro
On Fri, Oct 19, 2012 at 2:46 AM, wrote: > From: Yasuaki Ishimatsu > > 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 struct does

Re: [PATCH] pwm: add spear pwm driver support

2012-10-18 Thread viresh kumar
On Fri, Oct 19, 2012 at 11:29 AM, Shiraz Hashim wrote: > On Thu, Oct 18, 2012 at 11:11:06PM +0530, viresh kumar wrote: >> On Thu, Oct 18, 2012 at 4:58 PM, Shiraz Hashim wrote: >> > +static int __devexit spear_pwm_remove(struct platform_device *pdev) >> > +{ >> > + struct spear_pwm_chip *pc

Re: [patch for-3.7 v2] mm, mempolicy: avoid taking mutex inside spinlock when reading numa_maps

2012-10-18 Thread KOSAKI Motohiro
>> Can't we have another way to fix ? like this ? too ugly ? >> Again, I'm sorry if I misunderstand the points. >> > Sorry this patch itself may be buggy. please don't test.. > I missed that kernel/exit.c sets task->mempolicy to be NULL. > fixed one here. > > -- > From 5581c71e68a7f50e52fd67cca0014

Re: [Xen-devel] [PATCH V3 2/6]: PVH: use native irq, enable callback, use HVM ring ops, smp, ...

2012-10-18 Thread Ian Campbell
On Thu, 2012-10-18 at 23:03 +0100, Mukesh Rathor wrote: > On Thu, 18 Oct 2012 11:44:37 +0100 > Ian Campbell wrote: > > > On Thu, 2012-10-18 at 01:30 +0100, Mukesh Rathor wrote: > > > PVH: make gdt_frames[]/gdt_ents into a union with {gdtaddr, gdtsz}, > > > PVH only needs to send down gdtaddr and

[PATCH v3 4/9] clear the memory to store struct page

2012-10-18 Thread wency
From: Wen Congyang If sparse memory vmemmap is enabled, we can't free the memory to store struct page when a memory device is hotremoved, because we may store struct page in the memory to manage the memory which doesn't belong to this memory device. When we hotadded this memory device again, we w

[PATCH v3 6/9] memory-hotplug: update mce_bad_pages when removing the memory

2012-10-18 Thread wency
From: Wen Congyang When we hotremove a memory device, we will free the memory to store struct page. If the page is hwpoisoned page, we should decrease mce_bad_pages. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: Christoph Lameter Cc: Minch

[PATCH v3 5/9] memory-hotplug: skip HWPoisoned page when offlining pages

2012-10-18 Thread wency
From: Wen Congyang hwpoisoned may be set when we offline a page by the sysfs interface /sys/devices/system/memory/soft_offline_page or /sys/devices/system/memory/hard_offline_page. We use __free_page() to put a page to buddy system when onlining pages. If the page is hwpoisoned page, we can't put

[PATCH v3 7/9] memory-hotplug: auto offline page_cgroup when onlining memory block failed

2012-10-18 Thread wency
From: Wen Congyang When a memory block is onlined, we will try allocate memory on that node to store page_cgroup. If onlining the memory block failed, we don't offline the page cgroup, and we have no chance to offline this page cgroup unless the memory block is onlined successfully again. It will

[PATCH v3 8/9] memory-hotplug: fix NR_FREE_PAGES mismatch

2012-10-18 Thread wency
From: Wen Congyang NR_FREE_PAGES will be wrong after offlining pages. We add/dec NR_FREE_PAGES like this now: 1. mova all pages in buddy system to MIGRATE_ISOLATE, and dec NR_FREE_PAGES 2. don't add NR_FREE_PAGES when it is freed and the migratetype is MIGRATE_ISOLATE 3. dec NR_FREE_PAGES when o

[PATCH v3 9/9] memory-hotplug: allocate zone's pcp before onlining pages

2012-10-18 Thread wency
From: Wen Congyang We use __free_page() to put a page to buddy system when onlining pages. __free_page() will store NR_FREE_PAGES in zone's pcp.vm_stat_diff, so we should allocate zone's pcp before onlining pages, otherwise we will lose some free pages. CC: David Rientjes CC: Jiang Liu CC: Len

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

2012-10-18 Thread wency
From: Yasuaki Ishimatsu 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 struct does not have a release() function. So the patch registers n

[PATCH v3 0/9] bugfix for memory hotplug

2012-10-18 Thread wency
From: Wen Congyang Changes from v2 to v3: Merge the bug fix from ishimatsu to this patchset(Patch 1-3) Patch 3: split it from patch as it fixes another bug. Patch 4: new patch, and fix bad-page state when hotadding a memory device after hotremoving it. I forgot to post this patch

[PATCH v3 3/9] memory-hotplug: flush the work for the node when the node is offlined

2012-10-18 Thread wency
From: Yasuaki Ishimatsu If the node is onlined after it is offlined, we will clear the memory to store the node's information. This structure contains struct work, so we should flush work before the work's information is cleared. CC: David Rientjes CC: Jiang Liu Cc: Minchan Kim CC: Andrew Mor

[PATCH v3 1/9] suppress "Device memoryX does not have a release() function" warning

2012-10-18 Thread wency
From: Yasuaki Ishimatsu When calling remove_memory_block(), the function shows following message at device_release(). "Device 'memory528' does not have a release() function, it is broken and must be fixed." The reason is memory_block's device struct does not have a release() function. So the p

RE: [PATCH] x86/ioapic: Fix that not all allocated irqs are ioapic type irqs

2012-10-18 Thread Liu, Chuansheng
> -Original Message- > From: yhlu.ker...@gmail.com [mailto:yhlu.ker...@gmail.com] On Behalf Of > Yinghai Lu > impossible ! > > where is the irq_desc coming from. ? Any other chip can call function irq_alloc_descs/irq_alloc_desc() to get irq_desc, and other chip can has their own chip da

Re: [PATCH v5 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-18 Thread Takao Indoh
(2012/10/19 0:32), Khalid Aziz wrote: > On Wed, 2012-10-17 at 15:23 +0900, Takao Indoh wrote: >> This patch resets PCIe devices at boot time by hot reset when >> "reset_devices" is specified. >> >> Signed-off-by: Takao Indoh >> --- >> arch/x86/include/asm/pci-direct.h |1 >> arch/x86/kernel

Re: [PATCH] ptp_pch: release chip->mem_base and chip->regs on error

2012-10-18 Thread Richard Cochran
On Thu, Oct 18, 2012 at 05:48:52PM +0800, Yuanhan Liu wrote: > Fix smatch warnings catched by Fengguang's 0-DAY system: > + drivers/ptp/ptp_pch.c:641 pch_probe() warn: 'chip->mem_base' was not > released on error > + drivers/ptp/ptp_pch.c:641 pch_probe() warn: 'chip->regs' was not released > on e

RE: [PATCH] x86/ioapic: Fix that not all allocated irqs are ioapic type irqs

2012-10-18 Thread Liu, Chuansheng
> -Original Message- > From: yhlu.ker...@gmail.com [mailto:yhlu.ker...@gmail.com] On Behalf Of > Yinghai Lu > Sent: Friday, October 19, 2012 2:11 PM > To: Liu, Chuansheng > Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; Siddha, Suresh B; > mathias.ny...@linux.intel.com; linux-k

Re: "read_current_timer" undefined!

2012-10-18 Thread Alexander Holler
Hello, Am 18.10.2012 14:16, schrieb Thomas Meyer: ERROR: "read_current_timer" [drivers/gpu/drm/udl/udl.ko] undefined! ERROR: "read_current_timer" [crypto/tcrypt.ko] undefined! There is already a long thread about that, along with patches: https://lkml.org/lkml/2012/10/9/393 If you need a pa

Re: [PATCH] x86/ioapic: Fix that not all allocated irqs are ioapic type irqs

2012-10-18 Thread Yinghai Lu
On Fri, Oct 19, 2012 at 3:41 AM, Chuansheng Liu wrote: > > When debugging our system issues related with __setup_vector_irq(), > found there is a real wrong code that: > for_each_active_irq(irq) { > cfg = irq_get_chip_data(irq); > if (!cfg) >

Re: [PATCH] pwm: add spear pwm driver support

2012-10-18 Thread Viresh Kumar
On 19 October 2012 11:29, Shiraz Hashim wrote: >> > + clk_disable_unprepare(pc->clk); >> >> call only disable from here. Leave it prepared for ever. >> > > and unprepare only in _remove. Okay. yes. > I need to shut down all active pwms, how else would you suggest that ? I misread

Re: [PATCH] pwm: add spear pwm driver support

2012-10-18 Thread Shiraz Hashim
Hi Viresh, On Thu, Oct 18, 2012 at 11:11:06PM +0530, viresh kumar wrote: > On Thu, Oct 18, 2012 at 4:58 PM, Shiraz Hashim wrote: > > diff --git a/Documentation/devicetree/bindings/pwm/st-spear-pwm.txt > > b/Documentation/devicetree/bindings/pwm/st-spear-pwm.txt > > +== ST SPEAr SoC PWM controlle

[PATCH] ARM: dt: tegra: ventana: define pinmux for ddc

2012-10-18 Thread Mark Zhang
Define pinmux for DDC. The DDC pinmux in Ventana is 2 pins in I2C2. Signed-off-by: Mark Zhang --- arch/arm/boot/dts/tegra20-ventana.dts | 70 ++--- 1 file changed, 65 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-ventana.dts b/arch/arm/boot/

[PATCH 2/2] KVM: make crash_clear_loaded_vmcss valid when loading kvm_intel module

2012-10-18 Thread Zhang Yanfei
Signed-off-by: zhangyanfei --- arch/x86/kvm/vmx.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4ff0ab9..f6a16b2 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -41,6 +41,7 @@ #include #include #incl

[PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-18 Thread Tang Chen
cmci_rediscover() is only called by the CPU_POST_DEAD event handler, which means the corresponding cpu has already dead. As a result, it won't be accessed in the for_each_online_cpu loop. So, we could change the if(cpu == dying) statement into a WARN_ON_ONCE(). Signed-off-by: Tang Chen --- arch/

[PATCH v2 0/2] Do not change worker's running cpu in cmci_rediscover().

2012-10-18 Thread Tang Chen
1. cmci_rediscover() is only called by the CPU_POST_DEAD event handler, which means the corresponding cpu has already dead. As a result, it won't be accessed in the for_each_online_cpu loop. So, we could change the if(cpu == dying) statement into a WARN_ON_ONCE(). 2. cmci_rediscover() used set_cpu

[PATCH v2 2/2] Do not change worker's running cpu in cmci_rediscover().

2012-10-18 Thread Tang Chen
cmci_rediscover() used set_cpus_allowed_ptr() to change the current process's running cpu, and migrate itself to the dest cpu. But worker processes are not allowed to be migrated. If current is a worker, the worker will be migrated to another cpu, but the corresponding worker_pool is still on the

[PATCH 1/2] x86/kexec: VMCLEAR vmcss on all cpus if necessary

2012-10-18 Thread Zhang Yanfei
This patch provides a way to VMCLEAR vmcss related to guests on all cpus before executing the VMXOFF when doing kdump. This is used to ensure the VMCSs in the vmcore updated and non-corrupted. Signed-off-by: zhangyanfei --- arch/x86/include/asm/kexec.h |2 ++ arch/x86/kernel/crash.c |

[PATCH v2 0/2] x86: clear vmcss on all cpus when doing kdump if necessary

2012-10-18 Thread Zhang Yanfei
Currently, kdump just makes all the logical processors leave VMX operation by executing VMXOFF instruction, so any VMCSs active on the logical processors may be corrupted. But, sometimes, we need the VMCSs to debug guest images contained in the host vmcore. To prevent the corruption, we should VMCL

[PATCH RFC] [x86] Optimize small size memcpy by avoding long latency from decode stage

2012-10-18 Thread ling . ma . program
From: Ma Ling CISC code has higher instruction density, saving memory and improving i-cache hit rate. However decode become challenge, only one mulitple-uops(2~3)instruction could be decoded in one cycle, and instructions containing more 4 uops(rep movsq/b) have to be handled by MS-ROM, the proc

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

2012-10-18 Thread Wen Congyang
At 10/17/2012 04:50 PM, KOSAKI Motohiro Wrote: > On Wed, Oct 17, 2012 at 2:24 AM, Wen Congyang wrote: >> At 10/12/2012 06:33 AM, KOSAKI Motohiro Wrote: >>> On Thu, Oct 11, 2012 at 1:26 AM, Yasuaki Ishimatsu >>> wrote: When calling unregister_node(), the function shows following message at >>

Re: [PATCH] remove untouched code in kfifo_in

2012-10-18 Thread Stefani Seibold
Am Freitag, den 19.10.2012, 00:37 +0200 schrieb richard -rw- weinberger: > On Thu, Oct 18, 2012 at 3:59 PM, Wei Yang wrote: > > In kfifo_in marco, one piece of code is arounded by if(0). This code in > > introduced by Stefani Seibold to suppress a compiler > > warning. This warning is not there

Re: MAX_LOCKDEP_ENTRIES too low (called from ioc_release_fn)

2012-10-18 Thread Dave Jones
On Thu, Oct 18, 2012 at 07:53:08AM +0200, Jens Axboe wrote: > On 2012-10-18 03:53, Dave Jones wrote: > > Triggered while fuzz testing.. > > > > > > BUG: MAX_LOCKDEP_ENTRIES too low! > > turning off the locking correctness validator. > > Pid: 22788, comm: kworker/2:1 Not tainted 3.7.0-rc1+

MDaemon Notification -- Attachment Removed

2012-10-18 Thread Postmaster
The following message contained restricted attachment(s) which have been removed: >From : linux-kernel@vger.kernel.org To: charter...@jnab.se Subject : vsz zkaioojcrfuqg Message-ID: Attachment(s) removed: - document.zip (document.scr) --

MAINTAINERS: Add Rafael's address to ACPI maintainers

2012-10-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since I will be maintaining ACPI together with Len from now on, add my address to the ACPI maintainers list in the MAINTAINERS file (this is the address to send patches to). Signed-off-by: Rafael J. Wysocki --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) Index

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

2012-10-18 Thread preeti
Sorry guys this mail had problems getting sent.hence the repost. Hi Morten, Thank you very much for your review. >> 1.Consider a scenario,where there are two 10% tasks running on a cpu.The >> present code will consider the load on this queue to be 2048,while >> using PJT's metric the load is

Re: [PATCH 0/3] x86: clear vmcss on all cpus when doing kdump if necessary

2012-10-18 Thread Zhang Yanfei
于 2012年10月18日 18:55, Avi Kivity 写道: > On 10/18/2012 03:12 AM, Zhang Yanfei wrote: >> 于 2012年10月17日 18:16, Avi Kivity 写道: >>> On 10/17/2012 04:28 AM, Zhang Yanfei wrote: 于 2012年10月15日 23:43, Avi Kivity 写道: > On 10/12/2012 08:40 AM, Zhang Yanfei wrote: >> Currently, kdump just makes all

Re: [PATCH 5/6] udf: implement extent caching while reading-writing to a file

2012-10-18 Thread Namjae Jeon
2012/10/19, Jan Kara : > Hello, > > On Wed 10-10-12 00:10:01, Namjae Jeon wrote: >> From: Namjae Jeon >> >> This patch implements extent caching. >> Instead of reading metadata everytime from file's starting position, >> now we read from the cached extent. >> This speeds up the transformation of

Re: [PATCH 1/2] acpi : cpu hot-remove returns error when cpu_down() fails

2012-10-18 Thread Yasuaki Ishimatsu
Hi Rafael, 2012/10/19 10:06, Rafael J. Wysocki wrote: On Friday 28 of September 2012 19:36:02 Yasuaki Ishimatsu wrote: Even if cpu_down() fails, acpi_processor_remove() continues to remove the cpu. But in this case, it should return error number since some process may run on the cpu. If the cpu

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

2012-10-18 Thread Rafael J. Wysocki
On Thursday 11 of October 2012 19:12:28 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 dev argument is NULL. Thus even if > dev

[PATCH 2/2 v4] block/throttle: Add IO queued information in blkio.throttle

2012-10-18 Thread Robin Dong
From: Robin Dong Currently, if the IO is throttled by io-throttle, the system admin has no idea of the situation and can't report it to the real application user about that he/she has to do something. So this patch adds a new interface named blkio.throttle.io_queued which exposes the number of b

[PATCH 1/2 v4] block/throttle: remove redundant type transition

2012-10-18 Thread Robin Dong
From: Robin Dong We don't need to convert tg to blkg and then convert it back in throtl_update_dispatch_stats(). Signed-off-by: Robin Dong --- block/blk-throttle.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index a

[PATCH net-next 07/21] infiniband: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- drivers/infiniband/hw/amso1100/c2.c |2 +- drivers/infiniband/hw/nes/nes_nic.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/amso1100/c2.c b/

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

2012-10-18 Thread preeti
Hi Morten, Thank you very much for your review. >> 1.Consider a scenario,where there are two 10% tasks running on a cpu.The >> present code will consider the load on this queue to be 2048,while >> using PJT's metric the load is calculated to be <1000,rarely exceeding this >> limit.Although t

[PATCH net-next 21/21] sctp: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- include/net/sctp/constants.h | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h i

[PATCH net-next 20/21] lockd: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- include/linux/lockd/lockd.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index f5a051

[PATCH net-next 19/21] parisc: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- drivers/parisc/led.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c index f2f501e..8951fd1 100644 --- a

[PATCH net-next 18/21] ath6kl: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- drivers/net/wireless/ath/ath6kl/wmi.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireles

[PATCH net-next 17/21] infiniband: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- drivers/infiniband/core/cma.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index

[PATCH net-next 16/21] net: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- net/bridge/br_multicast.c |4 +- net/core/netpoll.c|2 +- net/core/pktgen.c | 10 +++--- net/ipv4/arp.c|

[PATCH net-next 15/21] in.h: Rename ipv4_is_ functions to ipv4_addr_

2012-10-18 Thread Joe Perches
Make the ipv4_is_ tests use a similar style to ipv6_ tests. Add backward compatibility #defines to keep current ipv4_is_ code working until completely converted. Signed-off-by: Joe Perches --- include/linux/in.h | 40 1 files changed, 28 insertions(+),

[PATCH net-next 14/21] llc_if.h: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- include/net/llc_if.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/llc_if.h b/include/net/llc_if.h index b595a00..cce2942 100644 --- a/include/net/llc_if.

[PATCH net-next 13/21] Documentation: networking: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- Documentation/networking/driver.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/networking/driver.txt b/Documentation/networking/driver.txt index da59e

[PATCH net-next 12/21] uwb: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- drivers/uwb/address.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/uwb/address.c b/drivers/uwb/address.c index 8739c4f..ba4e4cf 100644 --- a/drivers/uwb/addres

[PATCH net-next 11/21] usb: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- drivers/usb/gadget/u_ether.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index 6458764..d6a5577 100644

[PATCH net-next 10/21] s390: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- drivers/s390/net/qeth_l2_main.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index e67e025..58324dc

[PATCH net-next 09/21] of: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- drivers/of/of_net.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index ffab033..452dcf6 100644 --- a/drivers/of/of_net.c

[PATCH net-next 08/21] scsi: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- drivers/scsi/bnx2fc/bnx2fc_els.c |4 ++-- drivers/scsi/bnx2fc/bnx2fc_fcoe.c |2 +- drivers/scsi/fcoe/fcoe.c | 12 ++-- drivers/scsi/fcoe/fcoe_ctlr.c |8

[PATCH net-next 06/21] staging: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- drivers/staging/ccg/u_ether.c |6 +++--- drivers/staging/csr/sme_wext.c |2 +- drivers/staging/et131x/et131x.c|4 ++-- driv

Re: [PATCH] oom, memcg: handle sysctl oom_kill_allocating_task while memcg oom happening

2012-10-18 Thread Sha Zhengju
On 10/18/2012 11:32 PM, Michal Hocko wrote: On Thu 18-10-12 21:51:57, Sha Zhengju wrote: On 10/18/2012 07:56 PM, Michal Hocko wrote: On Wed 17-10-12 01:14:48, Sha Zhengju wrote: On Tuesday, October 16, 2012, Michal Hocko wrote: [...] Could you be more specific about the motivation for this

Re: [PATCH 1/2] acpi : cpu hot-remove returns error when cpu_down() fails

2012-10-18 Thread Rafael J. Wysocki
On Friday 28 of September 2012 19:36:02 Yasuaki Ishimatsu wrote: > Even if cpu_down() fails, acpi_processor_remove() continues to remove the cpu. > But in this case, it should return error number since some process may run on > the cpu. If the cpu has a running process and the cpu is turned the pow

[PATCH net-next 04/21] wireless: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- drivers/net/wireless/adm8211.c |2 +- drivers/net/wireless/airo.c|4 ++-- drivers/net/wireless/at76c50x-usb.c|8 dr

[PATCH net-next 03/21] arch: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- arch/arm/mach-davinci/board-mityomapl138.c |2 +- arch/arm/mach-pxa/colibri-pxa3xx.c |2 +- arch/avr32/boards/atngw100/setup.c |2 +- arch/avr32/boards/atstk1000/atstk1

[PATCH net-next 02/21] net: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- net/802/stp.c |4 +- net/8021q/vlan_dev.c |6 ++-- net/8021q/vlan_netlink.c |2 +- net/batman-adv/bat_iv_ogm.c|

[PATCH net-next 00/21] treewide: Use consistent api style for address testing

2012-10-18 Thread Joe Perches
ethernet, ipv4, and ipv6 address testing uses 3 different api naming styles. ethernet uses: is__ether_addr ipv4 uses: ipv4_is_ ipv6 uses: ipv6_addr_ Standardize on the ipv6 style of _addr_ to reduce the number of styles to remember. The new consistent styles are: eth_addr_(const u8 *

[PATCH net-next 01/21] etherdevice: Rename is__ether_addr tests to eth_addr_

2012-10-18 Thread Joe Perches
Make the ether_addr tests use a similar style to ipv6_ tests. Add backward compatibility #defines to keep current is__ether_addr code working until completely converted. Signed-off-by: Joe Perches --- include/linux/etherdevice.h | 36 ++-- 1 files changed, 22 in

[PATCH net-next] pktgen: Use ipv6_addr_any

2012-10-18 Thread Joe Perches
Use the standard test for a non-zero ipv6 address. Signed-off-by: Joe Perches --- net/core/pktgen.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net/core/pktgen.c b/net/core/pktgen.c index d1dc14c..1d1c216 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -242

Re: [RFC PATCH v1 1/3] mm: teach mm by current context info to not do I/O during memory allocation

2012-10-18 Thread Ming Lei
On Thu, Oct 18, 2012 at 7:54 AM, Andrew Morton wrote: > > local_irq_save() and local_irq_restore() were mistakes :( It's silly to > write what appears to be a C function and then have it operate like > Pascal (warning: I last wrote some Pascal in 66 B.C.). Considered that spin_lock_irqsave/spin_u

[ 03/62] NFSD: pass null terminated buf to kstrtouint()

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Malahal Naineni commit 9959ba0c241a71c7ed8133401cfbbee2720da0b5 upstream. The 'buf' is prepared with null termination with intention of using it for this purpose, but 'name' is passed instead!

[ 01/62] ARM: vfp: fix saving d16-d31 vfp registers on v6+ kernels

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 846a136881b8f73c1f74250bf6acfaa309cab1f2 upstream. Michael Olbrich reported that his test program fails when built with -O2 -mcpu=cortex-a8 -mfpu=neon, and a kernel which su

[ 04/62] lockd: use rpc clients cl_nodename for id encoding

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kinsbursky commit 303a7ce92064c285a04c870f2dc0192fdb2968cb upstream. Taking hostname from uts namespace if not safe, because this cuold be performind during umount operation on child

[ 08/62] ALSA: hda - Fix memory leaks at error path in patch_cirrus.c

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c5e0b6dbad9b4d18c561af90b384d02373f1c994 upstream. The proper destructor should be called at the error path. Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman

[ 12/62] iscsi-target: Correctly set 0xffffffff field within ISCSI_OP_REJECT PDU

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit f25590f39d543272f7ae7b00d533359c8d7ff331 upstream. This patch adds a missing iscsi_reject-> assignment within iscsit_send_reject() code to properly follow RFC-

[ 13/62] iscsit: remove incorrect unlock in iscsit_build_sendtargets_resp

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 904753da183566c71211d23c169a80184648c121 upstream. Fix a potential multiple spin-unlock -> deadlock scenario during the overflow check within iscsit_build_sendtargets_r

[ 09/62] mips,kgdb: fix recursive page fault with CONFIG_KPROBES

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wessel commit f0a996eeeda214f4293e234df33b29bec003b536 upstream. This fault was detected using the kgdb test suite on boot and it crashes recursively due to the fact that CONFIG_KPROBES o

[ 06/62] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit 67bfa9b60bd689601554526d144b21d529f78a09 upstream. By enlarging the GPE storm threshold back to 20, that laptop's EC works fine with interrupt mode instead of polling mode. ht

[ 02/62] nfsd4: fix nfs4 stateid leak

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit cf9182e90b2af04245ac4fae497fe73fc71285b4 upstream. Processes that open and close multiple files may end up setting this oo_last_closed_stid without freeing what was pre

[ 00/62] 3.4.15-stable review

2012-10-18 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.15 release. There are 62 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 made by Sun Oct 21 02:42:38 UTC 2012. Anything receive

[ 10/62] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 35c2a7f4908d404c9124c2efc6ada4640ca4d5d5 upstream. Fuzzing with trinity oopsed on the 1st instruction of shmem_fh_to_dentry(), u64 inum = fid->raw[2]; which is unhel

[ 14/62] iscsi-target: Add explicit set of cache_dynamic_acls=1 for TPG demo-mode

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 38b11bae6ba02da352340aff12ee25755977b222 upstream. We've had reports in the past about this specific case, so it's time to go ahead and explicitly set cache_dynamic_ac

[ 25/62] autofs4 - fix reset pending flag on mount fail

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ian Kent commit 4ab27eab6289a8e4f450e148bdab521361b2 upstream. In autofs4_d_automount(), if a mount fail occurs the AUTOFS_INF_PENDING mount pending flag is not cleared. One effect of this

[ 05/62] ACPI: EC: Make the GPE storm threshold a module parameter

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit a520d52e99b14ba7db135e916348f12f2a6e09be upstream. The Linux EC driver includes a mechanism to detect GPE storms, and switch from interrupt-mode to polling mode. However, poll

[ 17/62] SCSI: scsi_debug: Fix off-by-one bug when unmapping region

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Czerner commit bc977749e967daa56de1922cf4cb38525631c51c upstream. Currently it is possible to unmap one more block than user requested to due to the off-by-one error in unmap_region(). Th

[ 20/62] SUNRPC: Ensure that the TCP socket is closed when in CLOSE_WAIT

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit a519fc7a70d1a918574bb826cc6905b87b482eb9 upstream. Instead of doing a shutdown() call, we need to do an actual close(). Ditto if/when the server is sending us junk RPC he

[ 21/62] target: fix return code in target_core_init_configfs error path

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Senna Tschudin commit 37bb7899ca366dc212b71b150e78566d04808cc0 upstream. This patch fixes error cases within target_core_init_configfs() to properly set ret = -ENOMEM before jumping to th

[ 22/62] xen/bootup: allow {read|write}_cr8 pvops call.

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit 1a7bbda5b1ab0e02622761305a32dc38735b90b2 upstream. We actually do not do anything about it. Just return a default value of zero and if the kernel tries to write any

[ 27/62] video/udlfb: fix line counting in fb_write

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Holler commit b8c4321f3d194469007f5f5f2b34ec278c264a04 upstream. Line 0 and 1 were both written to line 0 (on the display) and all subsequent lines had an offset of -1. The result was

[ 29/62] timers: Fix endless looping between cascade() and internal_add_timer()

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Hildner, Christian" commit 26cff4e2aa4d666dc6a120ea34336b5057e3e187 upstream. Adding two (or more) timers with large values for "expires" (they have to reside within tv5 in the same list) lead

[ 30/62] ath9k: use ieee80211_free_txskb

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 249ee72249140fe5b9adc988f97298f0aa5db2fc upstream. Using ieee80211_free_txskb for tx frames is required, since mac80211 clones skbs for which socket tx status is requested.

[ 31/62] md/raid10: use correct limit variable

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 91502f099dfc5a1e8812898e26ee280713e1d002 upstream. Clang complains that we are assigning a variable to itself. This should be using bad_sectors like the similar earlier ch

[ 01/37] ARM: vfp: fix saving d16-d31 vfp registers on v6+ kernels

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 846a136881b8f73c1f74250bf6acfaa309cab1f2 upstream. Michael Olbrich reported that his test program fails when built with -O2 -mcpu=cortex-a8 -mfpu=neon, and a kernel which su

[ 04/37] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit 67bfa9b60bd689601554526d144b21d529f78a09 upstream. By enlarging the GPE storm threshold back to 20, that laptop's EC works fine with interrupt mode instead of polling mode. ht

[ 06/37] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 35c2a7f4908d404c9124c2efc6ada4640ca4d5d5 upstream. Fuzzing with trinity oopsed on the 1st instruction of shmem_fh_to_dentry(), u64 inum = fid->raw[2]; which is unhel

[ 33/62] pktgen: fix crash when generating IPv6 packets

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Amerigo Wang commit 5aa8b572007c4bca1e6d3dd4c4820f1ae49d6bb2 upstream. For IPv6, sizeof(struct ipv6hdr) = 40, thus the following expression will result negative: datalen = pkt_dev->cur

[ 23/62] xen/bootup: allow read_tscp call for Xen PV guests.

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit cd0608e71e9757f4dae35bcfb4e88f4d1a03a8ab upstream. The hypervisor will trap it. However without this patch, we would crash as the .read_tscp is set to NULL. This pa

[ 15/62] iscsi-target: Bump defaults for nopin_timeout + nopin_response_timeout values

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit cf0eb28d3ba60098865bf7dbcbfdd6b1cc483e3b upstream. This patch increases the default for nopin_timeout to 15 seconds (wait between sending a new NopIN ping) and nopin_r

[ 24/62] block: fix request_queue->flags initialization

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 60ea8226cbd5c8301f9a39edc574ddabcb8150e0 upstream. A queue newly allocated with blk_alloc_queue_node() has only QUEUE_FLAG_BYPASS set. For request-based drivers, blk_init_allo

[ 11/62] SCSI: hpsa: dial down lockup detection during firmware flash

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Stephen M. Cameron" commit e85c59746957fd6e3595d02cf614370056b5816e upstream. Dial back the aggressiveness of the controller lockup detection thread. Currently it will declare the controller t

[ 07/37] ARM: 7541/1: Add ARM ERRATA 775420 workaround

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Simon Horman commit 7253b85cc62d6ff84143d96fe6cd54f73736f4d7 upstream. arm: Add ARM ERRATA 775420 workaround Workaround for the 775420 Cortex-A9 (r2p2, r2p6,r2p8,r2p10,r3p0) erratum. In case a

  1   2   3   4   5   6   7   8   9   >