Help request for clone(2) man page

2013-04-16 Thread Michael Kerrisk (man-pages)
Al, I see that you did some consolidating work for clone() in Linux 3.8, and for that reason I suspect you know the answer to the questions below. Could you take a short moment to look at the questions? The relevant pieces of the clone(2) man page are quoted below. There is some ancient text

Re: [RESEND] IOZone with transparent huge page cache

2013-04-16 Thread Dave Hansen
On 04/15/2013 10:57 PM, Kirill A. Shutemov wrote: ** Initial writers ** threads:1248 16 32 64 128 256 baseline: 1103360 912585 500065 260503 12891862039 3479918718 9376 patched:

Re: Linux kernel support -O0 optimization flag?

2013-04-16 Thread Ley Foon Tan
On Mon, 2013-04-15 at 13:16 +0200, richard -rw- weinberger wrote: No. If I'm not mistaken we need this to make sure that the compiler inlines some functions. In your case the compiler failed to compute the BUILD_BUG() macro correctly. It depends also on optimization. Thank you. So, the

Re: [PATCH 19/26] sh: Don't use create_proc_read_entry() [RFC]

2013-04-16 Thread Simon Horman
On Thu, Apr 11, 2013 at 02:30:09PM +0100, David Howells wrote: Don't use create_proc_read_entry() as that is deprecated, but rather use proc_create_data() and seq_file instead. Paul, do you want me to handle this? Signed-off-by: David Howells dhowe...@redhat.com cc: Paul Mundt

[PATCH v3] bitmap: speed up bitmap_find_free_region

2013-04-16 Thread Chanho Min
In bitmap_find_free_region, If we skip the all-ones words and find bits in a not-all-ones word, we can improve performance of it. For example, If bitmap_find_free_region() is called with order=0, First, It scans bitmap array by the increment of long type, then find 1 free bit within 1 long type

Re: [PATCH] lowmemorykiller: prevent multiple instances of low memory killer

2013-04-16 Thread Dan Carpenter
On Mon, Apr 15, 2013 at 04:11:18PM -0700, David Rientjes wrote: On Mon, 15 Apr 2013, Greg Kroah-Hartman wrote: The positive numbers are used to return information on the remaining cache size (again, see the comment I pasted above). We could use -EBUSY, but we'd have to change vmscan.c,

Re: [PATCH v9] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-04-16 Thread Arkadiusz Miskiewicz
On Tuesday 16 of April 2013, Neil Horman wrote: A few years back intel published a spec update: http://www.intel.com/content/dam/doc/specification-update/5520-and-5500-chi pset-ioh-specification-update.pdf For the 5520 and 5500 chipsets which contained an errata (specificially errata 53),

Re: [PATCH 4/8] Read/Write oops nvram partition via pstore

2013-04-16 Thread Aruna Balakrishnaiah
Hi Michael, Thanks for reviewing my patches. On Monday 15 April 2013 01:25 PM, Michael Ellerman wrote: On Wed, Apr 10, 2013 at 12:53:03PM +0530, Aruna Balakrishnaiah wrote: This patch exploits pstore infrastructure in power systems. IBM's system p machines provide persistent storage for LPARs

Re: [PATCH 5/8] Read rtas partition via pstore

2013-04-16 Thread Aruna Balakrishnaiah
On Monday 15 April 2013 01:31 PM, Michael Ellerman wrote: On Wed, Apr 10, 2013 at 12:53:27PM +0530, Aruna Balakrishnaiah wrote: This patch exploits pstore infrastructure to read the details from NVRAM's rtas partition. Does that mean it's exposed in the pstore filesystem? Yeah thats right.

Re: [PATCH 19/26] sh: Don't use create_proc_read_entry() [RFC]

2013-04-16 Thread Al Viro
On Tue, Apr 16, 2013 at 03:11:13PM +0900, Simon Horman wrote: On Thu, Apr 11, 2013 at 02:30:09PM +0100, David Howells wrote: Don't use create_proc_read_entry() as that is deprecated, but rather use proc_create_data() and seq_file instead. Paul, do you want me to handle this? FWIW, I can

[PATCH v3 02/15] KVM: fold kvm_arch_create_memslot into kvm_arch_prepare_memory_region

2013-04-16 Thread Xiao Guangrong
It removes a arch-specified interface and also removes unnecessary empty functions on some architectures Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/arm/kvm/arm.c |5 - arch/ia64/kvm/kvm-ia64.c |5 - arch/powerpc/kvm/powerpc.c |8 ++--

[PATCH v3 05/15] KVM: MMU: allow per-rmap operations

2013-04-16 Thread Xiao Guangrong
Introduce rmap_operations to allow rmap having different operations, then, we are able to handle invalid rmap specially Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/include/asm/kvm_host.h |1 + arch/x86/kvm/mmu.c | 31

[PATCH v3 00/15] KVM: MMU: fast zap all shadow pages

