Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-09 Thread Glauber Costa
On 01/10/2013 11:31 AM, Kamezawa Hiroyuki wrote: > (2013/01/10 16:14), Glauber Costa wrote: >> On 01/10/2013 06:17 AM, Tang Chen wrote: > Note: if the memory provided by the memory device is used by the > kernel, it > can't be offlined. It is not a bug. Right. But how often

Re: [PATCH] cpufreq: Simplify __cpufreq_remove_dev()

2013-01-09 Thread Shawn Guo
On Wed, Jan 09, 2013 at 04:50:44PM +0530, Viresh Kumar wrote: > @Shawn: I believe your driver don't require that ugly code anymore (Though i > know there is a situation for that to happen, if we have two cpus, you remove > second one and then add it back. With this cpufreq_add_dev() would call

Re: [patch] bnx2x: NULL dereference on error in debug code

2013-01-09 Thread David Miller
From: Dan Carpenter Date: Tue, 8 Jan 2013 16:42:14 +0300 > "vfop" is NULL here. I've changed the debugging to not use it. > > Signed-off-by: Dan Carpenter Applied, thanks Dan. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] MAINTAINERS: fix a status pattern

2013-01-09 Thread Zhang Yanfei
Change MAINTAINED to Maintained. Signed-off-by: Zhang Yanfei --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index c4f15a1..33d8f95 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -648,7 +648,7 @@ F: arch/arm/ ARM

[PATCH] MAINTAINERS: fix arch/arm/plat-omap/include/plat/omap_hwmod.h

2013-01-09 Thread Zhang Yanfei
This file was moved to arch/arm/mach-omap2/omap_hwmod.h by commit 2a296c8 (ARM: OMAP: Make plat/omap_hwmod.h local to mach-omap2). Signed-off-by: Zhang Yanfei --- MAINTAINERS |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

RE: [PATCH V2 3/3] ARM: davinci: da850: add NAND driver entries

2013-01-09 Thread Kumar, Anil
On Wed, Jan 09, 2013 at 18:17:46, Nori, Sekhar wrote: > On 1/8/2013 1:50 PM, Kumar, Anil wrote: > > Add NAND driver entries to export NAND functionality on da850 EVM and > > NAND pinctrl node to do pin mux according to pinctrl-single driver. > > Subject line should have DT and da850 evm

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-09 Thread Kamezawa Hiroyuki
(2013/01/10 16:14), Glauber Costa wrote: On 01/10/2013 06:17 AM, Tang Chen wrote: Note: if the memory provided by the memory device is used by the kernel, it can't be offlined. It is not a bug. Right. But how often does this happen in testing? In other words, please provide an overall

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-09 Thread Thierry Reding
On Wed, Jan 09, 2013 at 04:17:58PM -0700, Jason Gunthorpe wrote: > On Wed, Jan 09, 2013 at 04:12:31PM -0700, Stephen Warren wrote: > > On 01/09/2013 03:10 PM, Arnd Bergmann wrote: > > > On Wednesday 09 January 2013, Thierry Reding wrote: > > >> What happens on Tegra is that we need to map 256 MiB

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-09 Thread Glauber Costa
On 01/10/2013 02:06 AM, Anton Vorontsov wrote: > On Wed, Jan 09, 2013 at 01:55:14PM -0800, Tejun Heo wrote: > [...] >>> We can use mempressure w/o memcg, and even then it can (or should :) be >>> useful (for cpuset, for example). >> >> The problem is that you end with, at the very least, duplicate

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-09 Thread Glauber Costa
On 01/10/2013 06:17 AM, Tang Chen wrote: >>> Note: if the memory provided by the memory device is used by the >>> kernel, it >>> can't be offlined. It is not a bug. >> >> Right. But how often does this happen in testing? In other words, >> please provide an overall description of how well memory

Re: [PATCH 1/5] kfifo: remove unnecessary type check

2013-01-09 Thread Yuanhan Liu
On Wed, Jan 09, 2013 at 04:29:39PM +0100, Stefani Seibold wrote: > Am Mittwoch, den 09.01.2013, 10:35 +0800 schrieb Yuanhan Liu: > > On Tue, Jan 08, 2013 at 10:51:04PM +0100, Stefani Seibold wrote: > > > Am Dienstag, den 08.01.2013, 22:57 +0800 schrieb Yuanhan Liu: > > > > Firstly, this kind of

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-09 Thread Thierry Reding
On Wed, Jan 09, 2013 at 10:10:49PM +, Arnd Bergmann wrote: > On Wednesday 09 January 2013, Thierry Reding wrote: > > What happens on Tegra is that we need to map 256 MiB of physical memory > > to access all the PCIe extended configuration space. However, ioremap() > > on such a large region

Re: linux-next: build warning after merge of the kvm tree

2013-01-09 Thread Gleb Natapov
On Thu, Jan 10, 2013 at 01:34:36PM +1100, Stephen Rothwell wrote: > Hi Marcelo, > > After merging the kvm tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > In file included from arch/x86/kvm/mmu.c:3482:0: > arch/x86/kvm/paging_tmpl.h: In function

Re: linux-next: change contacts for the kvm tree

2013-01-09 Thread Gleb Natapov
On Thu, Jan 10, 2013 at 01:36:18PM +1100, Stephen Rothwell wrote: > Hi Marcelo, > > I have removed Avi as a contact for the kvm tree as the address I have > (Avi Kivity ) bounces. Please add Gleb Natapov instead. -- Gleb. -- To unsubscribe from this list: send the line

