Re: [RFC PATCH 0/2] cpufreq: Introduce LAB cpufreq governor.

2013-04-09 Thread Vincent Guittot
On 9 April 2013 20:52, Vincent Guittot wrote: > > > On Tuesday, 9 April 2013, Lukasz Majewski wrote: >> Hi Viresh and Vincent, >> >>> On 9 April 2013 16:07, Lukasz Majewski wrote: >>> >> On Mon, Apr 1, 2013 at 1:54 PM, Jonghwa Lee >>> > Our approach is a bit different than cpufreq_ondemand one.

Re: [patch v3 6/8] sched: consider runnable load average in move_tasks

2013-04-09 Thread Vincent Guittot
On 10 April 2013 08:07, Michael Wang wrote: > On 04/09/2013 03:08 PM, Vincent Guittot wrote: >> On 2 April 2013 05:23, Alex Shi wrote: >>> Except using runnable load average in background, move_tasks is also >>> the key functions in load balance. We need consider the runnable load >>> average in

[PATCH] pinctrl: pinctrl-single: add missing double quote

2013-04-09 Thread Prabhakar lad
From: Lad, Prabhakar add a missing double quote for compatible property for pmx_wkup. Signed-off-by: Lad, Prabhakar Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Tony Lindgren Cc: Linus Walleij Cc: Peter Ujfalusi Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-...@vger.kernel.org

Re: [PATCH 01/10] mm: vmscan: Limit the number of pages kswapd reclaims at each priority

2013-04-09 Thread Kamezawa Hiroyuki
(2013/04/09 20:06), Mel Gorman wrote: > The number of pages kswapd can reclaim is bound by the number of pages it > scans which is related to the size of the zone and the scanning priority. In > many cases the priority remains low because it's reset every SWAP_CLUSTER_MAX > reclaimed pages but in t

[PATCH RFT 2/2] regulator: ab8500: Optimize ab8540_aux3_regulator_get_voltage_sel

2013-04-09 Thread Axel Lin
We can save a register read operation in some case if read expand_register first. If info->expand_register.voltage_mask bit is set, no need to read voltage_reg. Signed-off-by: Axel Lin --- drivers/regulator/ab8500.c | 42 ++ 1 file changed, 18 insertions

Re: linux-next: manual merge of the mfd tree with the v4l-dvb tree

2013-04-09 Thread Samuel Ortiz
Hi Stephen, On Wed, Apr 10, 2013 at 01:48:13PM +1000, Stephen Rothwell wrote: > Hi Samuel, > > Today's linux-next merge of the mfd tree got a conflict in > drivers/mfd/Kconfig between commit 3f8ec5df11aa ("[media] mfd: Add header > files and Kbuild plumbing for SI476x MFD core") from the v4l-dvb

Re: [PATCH 2/2] hfsplus: add error propagation to __hfsplus_ext_write_extent()

2013-04-09 Thread Vyacheslav Dubeyko
On Tue, 2013-04-09 at 22:14 +0400, Alexey Khoroshilov wrote: > __hfsplus_ext_write_extent() suppresses errors coming from hfs_brec_find(). > The patch implements error code propagation. > Looks good for me. Reviewed-by: Vyacheslav Dubeyko Tnanks, Vyacheslav Dubeyko. > Signed-off-by: Alexey Kh

[PATCH RFT 1/2] regulator: ab8500: Fix set voltage for AB8540_LDO_AUX3

2013-04-09 Thread Axel Lin
When setting voltage for AB8540_LDO_AUX3, current code only updates one of info->voltage_reg and info->expand_register registers which is wrong. To ensure we set to correct voltage, it always needs to clear or set expand_register.voltage_mask bit of expand_register. Signed-off-by: Axel Lin --- d

Re: [PATCH 1/2] hfs: add error checking for hfs_find_init()

2013-04-09 Thread Vyacheslav Dubeyko
On Tue, 2013-04-09 at 22:14 +0400, Alexey Khoroshilov wrote: > hfs_find_init() may fail with ENOMEM, but there are places, > where the returned value is not checked. The consequences can be > very unpleasant, e.g. kfree uninitialized pointer and > inappropriate mutex unlocking. > > The patch adds

