[PATCH RESEND RESEND] net: remove obsolete simple_strto

2012-12-10 Thread Abhijit Pawar
This patch replace the obsolete simple_strto with kstrto Signed-off-by: Abhijit Pawar --- net/core/netpoll.c |6 -- net/ipv4/netfilter/ipt_CLUSTERIP.c |9 +++-- net/mac80211/debugfs_sta.c |4 +++- net/netfilter/nf_conntrack_core.c |6 -- 4 fil

Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics

2012-12-10 Thread Andi Kleen
> "There are not so many free pages in a typical server system", sorry I don't > quite understand it. Linux tries to keep most memory in caches. As Linus says "free memory is bad memory" > > buffered_rmqueue() > prep_new_page() > check_new_page() > bad_pa

Re: [PATCH 00/12] Refactoring the ab8500 battery management drivers

2012-12-10 Thread Anton Vorontsov
On Fri, Nov 30, 2012 at 11:57:22AM +, Lee Jones wrote: > The aim of this and subsequent patch-sets is to refactor battery > management services provided by the ab8500 MFD. This first patch-set > brings a few modifications to the collection which happened on the > internal kernel, but were never

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-10 Thread H. Peter Anvin
On 12/10/2012 06:39 PM, Yinghai Lu wrote: > > No, you should not copy that several times. > > just pre-allocate some kbytes in BRK, and copy to there one time. > He doesn't copy it several times. He just saves an offset into the initrd blob. -hpa -- To unsubscribe from this list: se

Re: [PATCH 1/4] regulator: s5m8767: Fix to work when platform registers less regulators

2012-12-10 Thread Mark Brown
On Mon, Dec 10, 2012 at 06:19:39PM +0530, Amit Daniel Kachhap wrote: > Signed-off-by: Amit Daniel Kachhap Applied, thanks. -- 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.or

resend--[PATCH] improve read ahead in kernel

2012-12-10 Thread xtu4
resend it, due to format error Subject: [PATCH] when system in low memory scenario, imaging there is a mp3 play, ora video play, we need to read mp3 or video file from memory to page cache,but when system lack of memory, page cache of mp3 or video file will be reclaimed.once read in memory, t

Re: [PATCH 2/4] regulator: s5m8767: Fix to read the first DVS register.

2012-12-10 Thread Mark Brown
On Mon, Dec 10, 2012 at 06:19:40PM +0530, Amit Daniel Kachhap wrote: > This patch modifies the DVS register read function to select correct DVS1 > register. This change is required because the GPIO select pin is 000 in > unintialized state and hence selects the DVS1 register. Applied, thanks. -- T

Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics

2012-12-10 Thread Simon Jeons
On Tue, 2012-12-11 at 04:19 +0100, Andi Kleen wrote: > On Mon, Dec 10, 2012 at 09:13:11PM -0600, Simon Jeons wrote: > > On Tue, 2012-12-11 at 04:01 +0100, Andi Kleen wrote: > > > > Oh, it will be putback to lru list during migration. So does your "some > > > > time" mean before call check_new_page?

[PATCH] lpfc: init: fix misspelling word in mailbox command waiting comments

2012-12-10 Thread Ren Mingxin
Correct misspelling of "outstanding" in mailbox command waiting comments. Signed-off-by: Ren Mingxin Signed-off-by: Pan Dayu --- drivers/scsi/lpfc/lpfc_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c

Re: [PATCH 3/4] regulator: s5m8767: Fix to work even if no DVS gpio present

2012-12-10 Thread Mark Brown
On Mon, Dec 10, 2012 at 06:19:41PM +0530, Amit Daniel Kachhap wrote: > Signed-off-by: Amit Daniel Kachhap Applied, thanks. -- 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.or

[PATCH] lpfc: init: fix misspelling word in mailbox command waiting comments

2012-12-10 Thread renmx
From: Ren Mingxin Correct misspelling of "outstanding" in mailbox command waiting comments. Signed-off-by: Ren Mingxin Signed-off-by: Pan Dayu --- drivers/scsi/lpfc/lpfc_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/sc