Re: [PATCH 00/14] Rewrite Tegra PCIe driver

2013-01-09 Thread Thierry Reding
On Wed, Jan 09, 2013 at 10:25:17PM +0100, Thomas Petazzoni wrote: > Dear Thierry Reding, > > On Wed, 9 Jan 2013 21:43:00 +0100, Thierry Reding wrote: > > This patch series contains an almost complete rewrite of the Tegra PCIe > > driver. The code is moved to the drivers/pci/host directory and

Re: PTRACE_SYSCALL && vsyscall (Was: arch_check_bp_in_kernelspace: fix the range check)

2013-01-09 Thread u3557
Hi Everyone, > On 01/08, Pedro Alves wrote: >> >> On 12/04/2012 05:59 PM, Oleg Nesterov wrote: >> >> > But If we want to allow to trace vsyscall's, hw bp doesn't look very >> > nice imo. HBP_NUM = 4 and you need to setup 3 bp's to trace them all. >> >> Irrespective of the whole syscall tracing

Re: [PATCH V3 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-09 Thread Rusty Russell
Wanlong Gao writes: > On 01/09/2013 07:31 AM, Rusty Russell wrote: >> Wanlong Gao writes: >>> */ >>> static u16 virtnet_select_queue(struct net_device *dev, struct sk_buff >>> *skb) >>> { >>> - int txq = skb_rx_queue_recorded(skb) ? skb_get_rx_queue(skb) : >>> -

[PATCH] genirq: Give warning when setup an already-setup non-shared irq

2013-01-09 Thread Chuansheng Liu
Meet the case when the request_threaded_irq() with the same irq is called twice continually, get the below mismatch info: "IRQ handler type mismatch for IRQ 323" Here give a right warning that like below: "Trying to setup already-setup non-shared IRQ 323" Signed-off-by: liu chuansheng ---

Re: [PATCH V4 0/4] input: keyboard: tegra: cleanups and DT supports

2013-01-09 Thread Laxman Dewangan
Hi Dmitry, On Monday 07 January 2013 10:22 PM, Stephen Warren wrote: On 01/06/2013 04:14 AM, Laxman Dewangan wrote: This patch series: - fix build warning, - use devm_* for allocation, - make column/rows configuration through DT and - remove the rarely used key mapping table. The

Re: [PATCH RESEND v1 01/16] vfs: introduce some data structures

2013-01-09 Thread Zhi Yong Wu
On Thu, Jan 10, 2013 at 8:48 AM, David Sterba wrote: > On Thu, Dec 20, 2012 at 10:43:20PM +0800, zwu.ker...@gmail.com wrote: >> --- /dev/null >> +++ b/fs/hot_tracking.c >> @@ -0,0 +1,109 @@ >> +/* >> + * fs/hot_tracking.c > > From what I've undrestood the file name written here is not wanted, so

Re: [PATCH v3 0/3] ARM: dts: omap: add dt data for MUSB

2013-01-09 Thread kishon
On Friday 28 December 2012 12:05 AM, Aaro Koskinen wrote: Hi, On Thu, Sep 20, 2012 at 05:21:15AM +0200, Benoit Cousson wrote: On 09/19/2012 11:32 AM, Kishon Vijay Abraham I wrote: This patch series adds dt data to get MUSB working in omap4 and omap3 Changes from v2: * Changes the subject of

Re: [PATCH v6 04/15] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2013-01-09 Thread Tang Chen
Hi Andrew, On 01/10/2013 07:19 AM, Andrew Morton wrote: ... + entry = firmware_map_find_entry(start, end - 1, type); + if (!entry) + return -EINVAL; + + firmware_map_remove_entry(entry); ... The above code looks racy. After firmware_map_find_entry() does

Re: [PATCH v6 02/15] memory-hotplug: check whether all memory blocks are offlined or not when removing memory

2013-01-09 Thread Tang Chen
Hi Andrew, On 01/10/2013 07:11 AM, Andrew Morton wrote: On Wed, 9 Jan 2013 17:32:26 +0800 Tang Chen wrote: We remove the memory like this: 1. lock memory hotplug 2. offline a memory block 3. unlock memory hotplug 4. repeat 1-3 to offline all memory blocks 5. lock memory hotplug 6. remove

Re: [PATCH v6 04/15] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2013-01-09 Thread Tang Chen
Hi Andrew, On 01/10/2013 06:49 AM, Andrew Morton wrote: On Wed, 9 Jan 2013 17:32:28 +0800 Tang Chen wrote: When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} sysfs files are created. But there is no code to remove these files. The patch implements the function to

[PATCH] Fix wrong EOF compare

2013-01-09 Thread Minchan Kim
getc returns "int" so EOF could be -1 but storing getc's return value to char directly makes the vaule to 255 so below condition is always false. It happens in my ARM system so loop is not ended, then segfaulted. This patch fixes it. *curr = getc(fin); // *curr = 255

Re: [PATCH] cpufreq: Simplify __cpufreq_remove_dev()

2013-01-09 Thread Viresh Kumar
On 9 January 2013 21:09, Viresh Kumar wrote: > I have tried that too, it is also pushed at: > > https://lkml.org/lkml/2012/12/16/5 Bad link :( http://git.linaro.org/gitweb?p=arm/big.LITTLE/mp.git;a=shortlog;h=refs/heads/cpufreq-fixes-v2 -- To unsubscribe from this list: send the line

Re: [PATCH] cpufreq: Simplify __cpufreq_remove_dev()

2013-01-09 Thread Viresh Kumar
On 9 January 2013 21:09, Viresh Kumar wrote: > On 9 January 2013 16:50, Viresh Kumar wrote: >> [Probably need to simplify cpufreq_add_dev() too, but that can be done as >> next >> step.] > > I have tried that too, it is also pushed at: > > https://lkml.org/lkml/2012/12/16/5 > > [Untested for

Re: [TRIVIAL PATCH 11/26] powerpc: Convert print_symbol to %pSR

2013-01-09 Thread Benjamin Herrenschmidt
On Thu, 2012-12-13 at 11:58 +, Arnd Bergmann wrote: > On Wednesday 12 December 2012, Joe Perches wrote: > > Use the new vsprintf extension to avoid any possible > > message interleaving. > > > > Convert the #ifdef DEBUG block to a single pr_debug. > > > > Signed-off-by: Joe Perches > >

Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

2013-01-09 Thread Namhyung Kim
On Wed, 09 Jan 2013 16:34:39 +0800, Alex Shi wrote: > On 01/09/2013 03:54 PM, Namhyung Kim wrote: >> Hi Alex, >> >> On Wed, 09 Jan 2013 15:33:40 +0800, Alex Shi wrote: >>> On 01/09/2013 02:50 PM, Namhyung Kim wrote: From: Namhyung Kim AFAICS @target cpu of select_idle_sibling() is

Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

2013-01-09 Thread Namhyung Kim
Hi Preeti, On Wed, 09 Jan 2013 13:51:00 +0530, Preeti U. Murthy wrote: > On 01/09/2013 12:20 PM, Namhyung Kim wrote: >> From: Namhyung Kim >> >> AFAICS @target cpu of select_idle_sibling() is always either prev_cpu >> or this_cpu. So no need to check it again and the conditionals can be >>

[PATCH V2] vfs: re-implement writeback_inodes_sb(_nr)_if_idle() and rename them

2013-01-09 Thread Miao Xie
writeback_inodes_sb(_nr)_if_idle() is re-implemented by replacing down_read() with down_read_trylock() because - If ->s_umount is write locked, then the sb is not idle. That is writeback_inodes_sb(_nr)_if_idle() needn't wait for the lock. - writeback_inodes_sb(_nr)_if_idle() grabs s_umount lock

Re: [PATCH 1/1] uprobes: Teach handler_chain() to filter out the probed task

2013-01-09 Thread Srikar Dronamraju
* Oleg Nesterov [2012-12-29 18:36:14]: > Currrently the are 2 problems with pre-filtering: > > 1. It is not possible to add/remove a task (mm) after uprobe_register() > > 2. A forked child inherits all breakpoints and uprobe_consumer can not >control this. > > This patch does the first

Re: USB autosuspend vs. URB submission

2013-01-09 Thread Ming Lei
On Thu, Jan 10, 2013 at 7:05 AM, Laurent Pinchart wrote: > > I've never heard of such problems with the uvcvideo driver, and I don't see > anything wrong with the code at first sight. The driver only submits URBs when IMO, there is a minor fault in the error handling path of uvc_status_start()

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-09 Thread Viresh Kumar
On 10 January 2013 00:19, Tejun Heo wrote: > On Mon, Jan 07, 2013 at 11:37:22PM +0530, Viresh Kumar wrote: >> We are talking about a core being idle from schedulers perspective :) > > But it's not like cpu doesn't consume power if scheduler considers it > idle, right? Can you please explain in

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-09 Thread Kamezawa Hiroyuki
(2013/01/10 13:26), Sha Zhengju wrote: But this method also has its pros and cons(e.g. need lock nesting). So I doubt whether the following is able to deal with these issues all together: (CPU-A does "page stat accounting" and CPU-B does "move") CPU-A

[PATCH] serial:ifx6x60:Delete SPI timer when shut down port

2013-01-09 Thread channing
When shut down SPI port, it's possible that MRDY has been asserted and a SPI timer was activated waiting for SRDY assert, in the case, it needs to delete this timer. Signed-off-by: Chen Jun Signed-off-by: channing --- drivers/tty/serial/ifx6x60.c |1 + 1 files changed, 1 insertions(+), 0

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-09 Thread Sha Zhengju
On Thu, Jan 10, 2013 at 10:16 AM, Kamezawa Hiroyuki wrote: > (2013/01/10 0:02), Sha Zhengju wrote: >> >> On Mon, Jan 7, 2013 at 3:25 PM, Kamezawa Hiroyuki >> wrote: >>> >>> (2013/01/05 13:48), Sha Zhengju wrote: On Wed, Jan 2, 2013 at 6:44 PM, Michal Hocko wrote: > >

Re: [PATCH RFT] regulator: lp8788-buck: Silence build warning

2013-01-09 Thread Fengguang Wu
Thanks for the fix! It works! Tested-by: Fengguang Wu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH v2] sysctl: Enable IA64 "ignore-unaligned-usertrap" to be used cross-arch

2013-01-09 Thread Vineet Gupta
On Thursday 10 January 2013 12:25 AM, Tony Luck wrote: > Ok. Queued for 3.9 merge window. It should show up in linux-next in > the next day or two. We'll see if anyone complains about the name > SYSCTL_ARCH_UNALIGN_NO_WARN (every time I touch the Kconfig > bits it seems that there is some other,

Re: kernel BUG at kernel/sched_rt.c:493!

2013-01-09 Thread Mike Galbraith
On Tue, 2013-01-08 at 09:01 -0600, Shawn Bohrer wrote: > On Tue, Jan 08, 2013 at 09:36:05AM -0500, Steven Rostedt wrote: > > > > > > I've also managed to reproduce this on 3.8.0-rc2 so it appears the bug > > > is still present in the latest kernel. > > > > Shawn, > > > > Can you send me your

RE: [PATCH 3/7] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-09 Thread Philip, Avinash
On Wed, Jan 02, 2013 at 19:08:43, Thierry Reding wrote: > On Wed, Jan 02, 2013 at 06:54:50PM +0530, Philip Avinash wrote: > > The clock framework has changed and it's now better to invoke > > clock_prepare_enable() and clk_disable_unprepare() rather than the > > legacy clk_enable() and

RE: [PATCH 0/7] HWMOD fixes for AM33xx PWM submodules and device tree nodes.

2013-01-09 Thread Philip, Avinash
Hi Paul, On Wed, Jan 02, 2013 at 18:54:47, Philip, Avinash wrote: > This patch series is being part of [1] and resubmitting on top of 3.8-rc1 to > make it to 3.9. > > In AM33xx PWM sub modules like ECAP, EHRPWM & EQEP are integrated to > PWM subsystem. All these submodules shares the resources

Re: [PATCH 0/4] gpio: introduce descriptor-based interface

2013-01-09 Thread Alex Courbot
On Wednesday 09 January 2013 18:46:12 Arnd Bergmann wrote: > > The question is, do we want to totally get rid of the integer > > namespace? That would be the ultimate step, but would require another > > way to identify GPIOs (controller_device:offset might be such a way), > > and also to

Re: [PATCH v2] fadvise: perform WILLNEED readahead asynchronously

2013-01-09 Thread Eric Wong
Simon Jeons wrote: > On Tue, 2012-12-25 at 02:22 +, Eric Wong wrote: > > Please add changelog. Changes since v1: * separate unbound workqueue for high-priority tasks * account for inflight readahead to avoid denial-of-service * limit concurrency for non-high-priority tasks (1 per CPU,

[PATCH v2] cgroup: use new hashtable implementation

2013-01-09 Thread Li Zefan
Switch cgroup to use the new hashtable implementation. No functional changes. Signed-off-by: Li Zefan --- v2: convert a hlist_del() to hash_del(). --- kernel/cgroup.c | 92 - 1 file changed, 39 insertions(+), 53 deletions(-) diff --git

Re: [PATCH V3 0/22] sched: simplified fork, enable load average into LB and power awareness scheduling

2013-01-09 Thread Alex Shi
>> >> 3, power awareness scheduling, patch 13~22, >> The subset implement my previous power aware scheduling proposal: >> https://lkml.org/lkml/2012/8/13/139 >> It defines 2 new power aware policy balance and powersaving, and then >> try to spread or pack tasks on each of sched group level

linux-next: Tree for Jan 10

2013-01-09 Thread Stephen Rothwell
Hi all, Changes since 20130109: The pm tree gained a conflict against the pci tree. I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git (patches at http

Re: [PATCH] Only reset e820 once, even with multiple memmap=exactmap params

2013-01-09 Thread Thomas Renninger
On Tuesday, January 08, 2013 09:19:18 AM Yinghai Lu wrote: ... > > that exactmap logic still have problem: > We need to check exactmap at first, aka need to scan the whole comand line > to see if exactmap is there at first and reset e820 tables then handle > other memmap opt. > > Also please

Linux 3.8-rc3

2013-01-09 Thread Linus Torvalds
The holidays are over, and things are starting to get back to normal. Except for Greg, I suspect, who is probably still digging his way out of his email hole. Anyway, another week, another -rc. A fairly normal-sized one. Most of the changes are in drivers, with the bulk of them being one-liners

Re: [PATCH v3 04/22] sched: don't need go to smaller sched domain

2013-01-09 Thread Mike Galbraith
On Wed, 2013-01-09 at 17:38 +, Morten Rasmussen wrote: > On Sat, Jan 05, 2013 at 08:37:33AM +, Alex Shi wrote: > > If parent sched domain has no task allowed cpu find. neither find in > > it's child. So, go out to save useless checking. > > > > Signed-off-by: Alex Shi > > --- > >

Re: [PATCH 4/5] x86,smp: keep spinlock delay values per hashed spinlock address

2013-01-09 Thread Rafael Aquini
On Tue, Jan 08, 2013 at 05:31:19PM -0500, Rik van Riel wrote: > From: Eric Dumazet > > Eric Dumazet found a regression with the first version of the spinlock > backoff code, in a workload where multiple spinlocks were contended, > each having a different wait time. > > This patch has multiple

Re: [PATCH 3/5] x86,smp: auto tune spinlock backoff delay factor

2013-01-09 Thread Rafael Aquini
On Tue, Jan 08, 2013 at 05:30:29PM -0500, Rik van Riel wrote: > Many spinlocks are embedded in data structures; having many CPUs > pounce on the cache line the lock is in will slow down the lock > holder, and can cause system performance to fall off a cliff. > > The paper "Non-scalable locks are

Re: [Pv-drivers] [PATCH 0/6] VSOCK for Linux upstreaming

2013-01-09 Thread Andy King
> > Our position is that VSOCK feature set is more complete and that it > > should be possible to use transports other than VMCI for VSOCK > > traffic, should interested parties implement them, > > Implementing other transports requires restructing vsock (and vmci) > first as the current vsock

[PATCH] module, fix percpu reserved memory exhaustion

2013-01-09 Thread Prarit Bhargava
Rusty, There is likely some subtlety of moving the module mutex that I'm unaware of. What I can say is that this patch seems to resolve the problem for me, or at least through 100+ reboots I have not seen the problem (I'm still testing as I write this). I'm more than willing to hear an

linux-next: change contacts for the kvm tree

2013-01-09 Thread Stephen Rothwell
Hi Marcelo, I have removed Avi as a contact for the kvm tree as the address I have (Avi Kivity ) bounces. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpnJmosQ9hpR.pgp Description: PGP signature

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

2013-01-09 Thread Stephen Rothwell
Hi Marcelo, After merging the kvm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from arch/x86/kvm/mmu.c:3482:0: arch/x86/kvm/paging_tmpl.h: In function 'paging64_walk_addr_generic': arch/x86/kvm/paging_tmpl.h:154:57: warning: unused variable 'shift'

[PATCH RFT] regulator: lp8788-buck: Silence build warning

2013-01-09 Thread Axel Lin
This driver use id as array index, thus add bounder checking for id. This patch fixes below build warning: drivers/regulator/lp8788-buck.c: In function 'lp8788_buck_probe': drivers/regulator/lp8788-buck.c:490:8: warning: array subscript is above array bounds [-Warray-bounds]

Re: [PATCH 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-09 Thread Rafael Aquini
On Tue, Jan 08, 2013 at 05:32:41PM -0500, Rik van Riel wrote: > Subject: x86,smp: proportional backoff for ticket spinlocks > > Simple fixed value proportional backoff for ticket spinlocks. > By pounding on the cacheline with the spin lock less often, > bus traffic is reduced. In cases of a data

Re: [PATCH 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-09 Thread Rafael Aquini
On Wed, Jan 09, 2013 at 06:20:35PM +0530, Raghavendra K T wrote: > I ran kernbench on 32 core (mx3850) machine with 3.8-rc2 base. > x base_3.8rc2 > + rik_backoff > N Min MaxMedian AvgStddev > x 8 222.977231.16 227.735

Re: [PATCH v6 05/15] memory-hotplug: introduce new function arch_remove_memory() for removing page table depends on architecture

2013-01-09 Thread Tang Chen
Hi Andrew, On 01/10/2013 06:50 AM, Andrew Morton wrote: On Wed, 9 Jan 2013 17:32:29 +0800 Tang Chen wrote: For removing memory, we need to remove page table. But it depends on architecture. So the patch introduce arch_remove_memory() for removing page table. Now it only calls

Re: [PATCH 2/2] mm: forcely swapout when we are out of page cache

2013-01-09 Thread Minchan Kim
On Wed, Jan 09, 2013 at 04:26:02PM -0800, Andrew Morton wrote: > On Wed, 9 Jan 2013 15:21:14 +0900 > Minchan Kim wrote: > > > If laptop_mode is enable, VM try to avoid I/O for saving the power. > > But if there isn't reclaimable memory without I/O, we should do I/O > > for preventing

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-09 Thread Tang Chen
Hi Andrew, On 01/10/2013 07:33 AM, Andrew Morton wrote: On Wed, 9 Jan 2013 17:32:24 +0800 Tang Chen wrote: This patch-set aims to implement physical memory hot-removing. As you were on th patch delivery path, all of these patches should have your Signed-off-by:. But some were missing it.

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-09 Thread Tang Chen
Hi Andrew, Thank you very much for your pushing. :) On 01/10/2013 06:23 AM, Andrew Morton wrote: This does sound like a significant problem. We should assume that mmecg is available and in use. In patch1, we provide a solution which is not good enough: Iterate twice to offline the memory.

Re: [PATCH 3/3] ARM: Dove: add Cubox sdhci card detect gpio

2013-01-09 Thread Jason Cooper
On Tue, Dec 18, 2012 at 01:24:29AM +0100, Sebastian Hesselbarth wrote: > Card detect for sdhci on Cubox is connected to the wrong pin > (sdio1_cd instead of sdio0_cd). With support for cd-gpios and > pinctrl add the corresponding properties to DT for Cubox. > > Signed-off-by: Sebastian

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-09 Thread Kamezawa Hiroyuki
(2013/01/10 0:02), Sha Zhengju wrote: On Mon, Jan 7, 2013 at 3:25 PM, Kamezawa Hiroyuki wrote: (2013/01/05 13:48), Sha Zhengju wrote: On Wed, Jan 2, 2013 at 6:44 PM, Michal Hocko wrote: On Wed 26-12-12 01:26:07, Sha Zhengju wrote: From: Sha Zhengju This patch adds memcg routines to

[PATCH] hardlockup: detect hard lockups without NMIs using secondary cpus

2013-01-09 Thread Colin Cross
Emulate NMIs on systems where they are not available by using timer interrupts on other cpus. Each cpu will use its softlockup hrtimer to check that the next cpu is processing hrtimer interrupts by verifying that a counter is increasing. This patch is useful on systems where the hardlockup

Re: [PATCH 1/2] mm: prevent to add a page to swap if may_writepage is unset

2013-01-09 Thread Minchan Kim
Hi Andrew, On Wed, Jan 09, 2013 at 04:18:54PM -0800, Andrew Morton wrote: > On Wed, 9 Jan 2013 15:21:13 +0900 > Minchan Kim wrote: > > > Recently, Luigi reported there are lots of free swap space when > > OOM happens. It's easily reproduced on zram-over-swap, where > > many instance of memory

Re: [PATCH 1/4] arm: vt8500: Add support for Wondermedia WM8750/WM8850

2013-01-09 Thread Tony Prisk
On Wed, 2013-01-09 at 21:27 +, Arnd Bergmann wrote: > On Wednesday 09 January 2013, Tony Prisk wrote: > > I'm quite happy to send a pull request if that's what you prefer. > > > > Generally people have just taken the patches straight from email, so > > everytime I've done a pull-request I get

Re: [PATCH v5 01/14] memory-hotplug: try to offline the memory twice to avoid dependence

2013-01-09 Thread Tang Chen
Hi Glauber, On 01/09/2013 11:09 PM, Glauber Costa wrote: We try to make all page_cgroup allocations local to the node they are describing now. If the memory is the first memory onlined in this node, we will allocate it from the other node. For example, node1 has 4 memory blocks: 8-11, and we

Re: [PATCH v7u1 08/31] x86, 64bit: early #PF handler set page table

2013-01-09 Thread Yinghai Lu
On Mon, Jan 7, 2013 at 7:55 AM, Borislav Petkov wrote: > Those -vXX version lines need to go under the "---" line. Alternatively, > you might want to add some of them to the commit message with a proper > explanation since they are not that trivial at a first glance, for > example the -v5, -v6,

Re: [RFC PATCH 1/3] dmaengine: add dma_get_channel_caps()

2013-01-09 Thread Matt Porter
On Wed, Oct 24, 2012 at 08:43:27AM +0530, Vinod Koul wrote: > On Tue, 2012-10-23 at 23:49 +0100, Grant Likely wrote: > > > +enum dmaengine_apis { > > > + DMAENGINE_MEMCPY= 0x0001, > > > + DMAENGINE_XOR = 0x0002, > > > + DMAENGINE_XOR_VAL = 0x0004, > > > +

Re: [PATCH v7u1 12/31] x86: add get_ramdisk_image/size()

2013-01-09 Thread Yinghai Lu
On Mon, Jan 7, 2013 at 7:56 AM, Borislav Petkov wrote: > On Thu, Jan 03, 2013 at 04:48:32PM -0800, Yinghai Lu wrote: >> There are several places to find ramdisk information early for reserving >> and relocating. >> >> Use functions to make code more readable and consistent. >> >> Later will add

Re: [PATCH] leds-lm355x: support LED trigger functionality

2013-01-09 Thread Bryan Wu
On Wed, Jan 9, 2013 at 5:42 PM, Kim, Milo wrote: >> -Original Message- >> From: Bryan Wu [mailto:coolo...@gmail.com] >> Sent: Thursday, January 10, 2013 10:16 AM >> To: Kim, Milo >> Cc: Jeong, Daniel; gshark.je...@gmail.com; linux-l...@vger.kernel.org; >> linux-kernel@vger.kernel.org >>

RE: [PATCH] ARM: DTS: exynos4210-origen: Add MAX8997 node entry

2013-01-09 Thread Kukjin Kim
Thomas Abraham wrote: > > On 4 January 2013 00:23, Tushar Behera wrote: > > The node entry is added as per documentation and legacy board file. > > > > Signed-off-by: Tushar Behera > > --- > > The patch is rebased on v3.8-rc1. > > > > arch/arm/boot/dts/exynos4210-origen.dts | 150 >

RE: [PATCH] ARM: DTS: exynos4210-origen: Add MAX8997 node entry

2013-01-09 Thread Kukjin Kim
Tushar Behera wrote: > > On 01/04/2013 10:51 PM, Thomas Abraham wrote: > > On 4 January 2013 00:23, Tushar Behera wrote: > >> The node entry is added as per documentation and legacy board file. > >> > >> Signed-off-by: Tushar Behera > >> --- > >> The patch is rebased on v3.8-rc1. > >> > >>

RE: [PATCH] leds-lm355x: support LED trigger functionality

2013-01-09 Thread Kim, Milo
> -Original Message- > From: Bryan Wu [mailto:coolo...@gmail.com] > Sent: Thursday, January 10, 2013 10:16 AM > To: Kim, Milo > Cc: Jeong, Daniel; gshark.je...@gmail.com; linux-l...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] leds-lm355x: support LED trigger

RE: [PATCH] ARM: dts: exynos5250: Set HDMI version to v1.4

2013-01-09 Thread Kukjin Kim
Sean Paul wrote: > > On Mon, Jan 7, 2013 at 4:00 PM, Sean Paul wrote: > > Set the HDMI version to v1.4 for all exynos5250 targets. This property > > was previously being inferred by the existence of the hdmi node. > > > > Signed-off-by: Sean Paul > > --- > > The patch adding the property has

RE: [PATCH 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2013-01-09 Thread Kukjin Kim
Linus Walleij wrote: > > On Thu, Dec 27, 2012 at 5:58 PM, Kukjin Kim > wrote: > > > And I think, would be clear if the config could be changed like following. > > > > 8<-- > > From: Kukjin Kim > > Subject: [PATCH] pinctrl:

Re: [PATCH v7u1 20/31] x86, kexec: replace ident_mapping_init and init_level4_page

2013-01-09 Thread Yinghai Lu
On Sat, Jan 5, 2013 at 5:24 AM, Borislav Petkov wrote: > On Fri, Jan 04, 2013 at 02:04:05PM -0800, Yinghai Lu wrote: >> On Fri, Jan 4, 2013 at 1:01 PM, Borislav Petkov wrote: >> > On Thu, Jan 03, 2013 at 04:48:40PM -0800, Yinghai Lu wrote: >> >> static int init_pgtable(struct kimage *image,

Re: [PATCH] leds-lm355x: support LED trigger functionality

2013-01-09 Thread Bryan Wu
On Mon, Jan 7, 2013 at 10:35 PM, Kim, Milo wrote: > LM355x family devices provide flash, torch and indicator functions. > This patch support LED trigger feature. > Using LED trigger APIs(), other driver simply turn on/off the flash, torch > and indicator. > > Platform data > the name of

RE: sd8688 firmware location

2013-01-09 Thread Bing Zhao
Hi Dan, > > btmrvl_sdio and libertas_sdio both use firmware files sd8688.bin and > > sd8688_helper.bin. In linux-firmware, they're present in libertas/ tree and > > (since 3d32a58b) libertas_sdio perfers loading it from there, while it is > > able > > to fallback to load it from linux-firmware

Re: i915_hangcheck_hung problem with 3.8-rc2+ (Linus's latest tree)

2013-01-09 Thread Dave Airlie
On Thu, Jan 10, 2013 at 11:07 AM, Chris Wilson wrote: > On Wed, 9 Jan 2013 16:40:25 -0800, Greg KH wrote: >> On Wed, Jan 09, 2013 at 02:12:04PM -0600, Dave Kleikamp wrote: >> > On 01/09/2013 01:44 PM, Dave Kleikamp wrote: >> > > >> > > I can easily reproduce it running glxgears on 3.8-rc1 or

[PATCH] drivers/cpufreq: Warn user when powernow-k8 tries to fall back to acpi-cpufreq and it is unavailable.

2013-01-09 Thread Aravind Gopalakrishnan
This patch is in reference to bug#:51741. (https://bugzilla.kernel.org/show_bug.cgi?id=51741) powernow-k8 falls back to acpi-cpufreq if CPU is not supported. However, it states that acpi-cpufreq has taken over even if acpi-cpufreq is not compiled in. This patch rewords the warning message to

Re: i915_hangcheck_hung problem with 3.8-rc2+ (Linus's latest tree)

2013-01-09 Thread Chris Wilson
On Wed, 9 Jan 2013 16:40:25 -0800, Greg KH wrote: > On Wed, Jan 09, 2013 at 02:12:04PM -0600, Dave Kleikamp wrote: > > On 01/09/2013 01:44 PM, Dave Kleikamp wrote: > > > > > > I can easily reproduce it running glxgears on 3.8-rc1 or 3.8-rc2. > > > > > > 00:02.0 VGA compatible controller [0300]:

[PATCH 6/6][v3] perf: Document the ABI of perf sysfs entries

2013-01-09 Thread Sukadev Bhattiprolu
[PATCH 6/6][v3] perf: Document the ABI of perf sysfs entries This patchset addes two new sets of files to sysfs: - generic and POWER-specific perf events in /sys/devices/cpu/events/ - perf event config format in /sys/devices/cpu/format/event Document the format of these files

[PATCH 5/6][v3] perf: Create a sysfs entry for Power event format

2013-01-09 Thread Sukadev Bhattiprolu
[PATCH 5/6][v3] perf: Create a sysfs entry for Power event format Create a sysfs entry, '/sys/bus/event_source/devices/cpu/format/event' which describes the format of a POWER cpu. The format of the event is the same for all POWER cpus at least in (Power6, Power7), so bulk of this change is

[PATCH 4/6][v3] perf/POWER7: Make some POWER7 events available in sysfs

2013-01-09 Thread Sukadev Bhattiprolu
[PATCH 4/6][v3] perf/POWER7: Make some POWER7 events available in sysfs Make some POWER7-specific perf events available in sysfs. $ /bin/ls -1 /sys/bus/event_source/devices/cpu/events/ branch-instructions branch-misses cache-misses cache-references

[PATCH 3/6][v3] perf/POWER7: Make generic event translations available in sysfs

2013-01-09 Thread Sukadev Bhattiprolu
[PATCH 3/6][v3] perf/POWER7: Make generic event translations available in sysfs Make the generic perf events in POWER7 available via sysfs. $ ls /sys/bus/event_source/devices/cpu/events branch-instructions branch-misses cache-misses cache-references

[PATCH 2/6][v3] perf: Make EVENT_ATTR global

2013-01-09 Thread Sukadev Bhattiprolu
[PATCH 2/6][v3] perf: Make EVENT_ATTR global Rename EVENT_ATTR() to PMU_EVENT_ATTR() and make it global so it is available to all architectures. Further to allow architectures flexibility, have PMU_EVENT_ATTR() pass in the variable name as a parameter. Changelog[v3] - [Jiri Olsa] No

[PATCH 1/6][v3] perf/Power7: Use macros to identify perf events

2013-01-09 Thread Sukadev Bhattiprolu
[PATCH 1/6][v3] perf/Power7: Use macros to identify perf events Define and use macros to identify perf events codes. This would make it easier and more readable when these event codes need to be used in more than one place. Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/perf/power7-pmu.c

[PATCH] MAINTAINERS: mm: add additional include files to listing

2013-01-09 Thread Cody P Schafer
Add gfp.h, mmzone.h, memory_hotplug.h & vmalloc.h to the "MEMORY MANAGMENT" section so scripts/get_maintainer.pl can do a better job of making recommendations. Signed-off-by: Cody P Schafer --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

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

2013-01-09 Thread Michael Kerrisk (man-pages)
On Wed, Jan 9, 2013 at 6:29 PM, Lucas De Marchi wrote: > On Sun, Jan 6, 2013 at 4:59 PM, Michael Kerrisk (man-pages) > wrote: >> Hi Rusty, (and Lucas, and Kees) >> >> On Thu, Jan 3, 2013 at 1:12 AM, Rusty Russell wrote: >>> Michael Kerrisk writes: Hi Rusty, >>> >>> Hi Michael, >>>

Re: [PATCH RESEND v1 06/16] vfs: add temp calculation function

2013-01-09 Thread David Sterba
On Thu, Dec 20, 2012 at 10:43:25PM +0800, zwu.ker...@gmail.com wrote: > --- a/fs/hot_tracking.c > +++ b/fs/hot_tracking.c > @@ -25,6 +25,14 @@ > static struct kmem_cache *hot_inode_item_cachep __read_mostly; > static struct kmem_cache *hot_range_item_cachep __read_mostly; > > +static u64

Re: [PATCH RESEND v1 05/16] vfs: add hooks to enable hot tracking

2013-01-09 Thread David Sterba
On Thu, Dec 20, 2012 at 10:43:24PM +0800, zwu.ker...@gmail.com wrote: > --- a/fs/direct-io.c > +++ b/fs/direct-io.c > @@ -37,6 +37,7 @@ > #include > #include > #include > +#include "hot_tracking.h" > > /* > * How many user pages to map in one call to get_user_pages(). This >

Re: [PATCH RESEND v1 04/16] vfs: add two map arrays

2013-01-09 Thread David Sterba
On Thu, Dec 20, 2012 at 10:43:23PM +0800, zwu.ker...@gmail.com wrote: > --- a/fs/hot_tracking.c > +++ b/fs/hot_tracking.c > +/* Free inode and range map info */ > +static void hot_map_exit(struct hot_info *root) > +{ > + int i; > + for (i = 0; i < HEAT_MAP_SIZE; i++) { > +

Re: [PATCH RESEND v1 03/16] vfs: add I/O frequency update function

2013-01-09 Thread David Sterba
On Thu, Dec 20, 2012 at 10:43:22PM +0800, zwu.ker...@gmail.com wrote: > --- a/fs/hot_tracking.c > +++ b/fs/hot_tracking.c > @@ -164,6 +164,135 @@ static void hot_inode_tree_exit(struct hot_info *root) > spin_unlock(>lock); > } > > +struct hot_inode_item > +*hot_inode_item_lookup(struct

Re: [PATCH RESEND v1 01/16] vfs: introduce some data structures

2013-01-09 Thread David Sterba
On Thu, Dec 20, 2012 at 10:43:20PM +0800, zwu.ker...@gmail.com wrote: > --- /dev/null > +++ b/fs/hot_tracking.c > @@ -0,0 +1,109 @@ > +/* > + * fs/hot_tracking.c >From what I've undrestood the file name written here is not wanted, so please drop it (and from .h too) > + * > + * Copyright (C)

Re: [PATCH RESEND v1 02/16] vfs: add init and cleanup functions

2013-01-09 Thread David Sterba
On Thu, Dec 20, 2012 at 10:43:21PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > --- a/fs/hot_tracking.c > +++ b/fs/hot_tracking.c > @@ -107,3 +189,38 @@ err: > kmem_cache_destroy(hot_inode_item_cachep); > } > EXPORT_SYMBOL_GPL(hot_cache_init); > + > +/* > + * Initialize the

Re: i915_hangcheck_hung problem with 3.8-rc2+ (Linus's latest tree)

2013-01-09 Thread Greg KH
On Wed, Jan 09, 2013 at 02:12:04PM -0600, Dave Kleikamp wrote: > On 01/09/2013 01:44 PM, Dave Kleikamp wrote: > > > > I can easily reproduce it running glxgears on 3.8-rc1 or 3.8-rc2. > > > > 00:02.0 VGA compatible controller [0300]: Intel Corporation Core > > Processor Integrated Graphics

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-09 Thread Bjorn Helgaas
On Wed, Jan 9, 2013 at 1:10 PM, Rafael J. Wysocki wrote: > On Wednesday, January 09, 2013 11:01:39 AM Yinghai Lu wrote: >> On Wed, Jan 9, 2013 at 10:39 AM, Bjorn Helgaas wrote: >> >> the reason why we need to change those codes for x86, we want to make it >> >> support >> >> pci root bus

  1   2   3   4   5   6   7   8   9   10   >