2013-04-16 Thread Xiao Guangrong
This patchset is based on my previous two patchset: [PATCH 0/2] KVM: x86: avoid potential soft lockup and unneeded mmu reload (https://lkml.org/lkml/2013/4/1/2) [PATCH v2 0/6] KVM: MMU: fast invalid all mmio sptes (https://lkml.org/lkml/2013/4/1/134) Changlog: V3: completely redesign the

[PATCH v3 01/15] KVM: x86: clean up and optimize for kvm_arch_free_memslot

2013-04-16 Thread Xiao Guangrong
memslot rmap and lpage-info are never partly reused and nothing need be freed when new memslot is created Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/x86.c | 21 - 1 files changed, 12 insertions(+), 9 deletions(-) diff --git

[PATCH v3 04/15] KVM: MMU: abstract memslot rmap related operations

2013-04-16 Thread Xiao Guangrong
Introduce slot_rmap_* functions to abstract memslot rmap related operations which makes the later patch more clearer Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c | 108 +- arch/x86/kvm/mmu_audit.c | 10

[PATCH v3 10/15] KVM: x86: introduce memslot_set_lpage_disallowed

2013-04-16 Thread Xiao Guangrong
It is used to set disallowed lage page on the specified level, can be used in later patch Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/x86.c | 53 ++- 1 files changed, 35 insertions(+), 18 deletions(-) diff

[PATCH v3 12/15] KVM: MMU: fast invalid all shadow pages

2013-04-16 Thread Xiao Guangrong
The current kvm_mmu_zap_all is really slow - it is holding mmu-lock to walk and zap all shadow pages one by one, also it need to zap all guest page's rmap and all shadow page's parent spte list. Particularly, things become worse if guest uses more memory or vcpus. It is not good for scalability.

[PATCH v3 15/15] KVM: MMU: replace kvm_zap_all with kvm_mmu_invalid_all_pages

2013-04-16 Thread Xiao Guangrong
Use kvm_mmu_invalid_all_pages in kvm_arch_flush_shadow_all and rename kvm_zap_all to kvm_free_all which is used to free all memmory used by kvm mmu when vm is being destroyed, at this time, no vcpu exists and mmu-notify has been unregistered, so we can free the shadow pages out of mmu-lock

[PATCH v3 14/15] KVM: move srcu_read_lock/srcu_read_unlock to arch-specified code

2013-04-16 Thread Xiao Guangrong
Move srcu_read_lock/srcu_read_unlock in kvm_mmu_notifier_release to kvm_arch_flush_shadow_all since we will hold slot-lock instead of srcu Only ARM, POWERPC and x86 are using mmu-notify and kvm_arch_flush_shadow_all on ARM and POWERPC does nothing, so we only need to modify the code on x86

[PATCH v3 13/15] KVM: x86: use the fast way to invalid all pages

2013-04-16 Thread Xiao Guangrong
Replace kvm_mmu_zap_all by kvm_mmu_invalid_all_pages except on the path of mmu_notifier-release() which will be replaced in the later patch Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/x86.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v3 08/15] KVM: MMU: allow unmap invalid rmap out of mmu-lock

2013-04-16 Thread Xiao Guangrong
pte_list_clear_concurrently allows us to reset pte-desc entry out of mmu-lock. We can reset spte out of mmu-lock if we can protect the lifecycle of sp, we use this way to achieve the goal: unmap_memslot_rmap_nolock(): for-each-rmap-in-slot: preempt_disable kvm-arch.being_unmapped_rmap

[PATCH v3 11/15] KVM: MMU: introduce kvm_clear_all_lpage_info

2013-04-16 Thread Xiao Guangrong
This function is used to reset the large page info of all guest page which will be used in later patch Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/x86.c | 25 + arch/x86/kvm/x86.h |2 ++ 2 files changed, 27 insertions(+), 0

[PATCH v3 09/15] KVM: MMU: introduce free_meslot_rmap_desc_nolock

2013-04-16 Thread Xiao Guangrong
It frees pte-list-descs used by memslot rmap after update memslot is completed Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c | 26 ++ arch/x86/kvm/mmu.h |1 + 2 files changed, 27 insertions(+), 0 deletions(-) diff --git

[PATCH v3 06/15] KVM: MMU: allow concurrently clearing spte on remove-only pte-list