Re: [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
On Wed, Apr 10, 2013 at 12:32:31AM -0400, Michael R. Hines wrote: > On 04/09/2013 11:24 PM, Michael S. Tsirkin wrote: > >Which mechanism do you refer to? You patches still seem to pin > >each page in guest memory at some point, which will break all COW. > >In particular any pagemap tricks to detect

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-04-09 Thread Pekka Enberg
On Mon, Apr 8, 2013 at 3:32 PM, Steven Rostedt wrote: >> > Index: linux/mm/slub.c >> > === >> > --- linux.orig/mm/slub.c2013-03-28 12:14:26.958358688 -0500 >> > +++ linux/mm/slub.c 2013-04-01 10:23:24.677584499 -0500 >> > @@ -1498

Re: [PATCH] kernel: trace: ftrace: strncpy, using strlcpy instead of strncpy

2013-04-09 Thread Chen Gang F T
On 2013年04月09日 23:00, Steven Rostedt wrote: > I'll queue this up for my 3.10 queue. I'm going to merge this patch with > the previous patch you sent that updates trace.c > > Thanks, > > -- Steve thanks too. -- Chen Gang Flying Transformer -- To unsubscribe from this list: send the line "un

Re: [PATCH v2 03/10] mm/page_alloc: insert memory barriers to allow async update of pcp batch and high

2013-04-09 Thread Gilad Ben-Yossef
On Wed, Apr 10, 2013 at 9:19 AM, Gilad Ben-Yossef wrote: > On Wed, Apr 10, 2013 at 2:28 AM, Cody P Schafer > wrote: >> In pageset_set_batch() and setup_pagelist_highmark(), ensure that batch >> is always set to a safe value (1) prior to updating high, and ensure >> that high is fully updated bef

Re: [PATCH v2 03/10] mm/page_alloc: insert memory barriers to allow async update of pcp batch and high

2013-04-09 Thread Gilad Ben-Yossef
On Wed, Apr 10, 2013 at 2:28 AM, Cody P Schafer wrote: > In pageset_set_batch() and setup_pagelist_highmark(), ensure that batch > is always set to a safe value (1) prior to updating high, and ensure > that high is fully updated before setting the real value of batch. > > Suggested by Gilad Ben-Yo

RE: [PATCHv3] driver: serial: prevent UART console idle on suspend while using "no_console_suspend"

2013-04-09 Thread Bedia, Vaibhav
Hi Sourav, Kevin, On Wed, Apr 10, 2013 at 11:37:28, Poddar, Sourav wrote: > Hi, > On Wednesday 10 April 2013 12:37 AM, Kevin Hilman wrote: > > Sourav Poddar writes: > > > >> Hi Kevin, > >> On Friday 05 April 2013 11:10 PM, Kevin Hilman wrote: > >>> Sourav Poddar writes: > >>> > With dt boo

Re: [PATCH v2 2/3] resource: Add release_mem_region_adjustable()

2013-04-09 Thread David Rientjes
On Mon, 8 Apr 2013, Toshi Kani wrote: > Added release_mem_region_adjustable(), which releases a requested > region from a currently busy memory resource. This interface > adjusts the matched memory resource accordingly even if the > requested region does not match exactly but still fits into. >

Re: linux-next: Tree for Apr 9 [cpufreq: NULL pointer deref]

2013-04-09 Thread Sedat Dilek
On Wed, Apr 10, 2013 at 7:53 AM, Sedat Dilek wrote: > On Wed, Apr 10, 2013 at 7:41 AM, Sedat Dilek wrote: >> On Tue, Apr 9, 2013 at 6:51 PM, Viresh Kumar wrote: >>> On 9 April 2013 21:38, Sedat Dilek wrote: With x=3 the system gets in an unuseable state. root# echo 0 > /sys/

Re: [PATCH v2 1/3] resource: Add __adjust_resource() for internal use

2013-04-09 Thread David Rientjes
On Mon, 8 Apr 2013, Toshi Kani wrote: > Added __adjust_resource(), which is called by adjust_resource() > internally after the resource_lock is held. There is no interface > change to adjust_resource(). This change allows other functions > to call __adjust_resource() internally while the resourc

RE: [PATCH v3 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-04-09 Thread Philip, Avinash
On Wed, Apr 10, 2013 at 11:25:19, Nori, Sekhar wrote: > On 4/10/2013 11:00 AM, Philip, Avinash wrote: > > On Tue, Apr 09, 2013 at 17:05:25, Nori, Sekhar wrote: > >> On 4/9/2013 2:12 PM, Philip, Avinash wrote: > >>> On Mon, Apr 08, 2013 at 18:39:57, Nori, Sekhar wrote: > > On 4/8/2013 2:39

Re: [patch v3 6/8] sched: consider runnable load average in move_tasks

2013-04-09 Thread Michael Wang
On 04/09/2013 03:08 PM, Vincent Guittot wrote: > On 2 April 2013 05:23, Alex Shi wrote: >> Except using runnable load average in background, move_tasks is also >> the key functions in load balance. We need consider the runnable load >> average in it in order to the apple to apple load comparison.

Re: [PATCHv3] driver: serial: prevent UART console idle on suspend while using "no_console_suspend"

2013-04-09 Thread Sourav Poddar
Hi, On Wednesday 10 April 2013 12:37 AM, Kevin Hilman wrote: Sourav Poddar writes: Hi Kevin, On Friday 05 April 2013 11:10 PM, Kevin Hilman wrote: Sourav Poddar writes: With dt boot, uart wakeup after suspend is non functional while using "no_console_suspend" in the bootargs. With "no_con

[patch] mm, hotplug: avoid compiling memory hotremove functions when disabled

2013-04-09 Thread David Rientjes
__remove_pages() is only necessary for CONFIG_MEMORY_HOTREMOVE. PowerPC pseries will return -EOPNOTSUPP if unsupported. Adding an #ifdef causes several other functions it depends on to also become unnecessary, which saves in .text when disabled (it's disabled in most defconfigs besides powerpc, i

[PATCH] sched: Remove redundant code from can_migrate_task()

2013-04-09 Thread Zhang Hang
There is no opportunity to return 1 if tsk_cache_hot is true and the expression (env->sd->nr_balance_failed > env->sd->cache_nice_tries) is false. Meanwhile, it's unnecessary to judge whether tsk_cache_hot is true or false after being filtered by previous judgment. Signed-off-by: Zhang Hang ---

Re: [PATCH 1/3] mm, vmscan: count accidental reclaimed pages failed to put into lru

2013-04-09 Thread Minchan Kim
On Wed, Apr 10, 2013 at 02:48:22PM +0900, Joonsoo Kim wrote: > Hello, Minchan. > > On Tue, Apr 09, 2013 at 02:55:14PM +0900, Minchan Kim wrote: > > Hello Joonsoo, > > > > On Tue, Apr 09, 2013 at 10:21:16AM +0900, Joonsoo Kim wrote: > > > In shrink_(in)active_list(), we can fail to put into lru, a

Re: [PATCH 3/3] efi: Distinguish between "remaining space" and actually used space

2013-04-09 Thread Lingzhu Xiang
On 04/10/2013 10:41 AM, Matthew Garrett wrote: + if (!storage_size || size > remaining_size || + ((active_size + size + VAR_METADATA_SIZE > storage_size / 2) && +(remaining_size - size - VAR_METADATA_SIZE < storage_size / 2))) This could overflow. (u64)32768 - (u64)

Re: [PATCH] kernel: module: strncpy issue, using strlcpy instead of strncpy

2013-04-09 Thread Chen Gang
On 2013年04月09日 17:36, Chen Gang wrote: > On 2013年04月09日 09:52, Chen Gang wrote: > > it looks like a bug. for me, I prefer to give length check for it. > > but I am sorry, now, I can not be sure whether it is really a bug. >>> It really is. We don't export any symbols > 128 cha

Re: [RFC PATCH v2 6/6] powerpc: Use generic code for exception handling

2013-04-09 Thread Li Zhong
On Wed, 2013-04-10 at 13:32 +0800, Li Zhong wrote: > On Wed, 2013-04-10 at 14:56 +1000, Michael Ellerman wrote: > > On Fri, Mar 29, 2013 at 06:00:21PM +0800, Li Zhong wrote: > > > After the exception handling moved to generic code, and some changes in > > ... > > > diff --git a/arch/powerpc/mm/hash

Re: [PATCH v3 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-04-09 Thread Sekhar Nori
On 4/10/2013 11:00 AM, Philip, Avinash wrote: > On Tue, Apr 09, 2013 at 17:05:25, Nori, Sekhar wrote: >> On 4/9/2013 2:12 PM, Philip, Avinash wrote: >>> On Mon, Apr 08, 2013 at 18:39:57, Nori, Sekhar wrote: On 4/8/2013 2:39 PM, Philip, Avinash wrote: > On Tue, Apr 02, 2013 at 14:03:34

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

2013-04-09 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/vt6655/device_main.c between commit f805442e130c ("vt6655: slightly clean reading config file") from the vfs tree and commits 915006cddc79 ("staging:vt6655:device_main: Whitespace cleanups") and 5e0cc8a231be ("

Re: linux-next: Tree for Apr 9 [cpufreq: NULL pointer deref]

2013-04-09 Thread Sedat Dilek
On Wed, Apr 10, 2013 at 7:41 AM, Sedat Dilek wrote: > On Tue, Apr 9, 2013 at 6:51 PM, Viresh Kumar wrote: >> On 9 April 2013 21:38, Sedat Dilek wrote: >>> With x=3 the system gets in an unuseable state. >>> >>> root# echo 0 > /sys/devices/system/cpu/cpu3/online >>> >>> I could not write my

Re: [PATCH v2 0/3] Support memory hot-delete to boot memory

2013-04-09 Thread David Rientjes
On Mon, 8 Apr 2013, Toshi Kani wrote: > > So we don't need this new code if CONFIG_MEMORY_HOTPLUG=n? If so, can > > we please arrange for it to not be present if the user doesn't need it? > > Good point! Yes, since the new function is intended for memory > hot-delete and is only called from __r

Re: [PATCH 1/3] mm, vmscan: count accidental reclaimed pages failed to put into lru

2013-04-09 Thread Joonsoo Kim
Hello, Minchan. On Tue, Apr 09, 2013 at 02:55:14PM +0900, Minchan Kim wrote: > Hello Joonsoo, > > On Tue, Apr 09, 2013 at 10:21:16AM +0900, Joonsoo Kim wrote: > > In shrink_(in)active_list(), we can fail to put into lru, and these pages > > are reclaimed accidentally. Currently, these pages are n

Re: linux-next: Tree for Apr 9 [cpufreq: NULL pointer deref]

2013-04-09 Thread Sedat Dilek
On Tue, Apr 9, 2013 at 6:51 PM, Viresh Kumar wrote: > On 9 April 2013 21:38, Sedat Dilek wrote: >> With x=3 the system gets in an unuseable state. >> >> root# echo 0 > /sys/devices/system/cpu/cpu3/online >> >> I could not write my reply and had to do a hard/cold reboot. >> The dmesg log I sa

Re: [PATCH 00/10] Add Intel Atom S1200 seris ioatdma support

2013-04-09 Thread Vinod Koul
On Wed, Apr 10, 2013 at 10:30:59AM +0530, Vinod Koul wrote: > On Tue, Apr 09, 2013 at 05:53:59PM -0700, Dan Williams wrote: > > On Tue, Apr 9, 2013 at 12:28 AM, Vinod Koul wrote: > > > Are you okay with the series. Merge window is very close... > > > > > > > > Hi Vinod, thanks for the ping. > > >

Re: [PATCH] dmaengine: omap-dma: Start DMA without delay for cyclic channels

2013-04-09 Thread Vinod Koul
On Tue, Apr 09, 2013 at 04:33:06PM +0200, Peter Ujfalusi wrote: > cyclic DMA is only used by audio which needs DMA to be started without a > delay. > If the DMA for audio is started using the tasklet we experience random > channel switch (to be more precise: channel shift). > > Reported-by: Peter

Re: [PATCH 00/10] Add Intel Atom S1200 seris ioatdma support

2013-04-09 Thread Jiang, Dave
On Apr 9, 2013, at 10:30 PM, "Koul, Vinod" wrote: > On Tue, Apr 09, 2013 at 05:53:59PM -0700, Dan Williams wrote: >> On Tue, Apr 9, 2013 at 12:28 AM, Vinod Koul wrote: >>> Are you okay with the series. Merge window is very close... >>> >>> >> Hi Vinod, thanks for the ping. >> >> Chatted with

Re: [RFC PATCH v2 6/6] powerpc: Use generic code for exception handling

2013-04-09 Thread Li Zhong
On Wed, 2013-04-10 at 14:56 +1000, Michael Ellerman wrote: > On Fri, Mar 29, 2013 at 06:00:21PM +0800, Li Zhong wrote: > > After the exception handling moved to generic code, and some changes in > ... > > diff --git a/arch/powerpc/mm/hash_utils_64.c > > b/arch/powerpc/mm/hash_utils_64.c > > index

RE: [PATCH v3 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-04-09 Thread Philip, Avinash
On Tue, Apr 09, 2013 at 17:05:25, Nori, Sekhar wrote: > On 4/9/2013 2:12 PM, Philip, Avinash wrote: > > On Mon, Apr 08, 2013 at 18:39:57, Nori, Sekhar wrote: > >> > >> On 4/8/2013 2:39 PM, Philip, Avinash wrote: > >>> On Tue, Apr 02, 2013 at 14:03:34, Nori, Sekhar wrote: > On 3/25/2013 1:19 PM

Re: [PATCH v3 02/22] x86, microcode: Use common get_ramdisk_image()

2013-04-09 Thread Tang Chen
On 04/05/2013 07:46 AM, Yinghai Lu wrote: Use common get_ramdisk_image() to get ramdisk start phys address. We need this to get correct ramdisk adress for 64bit bzImage that initrd can be loaded above 4G by kexec-tools. Signed-off-by: Yinghai Lu Cc: Fenghua Yu Acked-by: Tejun Heo --- arch/x86

Re: [PATCH 00/10] Add Intel Atom S1200 seris ioatdma support

2013-04-09 Thread Vinod Koul
On Tue, Apr 09, 2013 at 05:53:59PM -0700, Dan Williams wrote: > On Tue, Apr 9, 2013 at 12:28 AM, Vinod Koul wrote: > > Are you okay with the series. Merge window is very close... > > > > > Hi Vinod, thanks for the ping. > > Chatted with Dave patches 1-3 and 5-8, and 10 are reviewed/acked. For >

Re: [PATCH] sched: wake-affine throttle

2013-04-09 Thread Alex Shi
On 04/10/2013 01:11 PM, Michael Wang wrote: >> > BTW, could you try the kbulid, hackbench and aim for this? > Sure, the patch has already been tested with aim7, also the hackbench, > kbench, and ebizzy, no notable changes on my box with the default 1ms > interval. That's fine. -- Thanks Alex --

Re: [PATCHv3] driver: serial: prevent UART console idle on suspend while using "no_console_suspend"

2013-04-09 Thread Sourav Poddar
Hi Russell, On Monday 08 April 2013 10:44 PM, Russell King - ARM Linux wrote: On Fri, Apr 05, 2013 at 06:45:33PM +0530, Sourav Poddar wrote: With dt boot, uart wakeup after suspend is non functional while using "no_console_suspend" in the bootargs. With "no_console_suspend" used, we should preve

Re: [PATCH 2/3] mm, slub: count freed pages via rcu as this task's reclaimed_slab

2013-04-09 Thread Joonsoo Kim
Hello, Christoph. On Tue, Apr 09, 2013 at 02:28:06PM +, Christoph Lameter wrote: > On Tue, 9 Apr 2013, Joonsoo Kim wrote: > > > Currently, freed pages via rcu is not counted for reclaimed_slab, because > > it is freed in rcu context, not current task context. But, this free is > > initiated b

Re: [PATCH 08/10] mm: vmscan: Have kswapd shrink slab only once per priority

2013-04-09 Thread Joonsoo Kim
Hello, Dave. On Wed, Apr 10, 2013 at 11:07:34AM +1000, Dave Chinner wrote: > On Tue, Apr 09, 2013 at 12:13:59PM +0100, Mel Gorman wrote: > > On Tue, Apr 09, 2013 at 03:53:25PM +0900, Joonsoo Kim wrote: > > > > > I think that outside of zone loop is better place to run shrink_slab(), > > > because

Re: [PATCH 08/10] mm: vmscan: Have kswapd shrink slab only once per priority

2013-04-09 Thread Joonsoo Kim
Hello, Mel. On Tue, Apr 09, 2013 at 12:13:59PM +0100, Mel Gorman wrote: > On Tue, Apr 09, 2013 at 03:53:25PM +0900, Joonsoo Kim wrote: > > Hello, Mel. > > Sorry for too late question. > > > > No need to apologise at all. > > > On Sun, Mar 17, 2013 at 01:04:14PM +, Mel Gorman wrote: > > > If

Re: [PATCH] mm: page_alloc: Avoid marking zones full prematurely after zone_reclaim()

2013-04-09 Thread Ric Mason
Hi Michal, On 04/09/2013 06:14 PM, Michal Hocko wrote: On Tue 09-04-13 18:05:30, Simon Jeons wrote: [...] I try this in v3.9-rc5: dd if=/dev/sda of=/dev/null bs=1MB 14813+0 records in 14812+0 records out 1481200 bytes (15 GB) copied, 105.988 s, 140 MB/s free -m -s 1 tota

Re: [PATCH] sched: wake-affine throttle

2013-04-09 Thread Michael Wang
On 04/10/2013 12:16 PM, Alex Shi wrote: > On 04/10/2013 11:30 AM, Michael Wang wrote: >> Suggested-by: Peter Zijlstra >> Signed-off-by: Michael Wang > > Reviewed-by: Alex Shi Thanks for your review :) > > BTW, could you try the kbulid, hackbench and aim for this? Sure, the patch has already

RE: [PATCH 2/2] powerpc/dma/raidengine: enable Freescale RaidEngine device

2013-04-09 Thread Shi Xuelin-B29237
Hi Dan & vinod, Do you have any comments about this patch? Thanks, Forrest -Original Message- From: Shi Xuelin-B29237 Sent: 2012年11月21日 17:01 To: dan.j.willi...@gmail.com; vinod.k...@intel.com; linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org Cc: i...@ovro.caltech.edu; Shi X

Re: [PATCH] powerpc: fixing ptrace_get_reg to return an error

2013-04-09 Thread Michael Neuling
Alexey Kardashevskiy wrote: > Currently ptrace_get_reg returns error as a value > what make impossible to tell whether it is a correct value or error code. > > The patch adds a parameter which points to the real return data and > returns an error code. > > As get_user_msr() never fails and it i

Re: [RFC PATCH v2 6/6] powerpc: Use generic code for exception handling

2013-04-09 Thread Michael Ellerman
On Fri, Mar 29, 2013 at 06:00:21PM +0800, Li Zhong wrote: > After the exception handling moved to generic code, and some changes in ... > diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c > index 360fba8..eeab30f 100644 > --- a/arch/powerpc/mm/hash_utils_64.c > +++ b/ar

Re: [PATCH] intel-iommu: Synchronize gcmd value with global command register

2013-04-09 Thread Takao Indoh
(2013/04/05 20:06), Joerg Roedel wrote: > On Wed, Apr 03, 2013 at 09:24:39AM +0100, David Woodhouse wrote: >> On Wed, 2013-04-03 at 16:11 +0900, Takao Indoh wrote: >>> Yeah, you are right. I forgot such a case. >> >> If you disable translation and there's some device still doing DMA, it's >> going

Re: [PATCH] kbuild: generate generic headers before recursing into scripts

2013-04-09 Thread Prabhakar Lad
On Tue, Apr 9, 2013 at 11:27 PM, Andreas Schwab wrote: > The headers are now needed inside scripts/mod since 6543bec > ("mod/file2alias: make modalias generation safe for cross compiling"). > > Signed-off-by: Andreas Schwab Reported-by: Lad, Prabhakar Tested-by: Lad, Prabhakar Regards, --Prab

Re: [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael R. Hines
On 04/09/2013 11:24 PM, Michael S. Tsirkin wrote: Which mechanism do you refer to? You patches still seem to pin each page in guest memory at some point, which will break all COW. In particular any pagemap tricks to detect duplicates on source that I suggested won't work. Sorry, I mispoke. I

Re: [PATCH 14/18] cpufreq: sh: move cpufreq driver to drivers/cpufreq

2013-04-09 Thread Simon Horman
On Wed, Apr 10, 2013 at 08:21:51AM +0530, Viresh Kumar wrote: > On 10 April 2013 07:42, Simon Horman wrote: > > Thanks, I understand. > > > > I have no objections to this, but Paul should probably review it. > > It is already Acked by him and applied by Rafael. :) -- To unsubscribe from this lis

Re: [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
On Tue, Apr 09, 2013 at 09:26:59PM -0400, Michael R. Hines wrote: > With respect, I'm going to offload testing this patch back to the author =) > because I'm trying to address all of Paolo's other minor issues > with the RDMA patch before we can merge. Fair enough, this likely means it won't happ

Re: [PATCH] sched: wake-affine throttle

2013-04-09 Thread Alex Shi
On 04/10/2013 11:30 AM, Michael Wang wrote: > Suggested-by: Peter Zijlstra > Signed-off-by: Michael Wang Reviewed-by: Alex Shi BTW, could you try the kbulid, hackbench and aim for this? -- Thanks Alex -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

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

2013-04-09 Thread Yuantian.Tang
From: Tang Yuantian Call of_node_put() only when the out_args is NULL on success, or the node's reference count will not be correct because the caller will call of_node_put() again. Signed-off-by: Tang Yuantian --- v2: - modified the title and description. the 1st patch title is:

[PATCH v3] kernel: module: using strlcpy and strcpy instead of strncpy

2013-04-09 Thread Chen Gang
namebuf is NUL terminated string. better always let it ended by '\0'. the module_name() is always the name field of struct module (which is a fixed array), or a literal "kernel", so strcpy is better. Signed-off-by: Chen Gang --- kernel/module.c |4 ++-- 1 files changed, 2 insertion

Re: [RFC PATCH 3/3] pstore/ram: avoid atomic accesses for ioremapped regions

2013-04-09 Thread Colin Cross
On Tue, Apr 9, 2013 at 8:08 PM, Rob Herring wrote: > From: Rob Herring > > For persistent RAM outside of main memory, the memory may have limitations > on supported accesses. For internal RAM on highbank platform exclusive > accesses are not supported and will hang the system. So atomic_cmpxchg >

Re: [Drbd-dev] [PATCH] drivers/block/drbd: remove erroneous semicolon

2013-04-09 Thread Chen Gang
On 2013年04月09日 23:56, Lars Ellenberg wrote: > The original report (by kbuild test robot) is from the week before iirc > (don't have it anymore), the original commit in our drbd repo the day before. really it is !! thanks. :-) -- Chen Gang Asianux Corporation -- To unsubscribe from th

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

2013-04-09 Thread Colin Cross
On Tue, Apr 9, 2013 at 8:08 PM, Rob Herring wrote: > From: Rob Herring > > Atomic operations are undefined behavior on ARM for device or strongly > ordered memory types. So use write-combine variants for mappings. This > corresponds to normal, non-cacheable memory on ARM. For many other > archite

linux-next: manual merge of the mfd tree with the v4l-dvb tree

2013-04-09 Thread Stephen Rothwell
Hi Samuel, Today's linux-next merge of the mfd tree got a conflict in drivers/mfd/Kconfig between commit 3f8ec5df11aa ("[media] mfd: Add header files and Kbuild plumbing for SI476x MFD core") from the v4l-dvb tree and commit ab85b120e692 ("mfd: Kconfig alphabetical re-ordering") from the mfd tree.

[PATCH] sched: wake-affine throttle

2013-04-09 Thread Michael Wang
Log since RFC: 1. Throttle only when wake-affine failed. (thanks to PeterZ) 2. Do throttle inside wake_affine(). (thanks to PeterZ) 3. Other small fix. Recently testing show that wake-affine stuff cause regression on pgbench, the hiding rat was finally catched out. wake-af

[PATCH v3 05/12] tracing: switch syscall tracing to use event_trace_ops backend

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" Other tracepoints already switched to use event_trace_ops as backend store mechanism, syscall tracing can use same backend. This change would also expose syscall tracing to external modules with same interface like other tracepoints. Signed-off-by: zhangwei(Jovi) --- ke

[PATCH v3 04/12] tracing: export ftrace_events

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" let modules can access ftrace_events Signed-off-by: zhangwei(Jovi) --- include/linux/ftrace_event.h |1 + kernel/trace/trace.h |1 - kernel/trace/trace_events.c |2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/ftrace

[PATCH v3 02/12] tracing: fix irqs-off tag display in syscall tracing

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" Now all syscall tracing irqs-off tag is wrong, syscall enter entry doesn't disable irq. [root@jovi tracing]#echo "syscalls:sys_enter_open" > set_event [root@jovi tracing]# cat trace # tracer: nop # # entries-in-buffer/entries-written: 13/13 #P:2 # #

[PATCH v3 06/12] tracing: expose structure ftrace_event_field

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" Currently event tracing field information is only stored in struct ftrace_event_field, this structure is defined in internal trace.h. Move this ftrace_event_field into include/linux/ftrace_event.h, then external modules can make use this structure to parse event field(like

[PATCH v3 07/12] tracing: remove TRACE_EVENT_TYPE enum definition

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" TRACE_EVENT_TYPE enum is not used at present, remove it. Signed-off-by: zhangwei(Jovi) --- kernel/trace/trace.h |6 -- 1 file changed, 6 deletions(-) diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 89da073..9964695 100644 --- a/kernel/trace/trace.

[PATCH v3 11/12] tracing: guard tracing_selftest_disabled by CONFIG_FTRACE_STARTUP_TEST

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" Variable tracing_selftest_disabled have not any sense when CONFIG_FTRACE_STARTUP_TEST is disabled. This patch also remove __read_mostly attribute, since variable tracing_selftest_disabled really not read mostly. Signed-off-by: zhangwei(Jovi) --- kernel/trace/trace.c

[PATCH v3 10/12] tracing: use per trace_array clock_id instead of global trace_clock_id

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" tracing clock id already changed into per trace_array variable, but there still use global trace_clock_id, which value always is 0 now. Signed-off-by: zhangwei(Jovi) --- kernel/trace/trace.c |8 +++- kernel/trace/trace.h |2 -- 2 files changed, 3 insertions(+

[PATCH v3 12/12] libtraceevent: add libtraceevent prefix in warning message

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" Now using perf tracepoint, perf output some warning message which hard to understand what's wrong in perf. [root@jovi perf]# ./perf stat -e timer:* ls Warning: unknown op '{' Warning: unknown op '{' ... Actually these warning message is caused by libtraceevent format

[PATCH v3 01/12] tracing: move trace_array definition into include/linux/trace_array.h

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" Prepare for expose event tracing infrastructure. (struct trace_array shall be use by external modules) Signed-off-by: zhangwei(Jovi) --- include/linux/trace_array.h | 117 +++ kernel/trace/trace.h| 116 +--

[PATCH v3 03/12] tracing: expose event tracing infrastructure

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" Currently event tracing only can be use for ftrace and perf, there don't have any mechanism to let modules(like external tracing tool) register callback tracing function. Event tracing implement based on tracepoint, compare with raw tracepoint, event tracing infrastructure

[PATCH v3 00/12] event tracing expose change and bugfix/cleanup

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" Hi steven, I have reworked this patchset again with minor change. [v2 -> v3: - change trace_descripte_t defintion in patch 3 - new patch "export ftrace_events" - remove patch "export syscall metadata" (syscall tracing are use same event_trace_ops backend as norma

[PATCH v3 09/12] tracing: remove ftrace(...) function

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" The only caller of function ftrace(...) was removed at long time ago, so remove the function body also. Signed-off-by: zhangwei(Jovi) --- kernel/trace/trace.c |9 - kernel/trace/trace.h |5 - 2 files changed, 14 deletions(-) diff --git a/kernel/trace

[PATCH v3 08/12] tracing: remove obsolete macro guard _TRACE_PROFILE_INIT

2013-04-09 Thread zhangwei(Jovi)
From: "zhangwei(Jovi)" Macro _TRACE_PROFILE_INIT was removed at long time ago, but leave guard "#undef" here, remove it. Signed-off-by: zhangwei(Jovi) --- include/trace/ftrace.h |2 -- 1 file changed, 2 deletions(-) diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 743e75

Re: [PATCH v3 linux-next] cpufreq: ondemand: Calculate gradient of CPU load to early increase frequency

2013-04-09 Thread Viresh Kumar
On 9 April 2013 22:26, Stratos Karafotis wrote: > On 04/05/2013 10:50 PM, Stratos Karafotis wrote: >> >> Hi Viresh, >> >> On 04/04/2013 07:54 AM, Viresh Kumar wrote: >>> >>> Hi Stratos, >>> >>> Yes, your results show some improvements. BUT if performance is the only >>> thing >>> we were looking f

Re: [PATCH 2/3] mm, slub: count freed pages via rcu as this task's reclaimed_slab

2013-04-09 Thread Simon Jeons
Hi Christoph, On 04/09/2013 10:32 PM, Christoph Lameter wrote: On Tue, 9 Apr 2013, Simon Jeons wrote: + int pages = 1 << compound_order(page); One question irrelevant this patch. Why slab cache can use compound page(hugetlbfs pages/thp pages)? They are just used by app to optimize tlb mi

mfd, arizona: Fix the deadlock between interrupt handler and dpm_suspend

2013-04-09 Thread Chuansheng Liu
When system try to do the suspend: T1:suspend_thread T2: interrupt thread handler enter_state() arizona_irq_thread() suspend_devices_and_enter()regmap_read() __device_suspend() regm

[BUG] Fatal exception in interrupt - nf_nat_cleanup_conntrack during IPv6 tests

2013-04-09 Thread CAI Qian
Just hit this very often during IPv6 tests in both the latest stable and mainline kernel. [ 3597.179161] general protection fault: [#1] SMP [ 3597.206166] Modules linked in: btrfs(F) zlib_deflate(F) vfat(F) fat(F) nfs_layout_nfsv41_files(F) nfsv4(F) auth_rpcgss(F) nfsv3(F) nfs_acl(F) nfsv2

[PATCH] checkpatch: Warn on comparisons to true and false

2013-04-09 Thread Joe Perches
Comparisons of A to true and false are better written as A and !A. Bleat a message on use. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 17 + 1 file changed, 17 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 3fb6d86..080e7f6 100755 ---

[RFC PATCH 3/3] pstore/ram: avoid atomic accesses for ioremapped regions

2013-04-09 Thread Rob Herring
From: Rob Herring For persistent RAM outside of main memory, the memory may have limitations on supported accesses. For internal RAM on highbank platform exclusive accesses are not supported and will hang the system. So atomic_cmpxchg cannot be used. This commit uses spinlock protection for buffe

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

2013-04-09 Thread Rob Herring
From: Rob Herring Atomic operations are undefined behavior on ARM for device or strongly ordered memory types. So use write-combine variants for mappings. This corresponds to normal, non-cacheable memory on ARM. For many other architectures, this change should not change the mapping type. Signed

[RFC PATCH 2/3] pstore ram: remove the power of buffer size limitation

2013-04-09 Thread Rob Herring
From: Rob Herring There doesn't appear to be any reason for the overall pstore RAM buffer to be a power of 2 size, so remove it. The individual console, ftrace and oops buffers are still a power of 2 size. Signed-off-by: Rob Herring Cc: Anton Vorontsov Cc: Colin Cross Cc: Kees Cook Cc: Tony

Re: [RFC 2/2] initramfs with digital signature protection

2013-04-09 Thread Mimi Zohar
On Tue, 2013-04-09 at 10:38 -0400, Vivek Goyal wrote: > On Mon, Apr 08, 2013 at 04:17:56PM -0400, Josh Boyer wrote: > > [..] > > >> > I was thinking about this point that keys can be loaded from signed > > >> > initramfs. But how is it better than embedding the keys in kernel the > > >> > way we d

Re: [PATCH 14/18] cpufreq: sh: move cpufreq driver to drivers/cpufreq

2013-04-09 Thread Viresh Kumar
On 10 April 2013 07:42, Simon Horman wrote: > Thanks, I understand. > > I have no objections to this, but Paul should probably review it. It is already Acked by him and applied by Rafael. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord

Re: [RFC PATCH 0/4] Support vranges on files

2013-04-09 Thread Minchan Kim
On Tue, Apr 09, 2013 at 03:36:20PM -0700, John Stultz wrote: > On 04/08/2013 10:07 PM, Minchan Kim wrote: > >On Mon, Apr 08, 2013 at 08:27:50PM -0700, John Stultz wrote: > >>marked volatile, it should remain volatile until someone who has the > >>file open marks it as non-volatile. The only time w

[PATCH 1/3] efi: Determine how much space is used by boot services-only variables

2013-04-09 Thread Matthew Garrett
EFI variables can be flagged as being accessible only within boot services. This makes it awkward for us to figure out how much space they use at runtime. In theory we could figure this out by simply comparing the results from QueryVariableInfo() to the space used by all of our variables, but that

[PATCH 3/3] efi: Distinguish between "remaining space" and actually used space

2013-04-09 Thread Matthew Garrett
EFI implementations distinguish between space that is actively used by a variable and space that merely hasn't been garbage collected yet. Space that hasn't yet been garbage collected isn't available for use and so isn't counted in the remaining_space field returned by QueryVariableInfo(). Combine

[PATCH 2/3] Revert "x86, efivars: firmware bug workarounds should be in platform code"

2013-04-09 Thread Matthew Garrett
This reverts commit a6e4d5a03e9e3587e88aba687d8f225f4f04c792. Doing this workaround properly requires us to work within the variable code. Signed-off-by: Matthew Garrett --- arch/x86/platform/efi/efi.c | 25 - drivers/firmware/efivars.c | 18 +++--- include/l

[PATCH] Sys V shared memory limited to 8TiB.

2013-04-09 Thread Robin Holt
Trying to run an application which was trying to put data into half of memory using shmget(), we found that having a shmall value below 8EiB-8TiB would prevent us from using anything more than 8TiB. By setting kernel.shmall greater that 8EiB-8TiB would make the job work. In the newseg() function,

Re: [PATCH 3.8.y] drm/i915: add quirk to invert brightness on eMachines e725

2013-04-09 Thread Ben Hutchings
On Tue, 2013-04-09 at 10:22 -0400, Josh Boyer wrote: > On Tue, Apr 09, 2013 at 05:12:18PM +0300, Jani Nikula wrote: > > On Tue, 09 Apr 2013, Josh Boyer wrote: > > > Upstream commit 01e3a8feb40e54b962a20fa7eb595c5efef5e109 > > > > This patch seems to be the above commit and > > > > commit 160

Re: [patch v3 6/8] sched: consider runnable load average in move_tasks

2013-04-09 Thread Alex Shi
On 04/09/2013 11:16 PM, Vincent Guittot wrote: >> > Thanks a lot for info sharing! Vincent. >> > >> > But I checked the rq->avg and task->se.avg, seems none of them are >> > possible be updated on different CPU at the same time. So my printk >> > didn't catch this with benchmark kbuild and aim7 on

Re: [PATCH 09/10] memory-hotplug: enable memory hotplug to handle hugepage

2013-04-09 Thread Naoya Horiguchi
On Tue, Apr 09, 2013 at 09:56:58PM -0400, KOSAKI Motohiro wrote: > On Tue, Apr 9, 2013 at 6:43 PM, Naoya Horiguchi ... > > MIGRATE_ISOLTE is changed only within the range [start_pfn, end_pfn) > > given as the argument of __offline_pages (see also > > start_isolate_page_range), > > so it's set only

Re: [PATCH] xen: minor fix in apic ipi interface func

2013-04-09 Thread Zhenzhong Duan
On 2013-04-10 03:20, Konrad Rzeszutek Wilk wrote: On Tue, Apr 09, 2013 at 06:51:09PM +0800, Zhenzhong Duan wrote: xen_send_IPI_mask_allbutself uses native vector as input other than xen_vector. Ouch. But it looks as the only user of the .send_IPI_mask_allbutself is just xen_send_IPI_allbutself

Re: Crypto Fixes for 3.9

2013-04-09 Thread Herbert Xu
Hi Linus: This push fixes a GCM bug that breaks IPsec and a compile problem in ux500. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Jussi Kivilinna (1): crypto: gcm - fix assum

Re: [PATCH v3 26/27] PCI: Make quirk_io_region to use addon_res

2013-04-09 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 2:35 PM, Bjorn Helgaas wrote: > This patch has two changes that need to be separated: > > 1) Refactoring quirk_io_region() so the pci_read_config_word() is > done by quirk_io_region() rather than the caller. > 2) Whatever pci_dev resource changes we end up making. > > I

hello! I am Kortneywolfenbargerivij...

2013-04-09 Thread Kortneywolfenbargerivij
Traversing the untrue by the blanket of placard, he attired the prime adam, and exhausting the harem tenure intersects the villages of Hampstead and Highgate, made along the remaining cornice of the skin to the fields at detriment cookout, in one of housekeeper he laid semblance immensely under

Re: [PATCH 14/18] cpufreq: sh: move cpufreq driver to drivers/cpufreq

2013-04-09 Thread Simon Horman
On Tue, Apr 09, 2013 at 07:42:51PM +0530, Viresh Kumar wrote: > On 9 April 2013 18:25, Simon Horman wrote: > > On Thu, Apr 04, 2013 at 06:24:22PM +0530, Viresh Kumar wrote: > >> This patch moves cpufreq driver of SUPERH architecture to drivers/cpufreq. > > > > Why? > > > > I am missing the cover e

Re: [PATCH] thermal: exynos: fix handling of invalid frequency table entries

2013-04-09 Thread Zhang Rui
Hi, Andrew, can you please verify commit fc35b35cbe24ef021ea9acfba21e54da958df747 commit 57df8106932b57427df1eaaa13871857f75b1194 at http://git.kernel.org/cgit/linux/kernel/git/rzhang/linux.git/log/?h=thermal fixes the problem for you? thanks, rui On Tue, 2013-04-09 at 14:59 -0700, Andrew

  1   2   3   4   5   6   7   8   9   >