Re: [PATCH] lpfc: init: fix misspelling word in mailbox command waiting comments

2012-12-10 Thread Ren Mingxin
On 12/11/2012 11:53 AM, re...@cn.fujitsu.com wrote: From: Ren Mingxin Superfluous, sorry for disturbing everyone :-( Ren -- 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.o

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-10 Thread Yinghai Lu
On Mon, Dec 10, 2012 at 7:41 PM, H. Peter Anvin wrote: > On 12/10/2012 06:39 PM, Yinghai Lu wrote: >> >> No, you should not copy that several times. >> >> just pre-allocate some kbytes in BRK, and copy to there one time. >> > > He doesn't copy it several times. He just saves an offset into the >

Re: [PATCH v2 1/2] zsmalloc: add function to query object size

2012-12-10 Thread Minchan Kim
On Fri, Dec 07, 2012 at 04:45:53PM -0800, Nitin Gupta wrote: > On Sun, Dec 2, 2012 at 11:52 PM, Minchan Kim wrote: > > On Sun, Dec 02, 2012 at 11:20:42PM -0800, Nitin Gupta wrote: > >> > >> > >> On Nov 30, 2012, at 5:54 AM, Minchan Kim > >> wrote: > >> > >> > On Thu, Nov 29, 2012 at 10:54:48PM -

Linux 3.7

2012-12-10 Thread Linus Torvalds
Whee. After an extra rc release, 3.7 is now out. After a few more trials at fixing things, in the end we ended up reverting the kswapd changes that caused problems. And with the extra rc, I had decided to risk doing the buffer.c cleanups that would otherwise have just been marked for stable during

Re: [[PATCH v9 3/3] 1/1] virtio_console: Remove buffers from out_vq at port removal

2012-12-10 Thread Amit Shah
On (Tue) 11 Dec 2012 [09:39:41], Rusty Russell wrote: > Amit Shah writes: > > > On (Fri) 16 Nov 2012 [11:22:09], Rusty Russell wrote: > >> Amit Shah writes: > >> > From: Sjur Brændeland > >> > > >> > Remove buffers from the out-queue when a port is removed. Rproc_serial > >> > communicates with

[GIT PULL] MMC updates for 3.8-rc1

2012-12-10 Thread Chris Ball
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git tags/mmc-updates-for-3.8-rc1 to receive the MMC merge for 3.8. There are currently no conflicts, and these patches have been tested in linux-next. Thanks. The following changes since commit 91ab252ac5a5c

linux-next: manual merge of the gpio-lw tree with the driver-core tree

2012-12-10 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the gpio-lw tree got a conflict in drivers/gpio/gpio-stmpe.c between commit 3836309d9346 ("gpio: remove use of __devinit") from the driver-core tree and commit fc13d5a5b17c ("gpio: Provide the STMPE GPIO driver with its own IRQ Domain") from the gpio-lw tree.

Re: Linux 3.7

2012-12-10 Thread Stephen Rothwell
Hi all, On Mon, 10 Dec 2012 19:59:50 -0800 Linus Torvalds wrote: > > Anyway, it's been a somewhat drawn out release despite the 3.7 merge > window having otherwise appeared pretty straightforward, and none of > the rc's were all that big either. But we're done, and this means that > the merge wi

Re: [PATCH 01/18] sched: select_task_rq_fair clean up

2012-12-10 Thread Preeti U Murthy
Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: > It is impossible to miss a task allowed cpu in a eligible group. The one thing I am concerned with here is if there is a possibility of the task changing its tsk_cpus_allowed() while this code is running. i.e find_idlest_group() finds an idle gr

Re: [PATCH v4 1/7] DMA: PL330: use prefix in reg names to build under x86

2012-12-10 Thread Jassi Brar
On 10 December 2012 19:12, Davide Ciminaghi wrote: > From: Alessandro Rubini > > This driver would not compile if ARM_AMBA is selected under x86, > because "CS" and "DS" are already defined there. But AMBA > is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. > > T

Re: [RFC v2] Support volatile range for anon vma

2012-12-10 Thread Minchan Kim
On Fri, Dec 07, 2012 at 04:20:30PM -0800, John Stultz wrote: > On 12/04/2012 11:01 PM, Minchan Kim wrote: > >Hi John, > > > >On Tue, Dec 04, 2012 at 11:13:40AM -0800, John Stultz wrote: > >> > >>I don't think the problem is when vmas being marked VM_VOLATILE are > >>being merged, its that when we m

Re: [patch v2 4/6] memcg: simplify mem_cgroup_iter

2012-12-10 Thread Ying Han
On Mon, Nov 26, 2012 at 10:47 AM, Michal Hocko wrote: > Current implementation of mem_cgroup_iter has to consider both css and > memcg to find out whether no group has been found (css==NULL - aka the > loop is completed) and that no memcg is associated with the found node > (!memcg - aka css_tryge

Re: [RFC v2] Support volatile range for anon vma

2012-12-10 Thread Minchan Kim
On Fri, Dec 07, 2012 at 04:49:56PM -0800, John Stultz wrote: > On 12/04/2012 08:18 PM, Minchan Kim wrote: > >On Tue, Dec 04, 2012 at 11:13:40AM -0800, John Stultz wrote: > >>I don't think the problem is when vmas being marked VM_VOLATILE are > >>being merged, its that when we mark the vma as *non-v

Re: [PATCH RESEND] net: remove obsolete simple_strto

2012-12-10 Thread David Miller
From: Abhijit Pawar Date: Tue, 11 Dec 2012 06:36:59 +0530 > It looks like there are two occurences of simple_strtoul which has not been > removed cleanly from the patch. > They are in netpoll.c and debugfs_sta.c > I will send the modified corrected clean patch shortly. You can't simply send me a

Re: [PATCH RESEND] net: remove obsolete simple_strto

2012-12-10 Thread David Miller
From: Abhijit Pawar Date: Tue, 11 Dec 2012 09:03:41 +0530 > On 12/11/2012 12:40 AM, David Miller wrote: >> From: Abhijit Pawar >> Date: Mon, 10 Dec 2012 14:42:28 +0530 >> >>> This patch replace the obsolete simple_strto with kstrto >>> >>> Signed-off-by: Abhijit Pawar >> >> Applied. >> > Hi

Re: [PATCH RESEND RESEND] net: remove obsolete simple_strto

2012-12-10 Thread David Miller
From: Abhijit Pawar Date: Tue, 11 Dec 2012 09:04:20 +0530 > This patch replace the obsolete simple_strto with kstrto > > Signed-off-by: Abhijit Pawar You can't submit replacement patches for ones which I have already applied. Patches I apply are permanently applied, and therefore you must sub

RE: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-10 Thread Sethi Varun-B16395
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, December 11, 2012 6:31 AM > To: Sethi Varun-B16395 > Cc: Wood Scott-B07421; Joerg Roedel; linux-kernel@vger.kernel.org; > io...@lists.linux-foundation.org; linuxppc-...@lists.ozlabs.org; Tabi > Timur-B04825 > Subject: Re: [PA

[PATCH v3 3/5][RESEND] page_alloc: Introduce zone_movable_limit[] to keep movable limit for nodes

2012-12-10 Thread Tang Chen
This patch introduces a new array zone_movable_limit[] to store the ZONE_MOVABLE limit from movablecore_map boot option for all nodes. The function sanitize_zone_movable_limit() will find out to which node the ranges in movable_map.map[] belongs, and calculates the low boundary of ZONE_MOVABLE for

[PATCH v3 4/5][RESEND] page_alloc: Make movablecore_map has higher priority

2012-12-10 Thread Tang Chen
If kernelcore or movablecore is specified at the same time with movablecore_map, movablecore_map will have higher priority to be satisfied. This patch will make find_zone_movable_pfns_for_nodes() calculate zone_movable_pfn[] with the limit from zone_movable_limit[]. change log: Move find_usable_zo

Re: [PATCH 02/18] sched: fix find_idlest_group mess logical

2012-12-10 Thread Preeti U Murthy
Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: > There is 4 situations in the function: > 1, no task allowed group; > so min_load = ULONG_MAX, this_load = 0, idlest = NULL > 2, only local group task allowed; > so min_load = ULONG_MAX, this_load assigned, idlest = NULL > 3, only non-l

[PATCH] smpboot: calling smpboot_register_percpu_thread is unsafe during one CPU being down

2012-12-10 Thread Chuansheng Liu
When one CPU is going down, and smpboot_register_percpu_thread is called, there is the race issue below: T1(CPUA): T2(CPUB): _cpu_down()smpboot_register_percpu_thread() smpboot_park_threads() ... __s

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

2012-12-10 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in include/linux/gfp.h between commit caf491916b1c ("Revert "revert "Revert "mm: remove __GFP_NO_KSWAPD""" and associated damage") from Linus' tree and commit "mm: add a __GFP_KMEMCG flag" from the akpm tree. I fixed it up (see b

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

2012-12-10 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in include/linux/gfp.h between commit caf491916b1c ("Revert "revert "Revert "mm: remove __GFP_NO_KSWAPD""" and associated damage") from Linus' tree and commit "mm: add a reminder comment for __GFP_BITS_SHIFT" from the akpm tree.

Re: [PATCH 01/18] sched: select_task_rq_fair clean up

2012-12-10 Thread Alex Shi
On 12/11/2012 12:23 PM, Preeti U Murthy wrote: > Hi Alex, > > On 12/10/2012 01:52 PM, Alex Shi wrote: >> It is impossible to miss a task allowed cpu in a eligible group. > > The one thing I am concerned with here is if there is a possibility of > the task changing its tsk_cpus_allowed() while thi

Re: [PATCH 02/18] sched: fix find_idlest_group mess logical

2012-12-10 Thread Alex Shi
On 12/11/2012 01:08 PM, Preeti U Murthy wrote: > Hi Alex, > > On 12/10/2012 01:52 PM, Alex Shi wrote: >> There is 4 situations in the function: >> 1, no task allowed group; >> so min_load = ULONG_MAX, this_load = 0, idlest = NULL >> 2, only local group task allowed; >> so min_load = ULON

Re: [PATCH RESEND RESEND] net: remove obsolete simple_strto

2012-12-10 Thread Abhijit Pawar
On 12/11/2012 10:19 AM, David Miller wrote: > From: Abhijit Pawar > Date: Tue, 11 Dec 2012 09:04:20 +0530 > >> This patch replace the obsolete simple_strto with kstrto >> >> Signed-off-by: Abhijit Pawar > > You can't submit replacement patches for ones which I have already > applied. > > Patch

[PATCH 2/2] net: remove obsolete simple_strto

2012-12-10 Thread Abhijit Pawar
This patch removes the redundant occurences of simple_strto Signed-off-by: Abhijit Pawar --- net/core/netpoll.c|1 - net/mac80211/debugfs_sta.c|1 - net/netfilter/nf_conntrack_core.c |1 - 3 files changed, 0 insertions(+), 3 deletions(-) diff --git a/net/core

Re: [PATCH v2 1/4] kprobes/powerpc: Do not disable External interrupts during single step

2012-12-10 Thread Suzuki K. Poulose
On 12/03/2012 08:37 PM, Suzuki K. Poulose wrote: From: Suzuki K. Poulose External/Decrement exceptions have lower priority than the Debug Exception. So, we don't have to disable the External interrupts before a single step. However, on BookE, Critical Input Exception(CE) has higher priority tha

Re: [PATCH 02/18] sched: fix find_idlest_group mess logical

2012-12-10 Thread Preeti U Murthy
Hi Alex, On 12/11/2012 10:59 AM, Alex Shi wrote: > On 12/11/2012 01:08 PM, Preeti U Murthy wrote: >> Hi Alex, >> >> On 12/10/2012 01:52 PM, Alex Shi wrote: >>> There is 4 situations in the function: >>> 1, no task allowed group; >>> so min_load = ULONG_MAX, this_load = 0, idlest = NULL >>> 2, o

Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics

2012-12-10 Thread Xishi Qiu
On 2012/12/11 11:48, Simon Jeons wrote: > On Tue, 2012-12-11 at 04:19 +0100, Andi Kleen wrote: >> On Mon, Dec 10, 2012 at 09:13:11PM -0600, Simon Jeons wrote: >>> On Tue, 2012-12-11 at 04:01 +0100, Andi Kleen wrote: > Oh, it will be putback to lru list during migration. So does your "some

[GIT PULL] please pull infiniband.git

2012-12-10 Thread Roland Dreier
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/rdma-for-linus First batch of InfiniBand/RDMA changes for the 3.8 merge window: - A good chunk of Bart Van Assche's SRP fixe

[GIT PULL] hwmon updates for 3.8-rc1

2012-12-10 Thread Guenter Roeck
Hi Linus, Please pull hwmon updates for Linux 3.8-rc1 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus Thanks, Guenter -- The following changes since commit 9489e9dcae718d5fde988e4a684a0f55b5f94d17: Linux 3.7-rc7 (2012-11-25 17:

RE: [Xen-devel] [PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg hook

2012-12-10 Thread Xu, Dongxiao
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Thursday, December 06, 2012 9:38 PM > To: Xu, Dongxiao > Cc: xen-de...@lists.xen.org; konrad.w...@oracle.com; > linux-kernel@vger.kernel.org > Subject: Re: [Xen-devel] [PATCH] xen/swiotlb: Exchange to contiguous mem

Re: [PATCH] smpboot: calling smpboot_register_percpu_thread is unsafe during one CPU being down

2012-12-10 Thread Srivatsa S. Bhat
On 12/11/2012 07:47 PM, Chuansheng Liu wrote: > > When one CPU is going down, and smpboot_register_percpu_thread is called, > there is the race issue below: > T1(CPUA): T2(CPUB): > _cpu_down() > smpboot_register_percpu_thread

Re: [PATCH 01/18] sched: select_task_rq_fair clean up

2012-12-10 Thread Preeti U Murthy
On 12/11/2012 10:58 AM, Alex Shi wrote: > On 12/11/2012 12:23 PM, Preeti U Murthy wrote: >> Hi Alex, >> >> On 12/10/2012 01:52 PM, Alex Shi wrote: >>> It is impossible to miss a task allowed cpu in a eligible group. >> >> The one thing I am concerned with here is if there is a possibility of >> the

Re: [PATCH v2] staging: rtl8712: avoid a useless call to memset().

2012-12-10 Thread Dan Carpenter
On Tue, Dec 11, 2012 at 01:20:48AM +0100, Cyril Roelandt wrote: > In r8711_wx_get_wap(), make sure we do not call memcpy() on a memory area that > has just been zeroed by a call to memset(). > Acked-by: Dan Carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-10 Thread H. Peter Anvin
On 12/10/2012 07:55 PM, Yinghai Lu wrote: And my suggestion is: after scan and find the ucode, save it to BRK, so don't need to adjust pointer again, and don't need to copy the blob and update the pointer again. That doesn't work if the microcode is replaced at runtime. However, vmalloc doe

RE: [PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg hook

2012-12-10 Thread Xu, Dongxiao
> -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Friday, December 07, 2012 10:09 PM > To: Xu, Dongxiao > Cc: xen-de...@lists.xen.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg > hook >

Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics

2012-12-10 Thread Xishi Qiu
>>> Hi Simon, >>> >>> If we use "/sys/devices/system/memory/soft_offline_page" to offline a >>> free page, the value of mce_bad_pages will be added. Then the page is marked >>> HWPoison, but it is still managed by page buddy alocator. >>> >>> So if we offline it again, the value of mce_bad_pages w

[GIT PULL] pinctrl changes for v3.8

2012-12-10 Thread Linus Walleij
Hi Linus, these are the first and major pinctrl changes for the v3.8 merge cycle. Some of this is used as merge base for other trees so I better be early on the trigger. The major changes are described in the signed tag. All has been in linux-next for a while. This is the first time I've had to

performance drop after using blkcg

2012-12-10 Thread Zhao Shuai
Hi, I plan to use blkcg(proportional BW) in my system. But I encounter great performance drop after enabling blkcg. The testing tool is fio(version 2.0.7) and both the BW and IOPS fields are recorded. Two instances of fio program are carried out simultaneously, each opearting on a separate disk f

Re: [PATCH v3 3/4] pwm: core: Export of_pwm_request() so client drivers can also use it

2012-12-10 Thread Thierry Reding
On Mon, Dec 10, 2012 at 11:00:36AM +0100, Peter Ujfalusi wrote: > Allow client driver to use of_pwm_request() to get the pwm they need. This > is needed for drivers which handle more than one pwm separately, like > leds-pwm driver which have: Hi Peter, I really was hoping that we didn't have to e

Re: [PATCH v3 1/4] leds: leds-pwm: Convert to use devm_get_pwm

2012-12-10 Thread Thierry Reding
On Mon, Dec 10, 2012 at 11:00:34AM +0100, Peter Ujfalusi wrote: > Update the driver to use the new API for requesting pwm so we can take > advantage of the pwm_lookup table to find the correct pwm to be used for the > LED functionality. > If the devm_get_pwm fails we fall back to legacy mode to try

[GIT PULL] clk: changes for 3.8

2012-12-10 Thread Mike Turquette
The following changes since commit 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64: Linux 3.7-rc3 (2012-10-28 12:24:48 -0700) are available in the git repository at: git://git.linaro.org/people/mturquette/linux.git tags/clk-for-linus for you to fetch changes up to 8f87189653d60656e262060665f52c855

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-10 Thread Yinghai Lu
On Mon, Dec 10, 2012 at 10:34 PM, H. Peter Anvin wrote: > > That doesn't work if the microcode is replaced at runtime. However, vmalloc > doesn't work either since 32 bits needs any one blob to be physically > contiguous. I have suggested Fenghua replace it with a linked list of > kmalloc areas,

Re: [RFC][PATCH RT 3/4] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2012-12-10 Thread Mike Galbraith
On Mon, 2012-12-10 at 20:53 -0500, Steven Rostedt wrote: > On Mon, 2012-12-10 at 17:15 -0800, Frank Rowand wrote: > > > I should have also mentioned some previous experience using IPIs to > > avoid runq lock contention on wake up. Someone encountered IPI > > storms when using the TTWU_QUEUE feat

Re: [PATCH v3 2/4] leds: leds-pwm: Preparing the driver for device tree support

2012-12-10 Thread Thierry Reding
On Mon, Dec 10, 2012 at 11:00:35AM +0100, Peter Ujfalusi wrote: > In order to be able to add device tree support for leds-pwm driver we need > to rearrange the data structures used by the drivers. > > Signed-off-by: Peter Ujfalusi > --- > drivers/leds/leds-pwm.c | 39 +++-

Re: [PATCH 1/2] regulator: lp3971: Convert to get_voltage_sel

2012-12-10 Thread Marek Szyprowski
Hello, On 12/10/2012 12:46 PM, Axel Lin wrote: regulator_list_voltage_table() returns -EINVAL if selector >= n_voltages. Thus we don't need to check if reg is greater than BUCK_TARGET_VOL_MAX_IDX in lp3971_dcdc_get_voltage_sel. BUCK_TARGET_VOL_MIN_IDX and BUCK_TARGET_VOL_MAX_IDX are not used, r

Re: [RFC v3] Support volatile range for anon vma

2012-12-10 Thread Mike Hommey
On Tue, Dec 11, 2012 at 11:41:04AM +0900, Minchan Kim wrote: > - What's the madvise(addr, length, MADV_VOLATILE)? > > It's a hint that user deliver to kernel so kernel can *discard* > pages in a range anytime. > > - What happens if user access page(ie, virtual address) discarded > by kernel

Re: [PATCH] kvm/vmx: fix the return value of handle_vmcall()

2012-12-10 Thread Gleb Natapov
On Mon, Dec 10, 2012 at 03:28:13PM -0600, Jesse Larrew wrote: > > The return value of kvm_emulate_hypercall() is intended to inform callers > whether or not we need to exit to userspace. However, handle_vmcall() > currently ignores the return value. > No, it it not. KVM does not handle vmcalls in

feel Re: [PATCH v2 1/2] zsmalloc: add function to query object size

2012-12-10 Thread Nitin Gupta
On 12/10/2012 07:59 PM, Minchan Kim wrote: > On Fri, Dec 07, 2012 at 04:45:53PM -0800, Nitin Gupta wrote: >> On Sun, Dec 2, 2012 at 11:52 PM, Minchan Kim wrote: >>> On Sun, Dec 02, 2012 at 11:20:42PM -0800, Nitin Gupta wrote: On Nov 30, 2012, at 5:54 AM, Minchan Kim wrote: >>

Re: [PATCH 1/1] media: saa7146: don't use mutex_lock_interruptible() in device_release().

2012-12-10 Thread Hans Verkuil
On Tue December 11 2012 04:05:28 Cyril Roelandt wrote: > Use uninterruptible mutex_lock in the release() file op to make sure all > resources are properly freed when a process is being terminated. Returning > -ERESTARTSYS has no effect for a terminating process and this may cause driver > resources

Re: [PATCH v3 4/4] leds: leds-pwm: Add device tree bindings

2012-12-10 Thread Thierry Reding
On Mon, Dec 10, 2012 at 11:00:37AM +0100, Peter Ujfalusi wrote: [...] > +LED sub-node properties: > +- pwms : PWM property, please refer to: > + Documentation/devicetree/bindings/pwm/pwm.txt Instead of only referring to the generic PWM binding document, this should probably explain what the PWM

Re: [RFC v3] Support volatile range for anon vma

2012-12-10 Thread Minchan Kim
On Tue, Dec 11, 2012 at 08:17:42AM +0100, Mike Hommey wrote: > On Tue, Dec 11, 2012 at 11:41:04AM +0900, Minchan Kim wrote: > > - What's the madvise(addr, length, MADV_VOLATILE)? > > > > It's a hint that user deliver to kernel so kernel can *discard* > > pages in a range anytime. > > > > - Wh

[GIT PULL] core/locking change for v3.8

2012-12-10 Thread Ingo Molnar
Linus, Please pull the latest core-locking-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-locking-for-linus HEAD: 99fb4a122e96203dfd6c67d99d908aafd20f4753 lockdep: Use KSYM_NAME_LEN'ed buffer for __get_key_name() Just a oneliner cleanup. Thanks

Re: feel Re: [PATCH v2 1/2] zsmalloc: add function to query object size

2012-12-10 Thread Minchan Kim
On Mon, Dec 10, 2012 at 11:19:49PM -0800, Nitin Gupta wrote: > On 12/10/2012 07:59 PM, Minchan Kim wrote: > > On Fri, Dec 07, 2012 at 04:45:53PM -0800, Nitin Gupta wrote: > >> On Sun, Dec 2, 2012 at 11:52 PM, Minchan Kim wrote: > >>> On Sun, Dec 02, 2012 at 11:20:42PM -0800, Nitin Gupta wrote: > >

[PATCH] mfd: wm5102: Mark only extant DSP registers volatile

2012-12-10 Thread Mark Brown
Since regmap sometimes uses volatile as a proxy for readable simply having a blanket condition can mark too many registers as readable. Signed-off-by: Mark Brown --- drivers/mfd/wm5102-tables.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/wm5102-t

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

2012-12-10 Thread Glauber Costa
On 12/11/2012 09:22 AM, Stephen Rothwell wrote: > Hi Andrew, > > Today's linux-next merge of the akpm tree got a conflict in > include/linux/gfp.h between commit caf491916b1c ("Revert "revert "Revert > "mm: remove __GFP_NO_KSWAPD""" and associated damage") from Linus' tree > and commit "mm: add a

[GIT PULL] f2fs: request for tree inclusion

2012-12-10 Thread Jaegeuk Kim
Hi Linus, This is the first pull request for tree inclusion of Flash-Friendly File System (F2FS) towards the 3.8 merge window. http://lwn.net/Articles/518718/ http://lwn.net/Articles/518988/ http://en.wikipedia.org/wiki/F2FS The f2fs has been in the linux-next tree for a while, and several issue

<    2   3   4   5   6   7