2013-04-16 Thread Xiao Guangrong
This patch introduce PTE_LIST_SPTE_SKIP which is the placeholder and it will be set on pte-list after removing a spte so that other sptes on this pte_list are not moved and the pte-list-descs on the pte-list are not freed. If vcpu can not add spte to the pte-list (e.g. the rmap on invalid

[PATCH v3 07/15] KVM: MMU: introduce invalid rmap handlers

2013-04-16 Thread Xiao Guangrong
Invalid rmaps is the rmap of the invalid memslot which is being deleted, especially, we can treat all rmaps are invalid when kvm is being destroyed since all memslot will be deleted soon. MMU should remove all sptes on these rmaps before the invalid memslot fully deleted The reason why we

[PATCH v3 03/15] KVM: x86: do not reuse rmap when memslot is moved

2013-04-16 Thread Xiao Guangrong
Let kvm do not reuse the rmap of the memslot which is being moved then the rmap of moved or deleted memslot can only be unmapped, no new spte can be added on it. This is good for us to unmap rmap out of mmu-lock in the later patches Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com

Re: [PATCH 1/3] PCI,acpiphp: use generic pci_hp_add_bridge()

2013-04-16 Thread Yijing Wang
On Mon, Apr 15, 2013 at 6:49 PM, Yijing Wang wangyij...@huawei.com wrote: Hi Yinghai, Any comments about this patch? I searched the code history and found you introduced pci_hp_add_bridge() function at commit a8e4b9c10. In your patchset use pci_hp_add_bridge() for all pci hotplug drivers

Re: [PATCH] of_mdio: Remove flags argument from of_phy_connect

2013-04-16 Thread Grant Likely
On Mon, 18 Mar 2013 19:49:04 -0400, Ben Collins be...@servergy.com wrote: of_phy_connect() only required a flags argument in order to pass it down to to phy_connect(). Since that argument was removed, it is of no use in this function either (confirmed by checking all callers in kernel tree as

[PATCH] UBI: fix memory leak when use fastmap

2013-04-16 Thread wang . bo116
UBI: fix memory leak when use fastmap When use ubi fastmap, there is a memory leak which will make destroy_ai() called in ubi_attach fail. The following patch base on linux-3.9-rc6 fix this problem. diff -uprN old_ubi/attach.c new_ubi/attach.c --- old_ubi/attach.c2013-04-08

Re: Very poor latency when using hard drive (raid1)

2013-04-16 Thread l...@tigusoft.pl
On 15/04/13 11:59, l...@tigusoft.pl wrote: There are 2 hard drives (normal, magnetic) in software raid 1 on 3.2.41 kernel. When I write into them e.g. using dd from /dev/zero to a local file (ext4 on default settings), running 2 dd at once (writing two files) it starves all other programs

Re: [PATCH] cpufreq: exynos5440: Protect opp search calls with rcu lock

2013-04-16 Thread amit daniel kachhap
Hi Nishanth, Thanks for reviewing this patch. On Mon, Apr 15, 2013 at 7:40 PM, Nishanth Menon n...@ti.com wrote: Daniel, On Mon, Apr 15, 2013 at 1:24 AM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: As per the OPP library documentation(Documentation/power/opp.txt) all opp find/get

[PATCH 0/3] pwm: pxa: bug fix and device tree support

2013-04-16 Thread Chao Xie
The patches fix some bugs 1. pwm-pxa driver is shared by ARCH_PXA and ARCH_MMP 2. use module_platform_driver for driver register The patches also add device tree support for pwm. Chao Xie (3): pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA pwm: pxa: use module_platform_driver for

[PATCH 1/3] pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA

2013-04-16 Thread Chao Xie
the pwm driver is not only used by ARCH_PXA but also ARCH_MMP Signed-off-by: Chao Xie chao@marvell.com --- drivers/pwm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index e513cd9..ff79632 100644 ---

[PATCH 3/3] pwm: pxa: add device tree support

2013-04-16 Thread Chao Xie
Add the deice tree support for pwm-pxa. Signed-off-by: Chao Xie chao@marvell.com --- drivers/pwm/pwm-pxa.c | 31 ++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index eafca4a..345aa83 100644 ---

RE: [PATCH v2] of/base: release the node correctly in of_parse_phandle_with_args()

2013-04-16 Thread Tang Yuantian-B29983
Hi Grant.likely, I really preciate if you can spend some times to review this patch. Thanks, Yuantian -Original Message- From: Tang Yuantian-B29983 Sent: 2013年4月10日 11:37 To: grant.lik...@secretlab.ca Cc: rob.herr...@calxeda.com; devicetree-disc...@lists.ozlabs.org; linux-

[PATCH 2/3] pwm: pxa: use module_platform_driver for driver register

2013-04-16 Thread Chao Xie
Signed-off-by: Chao Xie chao@marvell.com --- drivers/pwm/pwm-pxa.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index f32fc4e..eafca4a 100644 --- a/drivers/pwm/pwm-pxa.c +++ b/drivers/pwm/pwm-pxa.c @@

[GIT PULL] Firmware files for CA0132 HD-audio codec (v2)

2013-04-16 Thread Takashi Iwai
Hi Ben, could you pull the firmware files for Creative CA0132 HD-audio codec driver from below? It's the revised version. git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/linux-firmware.git tags/ca0132-fw-v2 Firmware files

[PATCH v2] NMI: fix NMI period is not correct when cpu frequency changes issue.

2013-04-16 Thread Pan, Zhenjie
Watchdog use performance monitor of cpu clock cycle to generate NMI to detect hard lockup. But when cpu's frequency changes, the event period will also change. It's not as expected as the configration. For example, set the NMI event handler period is 10 seconds when the cpu is 2.0GHz. If the cpu

RE: [PATCH v3] clk: add PowerPC corenet clock driver support

2013-04-16 Thread Tang Yuantian-B29983
Hi Mike, I really appreciate if you can spend some times to review this patch. Thanks, Yuantian -Original Message- From: Tang Yuantian-B29983 Sent: 2013年4月9日 16:46 To: mturque...@linaro.org Cc: linus.wall...@linaro.org; viresh.ku...@linaro.org; shawn@linaro.org;

linux-next: manual merge of the arm-soc tree with the input tree

2013-04-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-shmobile/board-armadillo800eva.c between commit cbaf7f808081 (ARM - shmobile: Armadillo800EVA: Move st1232 reset pin handling) from the input tree and commits ead10fed8b4b (ARM: shmobile: armadillo: Replace

[PATCH] mm: mmu_notifier: re-fix freed page still mapped in secondary MMU

2013-04-16 Thread Xiao Guangrong
The commit 751efd8610d3 (mmu_notifier_unregister NULL Pointer deref and multiple -release()) breaks the fix: 3ad3d901bbcfb15a5e4690e55350db0899095a68 (mm: mmu_notifier: fix freed page still mapped in secondary MMU) This patch reverts the commit and simply fix the bug spotted by that patch

Re: [PATCH 4/8] Read/Write oops nvram partition via pstore

2013-04-16 Thread Benjamin Herrenschmidt
On Tue, 2013-04-16 at 11:50 +0530, Aruna Balakrishnaiah wrote: Sure. I will have one #ifdef for declarations and one for function definitions. Declarations generally don't need #ifdef's Cheers, Ben. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH v6 0/3] of/pci: Provide common support for PCI DT parsing

2013-04-16 Thread Benjamin Herrenschmidt
On Mon, 2013-04-15 at 20:29 +0200, Linus Walleij wrote: As agreed with Rob Herring, series applied to mvebu/drivers to support mvebu pcie driver. Will this hit ARM SoC soon-ish so I can base a pull request for the Integrator on this stuff as well? Do not send this series upstream (or

Re: [PATCH 0/5] kill ptrace_{get,put}_breakpoints()

2013-04-16 Thread Michael Neuling
Oleg, Kill ptrace_{get,put}_breakpoints and task_struct-ptrace_bp_refcnt, 9899d11f ptrace: ensure arch_ptrace/ptrace_request can never race with SIGKILL made this all unneeded. Benjamin, Paul, arch_dup_task_struct()-flush_ptrace_hw_breakpoint(src) on powerpc looks obviously wrong. Don't we

Re: Very poor latency when using hard drive (raid1)

2013-04-16 Thread Mike Galbraith
On Tue, 2013-04-16 at 08:49 +0200, l...@tigusoft.pl wrote: On 15/04/13 11:59, l...@tigusoft.pl wrote: There are 2 hard drives (normal, magnetic) in software raid 1 on 3.2.41 kernel. When I write into them e.g. using dd from /dev/zero to a local file (ext4 on default settings), running

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

2013-04-16 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in kernel/kthread.c between commit f2530dc71cf0 (kthread: Prevent unpark race which puts threads on the wrong cpu) from Linus' tree and commit kthread: kill task_get_live_kthread() from the akpm tree. I fixed it up (see below)

Re: [PATCH] kernel: audit_tree: resource management: need put_tree and goto Err when failure occures

2013-04-16 Thread Chen Gang
oh, sorry, this patch need improving (got -- goto) and I should compile, install, running in normal condition, and be sure of no additional issues occur at least. On 2013年04月12日 12:43, Chen Gang wrote: since normally audit_add_tree_rule() will free it on failure, need free it

3.9-rc6 ext4: free_rb_tree_fname oops

2013-04-16 Thread Daniel J Blueman
When using e4defrag on a ext4 filesystem created a month ago, I ran into this fatal page fault [1] while running e4defrag on 3.9-rc6 (Ubuntu mainline). e2fsdump output is at http://quora.org/2012/e2fsdump.txt ; let me know if you need any more info. Thanks, Daniel --- [1] general protection

[no subject]

2013-04-16 Thread wang . bo116
UBI: fix memory leak when use fastmap Sorry, there is something wrong with the previous patch's format, try to submit it again. When use ubi fastmap, there is a memory leak which will make destroy_ai() fail to free the slab. The following patch base on linux-3.9-rc6 fix this problem. diff

[PATCH] UBI: fix memory leak when use fastmap

2013-04-16 Thread wang . bo116
Hello, Sorry, there is something wrong with the previous patch's format, try to submit it again. When use ubi fastmap, there is a memory leak which will make destroy_ai() fail to free the slab. The following patch base on linux-3.9-rc6 fix this problem. diff -uprN old_ubi/attach.c

[PATCH] RTC: rtc-twl: Convert to module_platform_driver() and relocate reg_map init

2013-04-16 Thread Peter Ujfalusi
Convert the driver to use module_platform_driver() to register the platform driver and relocate the rtc_reg_map initialization to platform driver's probe function. In this way we can make sure that the twl-core has been already probed since the core driver will create the device at the end of it's

Re: [BUG][s390x] mm: system crashed

2013-04-16 Thread Heiko Carstens
On Mon, Apr 15, 2013 at 02:16:55PM +0800, Zhouping Liu wrote: On 04/15/2013 01:56 PM, Heiko Carstens wrote: On Sun, Apr 14, 2013 at 11:28:40PM -0400, Zhouping Liu wrote: � 16109.346170¨ Call Trace: � 16109.346179¨ (� 00100920¨ show_trace+0x128/0x12c) � 16109.346195¨ �

Re: [build error] perf/urgent broken due to INTEL_UEVENT_PEBS_LDLAT_EXTRA_REG

2013-04-16 Thread Ingo Molnar
* David Rientjes rient...@google.com wrote: Commit 3de4ad210387 (perf/x86: Fix offcore_rsp valid mask for SNB/IVB) in perf/urgent breaks the build: Hm, that's was me resolving the conflicts incorrectly. Stephane, mind sending a tested version of the patch against current -git that can be

Re: [BUG][s390x] mm: system crashed

2013-04-16 Thread Simon Jeons
Hi Heiko, On 04/16/2013 03:50 PM, Heiko Carstens wrote: On Mon, Apr 15, 2013 at 02:16:55PM +0800, Zhouping Liu wrote: On 04/15/2013 01:56 PM, Heiko Carstens wrote: On Sun, Apr 14, 2013 at 11:28:40PM -0400, Zhouping Liu wrote: � 16109.346170¨ Call Trace: � 16109.346179¨ (� 00100920¨

Re: [PATCH 4/8] Read/Write oops nvram partition via pstore

2013-04-16 Thread Aruna Balakrishnaiah
On Tuesday 16 April 2013 12:44 PM, Benjamin Herrenschmidt wrote: On Tue, 2013-04-16 at 11:50 +0530, Aruna Balakrishnaiah wrote: Sure. I will have one #ifdef for declarations and one for function definitions. Declarations generally don't need #ifdef's Sorry by declarations I meant variable

Re: [BUG][s390x] mm: system crashed

2013-04-16 Thread Heiko Carstens
On Tue, Apr 16, 2013 at 03:56:59PM +0800, Simon Jeons wrote: Hi Heiko, If you have some time, could you please repeat your test with the kernel command line option user_mode=home ? What's the meaning of this command line? I can't find it in Documentation/kernel-parameters.txt/ It switches

Re: [PATCH] RTC: rtc-twl: Convert to module_platform_driver() and relocate reg_map init

2013-04-16 Thread Tomi Valkeinen
Hi, On 2013-04-16 10:44, Peter Ujfalusi wrote: Convert the driver to use module_platform_driver() to register the platform driver and relocate the rtc_reg_map initialization to platform driver's probe function. In this way we can make sure that the twl-core has been already probed since the

Re: [PATCH] RTC: rtc-twl: Convert to module_platform_driver() and relocate reg_map init

2013-04-16 Thread Peter Ujfalusi
Hi Tomi, On 04/16/2013 10:10 AM, Tomi Valkeinen wrote: Hi, On 2013-04-16 10:44, Peter Ujfalusi wrote: Convert the driver to use module_platform_driver() to register the platform driver and relocate the rtc_reg_map initialization to platform driver's probe function. In this way we can make

RE: [Bug fix PATCH] resource: Reusing a resource structure allocated by bootmem

2013-04-16 Thread Wang, Rui Y
-Original Message- From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Date: Mon, 15 Apr 2013 11:15:28 +0900 Subject: [Bug fix PATCH] resource: Reusing a resource structure allocated by bootmem To: a...@linux-foundation.org Cc: linux-kernel@vger.kernel.org, rient...@google.com,

Re: [build error] perf/urgent broken due to INTEL_UEVENT_PEBS_LDLAT_EXTRA_REG

2013-04-16 Thread Stephane Eranian
On Tue, Apr 16, 2013 at 9:52 AM, Ingo Molnar mi...@kernel.org wrote: * David Rientjes rient...@google.com wrote: Commit 3de4ad210387 (perf/x86: Fix offcore_rsp valid mask for SNB/IVB) in perf/urgent breaks the build: Hm, that's was me resolving the conflicts incorrectly. Stephane, mind

Re: elevator: Fix a race about elevator switching.

2013-04-16 Thread Gu Zheng
On 02/21/2013 04:42 PM, majianpeng wrote: Thare's a race between elevator switching and normal io operation. Because the allocation of struct elevator_queue and struct elevator_data don't in a atomic operation.So there are have chance to use NULL -elevator_data. For example:

Re: [PATCH 1/2] menuconfig: Fix memory leak introduced by jump keys feature

2013-04-16 Thread Michal Marek
On 15.4.2013 23:54, Yann E. MORIN wrote: So, unless Michal really wants to pull this one and push it to Linus before he cuts v3.9 final, I'll merge this later in my -for-next branch. That's fine with me. Michal -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: bcache/dmcache/enhanceio bake-off

2013-04-16 Thread Joe Thornber
On Mon, Apr 15, 2013 at 09:55:39AM -0400, Mike Snitzer wrote: On Sat, Apr 13 2013 at 3:33pm -0400, Mike Snitzer snit...@redhat.com wrote: On Sat, Apr 13 2013 at 12:09pm -0400, Joe Thornber thorn...@redhat.com wrote: Hi Darrick, On Thu, Apr 11, 2013 at 12:22:39AM -0700,

[PATCH v2 2/2] RTC: rtc-twl: Cleanup with module_platform_driver() conversion

2013-04-16 Thread Peter Ujfalusi
Use module_platform_driver() to register the platform driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/rtc/rtc-twl.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c index c385e9b..22b2fd6 100644

[PATCH v2 1/2] RTC: rtc-twl: Fix rtc_reg_map initialization

2013-04-16 Thread Peter Ujfalusi
Initialize the rtc_reg_map in platform_driver's probe function instead at module_init time. This way we can make sure that the twl-core has been already probed and initialized (twl_priv-twl_id is valid) since the platform device for the RTC driver will be created by the twl-core after it finished

[PATCH] mtd: devices: added the 16mb winbond device

2013-04-16 Thread girishks2000
From: Girish K S ks.g...@samsung.com added a 16mb winbond devce to the device list erase size = 64k and number of blocks = 256 Signed-off-by: Girish K S ks.g...@samsung.com --- drivers/mtd/devices/m25p80.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH v2] cris: drop unused Kconfig symbols

2013-04-16 Thread Paul Bolle
Signed-off-by: Paul Bolle pebo...@tiscali.nl --- 0) The first version had the subject [PATCH 21/21] cris: drop unused Kconfig symbols. 1) This version was redone on top of v3.9-rc7. The changes since the first version are: - dropped OOM_REBOOT (I sent a separate patch for that symbol because I

Re: [PATCH] cpufreq: cpu0: Put cpu parent node after using it

2013-04-16 Thread Shawn Guo
On Mon, Apr 15, 2013 at 12:39:37PM +0530, Viresh Kumar wrote: Parent node must be put after using it to balance its usage count. This was missing in cpufreq-cpu0 driver. Fix it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org Acked-by: Shawn Guo shawn@linaro.org ---

Re: [ 10/11] mtdchar: fix offset overflow detection

2013-04-16 Thread David Woodhouse
On Mon, 2013-04-15 at 15:35 -0700, Greg Kroah-Hartman wrote: On Mon, Apr 15, 2013 at 09:55:20PM +0100, David Woodhouse wrote: On Sun, 2013-04-14 at 19:17 -0700, Greg Kroah-Hartman wrote: 3.0-stable review patch. If anyone has any objections, please let me know. Please use

Re: [RFC PATCH 1/3] pstore-ram: use write-combine mappings

2013-04-16 Thread Will Deacon
On Tue, Apr 16, 2013 at 01:43:09AM +0100, Colin Cross wrote: On Mon, Apr 15, 2013 at 4:59 PM, Rob Herring robherri...@gmail.com wrote: Exclusive accesses still have further restrictions. From section 3.4.5: • It is IMPLEMENTATION DEFINED whether LDREX and STREX operations can be performed

Re: [GIT PULL] nohz: More Kconfig and Rcu improvements

2013-04-16 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: Ingo, Please pull the latest timers/nohz branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/nohz HEAD: 65d798f0f9339ae2c4ebe9480e3260b33382a584 This fixes some of the

Re: Trouble with full nohz and lttng

2013-04-16 Thread Mats Liljegren
On Mon, Apr 15, 2013 at 4:10 PM, Frederic Weisbecker fweis...@gmail.com wrote: 2013/4/15 Mats Liljegren mats.liljeg...@enea.com: When I use lttng, I keep getting ticks. Without lttng, no ticks. It's the same application I run, the same way. The only difference is whether lttng logging has been

Re: [PATCH 3/5] ptrace/arm: Revert hw_breakpoints: Fix racy access to ptrace breakpoints

2013-04-16 Thread Will Deacon
On Sun, Apr 14, 2013 at 05:05:34PM +0100, Oleg Nesterov wrote: This reverts commit bf0b8f4b55e591ba417c2dbaff42769e1fc773b0. The patch was fine but we can no longer race with SIGKILL after 9899d11f ptrace: ensure arch_ptrace/ptrace_request can never race with SIGKILL, the __TASK_TRACED

Re: [build error] perf/urgent broken due to INTEL_UEVENT_PEBS_LDLAT_EXTRA_REG

2013-04-16 Thread Ingo Molnar
* Stephane Eranian eran...@google.com wrote: On Tue, Apr 16, 2013 at 9:52 AM, Ingo Molnar mi...@kernel.org wrote: * David Rientjes rient...@google.com wrote: Commit 3de4ad210387 (perf/x86: Fix offcore_rsp valid mask for SNB/IVB) in perf/urgent breaks the build: Hm, that's was me

[PATCH] UBI: fix memory leak when use fastmap

2013-04-16 Thread wang . bo116
Hello, Sorry, there is still something wrong with the previous patch's format, try to submit it again. When use ubi fastmap, there is a memory leak which will make destroy_ai() fail to free the slab alloced in scan_fast(). The following patch fix this problem by use a temporary

[PATCH] input: Export matrix_keypad_parse_of_params()

2013-04-16 Thread Michal Marek
Couple of input drivers depend on this symbol: ERROR: matrix_keypad_parse_of_params [drivers/input/keyboard/tca8418_keypad.ko] undefined! ERROR: matrix_keypad_parse_of_params [drivers/input/keyboard/cros_ec_keyb.ko] undefined! Reported-by: Randy Dunlap rdun...@infradead.org Acked-by: Dmitry

[PATCH 1/2] ARM: dts: enable spi for EXYNOS5440 SOC

2013-04-16 Thread Girish K S
This patch enables the SPI in EXYNOS5440 SoC. The NOR Flash can be accessed by enabling the spi interface Signed-off-by: Girish K S ks.g...@samsung.com --- arch/arm/boot/dts/exynos5440-ssdk5440.dts | 39 +++- arch/arm/boot/dts/exynos5440.dtsi | 16 +++

[PATCH 2/2] ARM: dts: add dts node for the ahci sata exynos5440

2013-04-16 Thread Girish K S
This patch adds dts support for the sata controller Signed-off-by: Girish K S ks.g...@samsung.com --- arch/arm/boot/dts/exynos5440.dtsi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index

Re: [Patch -v3 4/4] Make reboot_cpuid a kernel parameter.

2013-04-16 Thread Ingo Molnar
* Robin Holt h...@sgi.com wrote: On Mon, Apr 15, 2013 at 10:47:49AM -0700, H. Peter Anvin wrote: We usually don't break working user setups as a matter if policy. Only if it can't be avoided. Robin Holt h...@sgi.com wrote: On Mon, Apr 15, 2013 at 10:18:31AM -0700, H. Peter Anvin

Re: Bonding driver has bad load balancing for forwarded traffic, 3.7+

2013-04-16 Thread Vitaly V. Bursov
16.04.2013 06:03, Eric Dumazet пишет: From: Eric Dumazet eduma...@google.com On Mon, 2013-04-15 at 17:37 -0700, Eric Dumazet wrote: On Mon, 2013-04-15 at 16:57 +0300, Vitaly V. Bursov wrote: Hello, I have a bonding device (mode=802.3ad xmit_hash_policy=layer2+3 miimon=300) and for kernels

Re: [GIT PULL] uprobes: ret-probes + misc

2013-04-16 Thread Ingo Molnar
* Oleg Nesterov o...@redhat.com wrote: Ingo, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core Mostly uretprobes. perf probe -x file sym%return works like kretprobes. TODO: longjmp() is not supported, currently we assume that the probed function

Re: [PATCH 0/5] fuse: close file synchronously

2013-04-16 Thread Miklos Szeredi
On Mon, Apr 15, 2013 at 8:17 PM, Al Viro v...@zeniv.linux.org.uk wrote: On Mon, Apr 15, 2013 at 05:30:41PM +0200, Miklos Szeredi wrote: On Mon, Apr 15, 2013 at 5:08 PM, Miklos Szeredi mik...@szeredi.hu wrote: For example doing a readlink() on a magic symlink under /proc shouldn't result in a

[PATCH] ahci: sata: add support for exynos5440 sata

2013-04-16 Thread Girish K S
This patch adds the compatible string of the exynos5440 sata controller compliant with the ahci 1.3 and sata 3.0 specification. Signed-off-by: Girish K S ks.g...@samsung.com --- drivers/ata/ahci_platform.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [PATCH v2 2/3] mutex: Queue mutex spinners with MCS lock to reduce cacheline contention

2013-04-16 Thread Ingo Molnar
* Waiman Long waiman.l...@hp.com wrote: --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3021,9 +3021,6 @@ static inline bool owner_running(struct mutex *lock, struct task_struct *owner) */ int mutex_spin_on_owner(struct mutex *lock, struct task_struct *owner) { - if

Re: [PATCH 1/2] menuconfig: Fix memory leak introduced by jump keys feature

2013-04-16 Thread Michal Marek
On 16.4.2013 10:21, Michal Marek wrote: On 15.4.2013 23:54, Yann E. MORIN wrote: So, unless Michal really wants to pull this one and push it to Linus before he cuts v3.9 final, I'll merge this later in my -for-next branch. That's fine with me. BTW, in you are going to rebase the commit, it

Re: [PATCH 0/3 v2] mutex: Improve mutex performance by doing less atomic-ops better spinning

2013-04-16 Thread Ingo Molnar
* Waiman Long waiman.l...@hp.com wrote: [...] Patches 2 improves the mutex spinning process by reducing contention among the spinners when competing for the mutex. This is done by using a MCS lock to put the spinners in a queue so that only the first spinner will try to acquire the

Re: [PATCH] ahci: sata: add support for exynos5440 sata

2013-04-16 Thread Felipe Balbi
Hi, On Tue, Apr 16, 2013 at 02:40:04PM +0530, Girish K S wrote: This patch adds the compatible string of the exynos5440 sata controller compliant with the ahci 1.3 and sata 3.0 specification. Signed-off-by: Girish K S ks.g...@samsung.com --- drivers/ata/ahci_platform.c |1 + 1 files

Re: [PATCH -next] media:

2013-04-16 Thread Mauro Carvalho Chehab
Em Mon, 15 Apr 2013 20:10:49 -0700 (PDT) David Rientjes rient...@google.com escreveu: On Tue, 9 Apr 2013, Antti Palosaari wrote: On 04/08/2013 08:47 PM, Randy Dunlap wrote: From: Randy Dunlap rdun...@infradead.org Fix randconfig error when USB is not enabled: ERROR:

Re: [PATCH 3.8-stable] sched/debug: Fix sd-*_idx limit range avoiding overflow

2013-04-16 Thread Ingo Molnar
* libin huawei.li...@huawei.com wrote: On 2013/4/15 22:15, Jonghwan Choi wrote: From: libin huawei.li...@huawei.com This patch looks like it should be in the 3.8-stable tree, should we apply it? yes, I think this patch should be applied to the 3.8-stable tree. Thanks. Libin

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-16 Thread Opensource [Anthony Olech]
-Original Message- From: Guenter Roeck [mailto:li...@roeck-us.net] Sent: 15 April 2013 18:46 To: Opensource [Anthony Olech] Cc: LKML Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver On Mon, Apr 15, 2013 at 05:29:13PM +, Opensource [Anthony Olech] wrote:

RE: [NEW DRIVER V4 0/7] DA9058 PMIC - please comment on this new driver

2013-04-16 Thread Opensource [Anthony Olech]
-Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: 12 April 2013 19:07 To: Opensource [Anthony Olech] Cc: LKML; Alessandro Zummo Subject: Re: [NEW DRIVER V4 0/7] DA9058 PMIC - please comment on this new driver On Friday, April 12, 2013 02:05:29 PM

Re: [Patch -v3 4/4] Make reboot_cpuid a kernel parameter.

2013-04-16 Thread Robin Holt
On Tue, Apr 16, 2013 at 11:01:09AM +0200, Ingo Molnar wrote: * Robin Holt h...@sgi.com wrote: On Mon, Apr 15, 2013 at 10:47:49AM -0700, H. Peter Anvin wrote: We usually don't break working user setups as a matter if policy. Only if it can't be avoided. Robin Holt h...@sgi.com

Re: [PATCH] x86, FPU: Fix FPU initialization

2013-04-16 Thread Ingo Molnar
* Borislav Petkov b...@alien8.de wrote: On Mon, Apr 15, 2013 at 05:54:15PM +0200, Borislav Petkov wrote: On Mon, Apr 15, 2013 at 12:18:25PM +0200, Ingo Molnar wrote: It was tip:master with x86/cpu merged in freshly. Ok, some more observations. I can trigger some oops similar yours (I

Re: [PATCH] ahci: sata: add support for exynos5440 sata

2013-04-16 Thread Girish KS
On Tue, Apr 16, 2013 at 2:43 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Tue, Apr 16, 2013 at 02:40:04PM +0530, Girish K S wrote: This patch adds the compatible string of the exynos5440 sata controller compliant with the ahci 1.3 and sata 3.0 specification. Signed-off-by: Girish K S

[PATCH V2] ahci: sata: add support for exynos5440 sata

2013-04-16 Thread Girish K S
This patch adds the compatible string of the exynos5440 sata controller compliant with the ahci 1.3 and sata 3.0 specification. Signed-off-by: Girish K S ks.g...@samsung.com changes in v2: changed the compatible string by adding the actual IP owners name instead of the SoC vendor

Re: [Patch -v3 4/4] Make reboot_cpuid a kernel parameter.

2013-04-16 Thread Ingo Molnar
* Robin Holt h...@sgi.com wrote: On Tue, Apr 16, 2013 at 11:01:09AM +0200, Ingo Molnar wrote: * Robin Holt h...@sgi.com wrote: On Mon, Apr 15, 2013 at 10:47:49AM -0700, H. Peter Anvin wrote: We usually don't break working user setups as a matter if policy. Only if it can't

[PATCH V2 2/2] ARM: dts: add dts node for the ahci sata exynos5440

2013-04-16 Thread Girish K S
This patch adds dts support for the sata controller Signed-off-by: Girish K S ks.g...@samsung.com --- arch/arm/boot/dts/exynos5440.dtsi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index

RE: [PATCH] mmc: dw_mmc: exynos: Turn SDIO interrupts on

2013-04-16 Thread Seungwon Jeon
On Tuesday, April 16, 2013, Doug Anderson Seungwon, On Mon, Apr 15, 2013 at 5:14 AM, Seungwon Jeon tgih@samsung.com wrote: + MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23 | MMC_CAP_SDIO_IRQ, + MMC_CAP_CMD23 | MMC_CAP_SDIO_IRQ, This line for [1] + MMC_CAP_CMD23 |

Re: [PATCH] mm: mmu_notifier: re-fix freed page still mapped in secondary MMU

2013-04-16 Thread Robin Holt
On Tue, Apr 16, 2013 at 02:39:49PM +0800, Xiao Guangrong wrote: The commit 751efd8610d3 (mmu_notifier_unregister NULL Pointer deref and multiple -release()) breaks the fix: 3ad3d901bbcfb15a5e4690e55350db0899095a68 (mm: mmu_notifier: fix freed page still mapped in secondary MMU) Can

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-16 Thread Opensource [Anthony Olech]
-Original Message- From: Mark Brown [mailto:broo...@kernel.org] Sent: 12 April 2013 14:27 To: Opensource [Anthony Olech] Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David Dajun Chen Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver On Fri, Apr 12,

  1   2   3   4   5   6   >