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

2013-01-08 Thread Namhyung Kim
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 always either prev_cpu >> or this_cpu. So no need to check it again and the conditionals can be >> consolidated.

Re: [PATCH v5] pwm: atmel: add Timer Counter Block PWM driver

2013-01-08 Thread Thierry Reding
On Tue, Jan 08, 2013 at 04:36:42PM +0100, Boris BREZILLON wrote: > Hi, > > This patch adds a PWM driver based on Atmel Timer Counter Block. > Timer Counter Block is used in Waveform generator mode. > > A Timer Counter Block provides up to 6 PWM devices grouped by 2: > * group 0 = PWM 0 and 1 > *

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2013-01-08 Thread Michael Olbrich
On Tue, Jan 08, 2013 at 07:31:30AM -0700, Jonathan Corbet wrote: > On Tue, 08 Jan 2013 07:50:41 +0100 > Marek Szyprowski wrote: > > > > Couldn't this performance difference be due to the usage of GFP_DMA inside > > > the VB2 code, like Federico's new patch series is proposing? > > > > > > If

Re: [PATCHv2 2/2] pwm: vt8500: Add polarity support

2013-01-08 Thread Thierry Reding
On Thu, Jan 03, 2013 at 08:44:16AM +1300, Tony Prisk wrote: > Add support to set polarity on PWM devices, allowing for inverted > duty cycles. > > Also update the binding document to #pwm-cells = <3> to allow > passing the flags from devicetree. > > Signed-off-by: Tony Prisk > --- > v2: >

Re: [PATCHv2 1/2] pwm: vt8500: Register write busy test performed incorrectly

2013-01-08 Thread Thierry Reding
On Thu, Jan 03, 2013 at 08:44:15AM +1300, Tony Prisk wrote: > Correct operation for register writes is to perform a busy-wait > after writing the register. Currently the busy wait it performed > before, meaning subsequent register writes to bitfields may occur > before the previous field has been

[PATCH V2 2/2] Xen ACPI memory hotplug

2013-01-08 Thread Liu, Jinsong
This patch implements real Xen acpi memory hotplug driver as module. When loaded, it replaces Xen stub driver. When an acpi memory device hotadd event occurs, it notifies OS and invokes notification callback, adding related memory device and parsing memory information, finally hypercall to xen

[PATCH V2 1/2] Xen stub driver for memory hotplug

2013-01-08 Thread Liu, Jinsong
This patch create a file (xen-stub.c) for Xen stub drivers. Xen stub drivers are used to reserve space for Xen drivers, i.e. memory hotplug and cpu hotplug, and to block native drivers loaded, so that real Xen drivers can be modular and loaded on demand. This patch is specific for Xen memory

Re: 3.8-rc2: pciehp waitqueue hang...

2013-01-08 Thread Yijing Wang
Hi Bjorn, I will send the shpchp patch soon. Thanks! Yijing >>> Yijing, please check for the same problem in other hotplug drivers. >>> Questions I have after a quick look: >>> >> >> Hi Bjorn, >>Sorry for delay reply. There are some busy work these days. >> >>> - shpchp_wq looks like it

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

2013-01-08 Thread Ariel Elior
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of Dan Carpenter > Sent: Tuesday, January 08, 2013 3:42 PM > To: Eilon Greenstein > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; kernel- > janit...@vger.kernel.org >

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

2013-01-08 Thread Alex Shi
> > Uh, we don't know if the target is this_cpu or previous cpu, If we just > check the target idle status, we may miss another idle cpu. So this > patch change the logical in this function. But, you can fold wake_affine into select_idle_sibling(). that will save a complicate calculation

RE: [PATCH 1/2] Add mempressure cgroup

2013-01-08 Thread leonid.moiseichuk
-Original Message- From: ext Anton Vorontsov [mailto:anton.voront...@linaro.org] Sent: 08 January, 2013 08:30 ... > > +static const uint vmpressure_level_med = 60; > > +static const uint vmpressure_level_oom = 99; > > +static const uint vmpressure_level_oom_prio = 4; > > + .. Seems

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

2013-01-08 Thread Alex Shi
On 01/09/2013 02:50 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 > consolidated. > > Cc: Mike Galbraith > Cc: Preeti U Murthy > Cc: Vincent

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

2013-01-08 Thread Lijo Antony
On 01/09/2013 09:31 AM, Dave Airlie wrote: On Wed, Jan 9, 2013 at 2:25 PM, Greg KH wrote: On Wed, Jan 09, 2013 at 01:42:39PM +1000, Dave Airlie wrote: Hi all, I've hit this 3 times today on Linus's latest 3.8-rc2+ tree: [11868.414648] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer

Re: [PATCH] fs/autofs: Fix sparse warning: context imbalance in 'autofs4_d_automount' - different lock contexts for basic block

2013-01-08 Thread Ian Kent
Hi all, I see this hasn't been merged yet. Do I need to re-post this (perhaps to Linus)? On Thu, 2013-01-03 at 15:52 +0100, Peter Huewe wrote: > Sparse complains: > + fs/autofs4/root.c:409:9: sparse: context imbalance in > 'autofs4_d_automount' - different lock contexts for basic block > > This

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

2013-01-08 Thread Kamezawa Hiroyuki
(2013/01/09 14:15), Hugh Dickins wrote: On Mon, 7 Jan 2013, Kamezawa Hiroyuki wrote: (2013/01/07 5:02), Hugh Dickins wrote: Forgive me, I must confess I'm no more than skimming this thread, and don't like dumping unsigned-off patches on people; but thought that on balance it might be more

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

2013-01-08 Thread Minchan Kim
Hi Hannes, On Wed, Jan 09, 2013 at 01:56:12AM -0500, Johannes Weiner wrote: > On Wed, Jan 09, 2013 at 03:21:13PM +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

Re: [PATCH v2 2/4] input: keyboard: tegra: use devm_* for resource allocation

2013-01-08 Thread Thierry Reding
On Sun, Jan 06, 2013 at 11:57:48AM -0800, Dmitry Torokhov wrote: > On Sun, Jan 06, 2013 at 08:27:39PM +0100, Thierry Reding wrote: > > On Sat, Jan 05, 2013 at 12:06:58AM -0800, Dmitry Torokhov wrote: > > > On Sat, Jan 05, 2013 at 01:15:08PM +0530, Laxman Dewangan wrote: > > [...] > > > > @@

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

2013-01-08 Thread Johannes Weiner
On Wed, Jan 09, 2013 at 03:21:13PM +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 hogs are running and laptop_mode is enabled. > > Luigi reported there was no

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

2013-01-08 Thread Namhyung Kim
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 consolidated. Cc: Mike Galbraith Cc: Preeti U Murthy Cc: Vincent Guittot Cc: Alex Shi Signed-off-by: Namhyung Kim ---

Re: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-08 Thread Marcel Holtmann
Hi Lubomir, > > > > linux-firmware ships the sd8688* firmware images that are shared with > > > > libertas_sdio WiFi driver under libertas/. libertas_sdio looks in both > > > > places > > > > and so should we. > > > > > > > > Signed-off-by: Lubomir Rintel > > > > --- > > > >

Re: [PATCH] clk: remove unreachable code

2013-01-08 Thread Tushar Behera
On 01/09/2013 11:59 AM, Rajagopal Venkat wrote: > while reparenting a clock, NULL check is done for clock in > consideration and its new parent. So re-check is not required. > If done, else part becomes unreachable. > > Signed-off-by: Rajagopal Venkat > --- It is good to have revision history

[PATCH] clk: remove unreachable code

2013-01-08 Thread Rajagopal Venkat
while reparenting a clock, NULL check is done for clock in consideration and its new parent. So re-check is not required. If done, else part becomes unreachable. Signed-off-by: Rajagopal Venkat --- drivers/clk/clk.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff

RE: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-08 Thread Lubomir Rintel
On Tue, 2013-01-08 at 18:43 -0800, Bing Zhao wrote: > > > linux-firmware ships the sd8688* firmware images that are shared with > > > libertas_sdio WiFi driver under libertas/. libertas_sdio looks in both > > > places > > > and so should we. > > > > > > Signed-off-by: Lubomir Rintel > > > --- >

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

2013-01-08 Thread Olof Johansson
On Tue, Jan 8, 2013 at 10:13 PM, Tony Prisk wrote: > On Fri, 2012-12-28 at 12:20 +1300, Tony Prisk wrote: >> This patch adds support for the WM8750 (ARMv6) and WM8850 (ARMv7). >> >> Common features across all SoCs are split into ARCH_VT8500 and >> unique features are specified by each SoC option.

Re: [PATCH 1/3] rtc-efi: register rtc-efi device when EFI enabled

2013-01-08 Thread H. Peter Anvin
That makes it even less compelling... joeyli wrote: >於 五,2012-12-28 於 17:07 -0800,H. Peter Anvin 提到: >> On 12/28/2012 05:00 PM, joeyli wrote: >> > 於 五,2012-12-28 於 17:43 +,Matthew Garrett 提到: >> >> On Sat, 2012-12-29 at 00:26 +0800, Lee, Chun-Yi wrote: >> >>> UEFI time services, GetTime(),

[PATCH 2/2] QEMU-AER: Qemu changes to support AER for VFIO-PCI devices

2013-01-08 Thread Pandarathil, Vijaymohan R
- Create eventfd per vfio device assigned to a guest and register an event handler - This fd is passed to the vfio_pci driver through a new ioctl - When the device encounters an error, the eventfd is signaled and the qemu eventfd handler gets invoked.

[PATCH 0/2] AER-KVM: Error containment of VFIO devices assigned to KVM guests

2013-01-08 Thread Pandarathil, Vijaymohan R
Add support for error containment when a VFIO device assigned to a KVM guest encounters an error. This is for PCIe devices/drivers that support AER functionality. When the host OS is notified of an error in a device either through the firmware first approach or through an interrupt handled by the

[PATCH 1/2] VFIO-AER: Vfio-pci driver changes for supporting AER

2013-01-08 Thread Pandarathil, Vijaymohan R
- New ioctl which is used to pass the eventfd that is signaled when an error occurs in the vfio_pci_device - Register pci_error_handler for the vfio_pci driver - When the device encounters an error, the error handler registered by the vfio_pci driver

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

2013-01-08 Thread Namjae Jeon
2012/12/13, Namjae Jeon : > 2012/10/19, Namjae Jeon : >> 2012/10/19, Jan Kara : >>> Hello, >>> >>> On Wed 10-10-12 00:10:01, Namjae Jeon wrote: From: Namjae Jeon This patch implements extent caching. Instead of reading metadata everytime from file's starting position,

Re: [PATCH 1/3] rtc-efi: register rtc-efi device when EFI enabled

2013-01-08 Thread joeyli
於 五,2012-12-28 於 17:07 -0800,H. Peter Anvin 提到: > On 12/28/2012 05:00 PM, joeyli wrote: > > 於 五,2012-12-28 於 17:43 +,Matthew Garrett 提到: > >> On Sat, 2012-12-29 at 00:26 +0800, Lee, Chun-Yi wrote: > >>> UEFI time services, GetTime(), SetTime(), GetWakeupTime(), > >>> SetWakeupTime() are also

Re: [PATCH v5 7/8] fat (exportfs): rebuild directory-inode if fat_dget() fails

2013-01-08 Thread Namjae Jeon
> > BTW, fat_search_long() was wrong as similar function. Actually it would > be fat_scan(), because we don't care longname entry. Hi OGAWA. We rewrite patch as your suggestion using dummy inode. Would please you review below patch code ? Thanks.

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

2013-01-08 Thread Minchan Kim
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 hogs are running and laptop_mode is enabled. Luigi reported there was no problem when he disabled laptop_mode. The problem when I investigate

[PATCH 0/2] Use up free swap space before reaching OOM kill

2013-01-08 Thread Minchan Kim
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 hogs are running and laptop_mode = 2. http://marc.info/?l=linux-mm=135421750914807=2 This patchset fixes the problem. In fact, if we apply one of

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

2013-01-08 Thread Minchan Kim
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 unnecessary OOM kill although we sacrifices power. One of example is that we are out of page cache. Remained one is only anonymous pages, for

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

2013-01-08 Thread Tony Prisk
On Fri, 2012-12-28 at 12:20 +1300, Tony Prisk wrote: > This patch adds support for the WM8750 (ARMv6) and WM8850 (ARMv7). > > Common features across all SoCs are split into ARCH_VT8500 and > unique features are specified by each SoC option. > > Signed-off-by: Tony Prisk Hi Arnd, Olof,

Re: [PATCH] clk: remove unreachable code

2013-01-08 Thread Rajagopal Venkat
On 9 January 2013 11:20, Tushar Behera wrote: > On 01/08/2013 06:33 PM, Rajagopal Venkat wrote: >> while reparenting a clock, NULL check is done for clock in >> consideration and its new parent. So re-check is not required. >> If done, else part becomes unreachable. >> >> Signed-off-by: Rajagopal

Re: [PATCH] clk: remove unreachable code

2013-01-08 Thread Tushar Behera
On 01/08/2013 06:33 PM, Rajagopal Venkat wrote: > while reparenting a clock, NULL check is done for clock in > consideration and its new parent. So re-check is not required. > If done, else part becomes unreachable. > > Signed-off-by: Rajagopal Venkat > --- > drivers/clk/clk.c |5 + > 1

[PATCH 2/2] mirror throttling

2013-01-08 Thread Mikulas Patocka
dm-kcopyd: use throttle This patch allows the administrator to limit kcopyd rate. We maintain a history of kcopyd usage in variables io_period and total_period. The actual kcopyd activity is "(100 * io_period / total_period)" percent of time. If we exceed user-defined percentage threshold, we

[PATCH 1/2] mirror throttling

2013-01-08 Thread Mikulas Patocka
dm-kcopyd: introduce per-module throttle structure The structure contains the throttle parameter (it could be set in /sys/module/*/parameters and auxulary variables for activity counting. The throttle does nothing, it will be activated in the next patch. Signed-off-by: Mikulas Patocka ---

Re: [dm-devel] [PATCH 0/3 v3] add resync speed control for dm-raid1

2013-01-08 Thread Mikulas Patocka
Hi I did this already some times ago. I'm sending my patches in the next mail. Basically, my and Guangliang's patches have the following differences: my patch: uses per-module throttle settings Guangliang's patch: uses per-device settings (my patch could be changed to use per-device throttle

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

2013-01-08 Thread Dave Airlie
On Wed, Jan 9, 2013 at 2:25 PM, Greg KH wrote: > On Wed, Jan 09, 2013 at 01:42:39PM +1000, Dave Airlie wrote: >> >> Hi all, >> >> >> >> I've hit this 3 times today on Linus's latest 3.8-rc2+ tree: >> >> >> >> [11868.414648] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer >> >> elapsed... GPU

Re: [PATCH] clk: mxs: Index is always positive

2013-01-08 Thread Shawn Guo
On Mon, Jan 07, 2013 at 11:38:55PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Fix the following warnings when building with W=1 option: > > drivers/clk/mxs/clk-imx23.c: In function 'mx23_clocks_init': > drivers/clk/mxs/clk-imx23.c:149:16: warning: comparison between signed and >

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

2013-01-08 Thread Hugh Dickins
On Mon, 7 Jan 2013, Kamezawa Hiroyuki wrote: > (2013/01/07 5:02), Hugh Dickins wrote: > > > > Forgive me, I must confess I'm no more than skimming this thread, > > and don't like dumping unsigned-off patches on people; but thought > > that on balance it might be more helpful than not if I offer

Re: [PATCH v7 0/5] Reset PCIe devices to address DMA problem on kdump with iommu

2013-01-08 Thread Takao Indoh
Hi Thomas, (2013/01/09 11:32), Thomas Renninger wrote: On Tuesday, January 08, 2013 09:27:55 AM Yinghai Lu wrote: On Tue, Jan 8, 2013 at 8:50 AM, Thomas Renninger wrote: megaraid_sas can you check if your initrd for kdump kernel has that driver and module that it depends on like scsi sas

Re: [linux-pm] [PATCH] cpufreq: exynos: Show list of available frequencies

2013-01-08 Thread amit kachhap
On Tue, Jan 8, 2013 at 2:50 AM, Inderpal Singh wrote: > Add freq_attr attribute to show list of available frequencies. > > Signed-off-by: Donggeun Kim > Signed-off-by: MyungJoo Ham > Signed-off-by: KyungMin Park > Signed-off-by: Inderpal Singh > --- > drivers/cpufreq/exynos-cpufreq.c | 13

Re: [PATCH 2/5 RESEND] thermal: exynos: Miscellaneous fixes to support falling threshold interrupt

2013-01-08 Thread amit kachhap
Hi Joe, Thanks for the review. Will re-post with your suggestion, On Sun, Jan 6, 2013 at 3:55 PM, Joe Perches wrote: > On Sun, 2013-01-06 at 15:50 -0800, Amit Daniel Kachhap wrote: >> Below fixes are done to support falling threshold interrupt, >> * Falling interrupt status macro corrected

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

2013-01-08 Thread Greg KH
On Wed, Jan 09, 2013 at 01:42:39PM +1000, Dave Airlie wrote: > >> Hi all, > >> > >> I've hit this 3 times today on Linus's latest 3.8-rc2+ tree: > >> > >> [11868.414648] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer > >> elapsed... GPU hung > >> [11868.414655] [drm] capturing error event;

Re: oops in copy_page_rep()

2013-01-08 Thread Hugh Dickins
On Tue, 8 Jan 2013, Andrea Arcangeli wrote: > > Looking at this, one thing that isn't clear is where the page_count is > checked in migrate_misplaced_transhuge_page. Ok that it's unable to > migrate anon transhuge COW shared pages so it doesn't need to mess > with rmap (the mapcount check makes

Re: [PATCH] mm: migrate: Check page_count of THP before migrating

2013-01-08 Thread Hugh Dickins
On Mon, 7 Jan 2013, Mel Gorman wrote: > Hugh Dickins pointed out that migrate_misplaced_transhuge_page() does not > check page_count before migrating like base page migration and khugepage. He > could not see why this was safe and he is right. > > The potential impact of the bug is avoided due

Re: [block] allow blk_flush_policy to return REQ_FSEQ_DATA independent of *FLUSH

2013-01-08 Thread Ajith Kumar
Hello, Thanks for the response. A block device driver during initialization would decide if it is capable of supporting FLUSH/FUA or not. Suppose driver claims FLUSH/FUA support then any bio targeted at this driver with FLUSH bit set(which is commonly set by file system like XFS for doing

linux-next: Tree for Jan 9

2013-01-08 Thread Stephen Rothwell
Hi all, Changes since 20130108: The staging tree lost its build failure. The tegra tree gained a conflict against the arm-perf tree. I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel

[PATCH] usb: gadget: FunctionFS: Fix missing braces in parse_opts

2013-01-08 Thread Benoit Goby
Add missing braces around an if block in ffs_fs_parse_opts. This broke parsing the uid/gid mount options and causes mount to fail when using uid/gid. This has been introduced by commit b9b73f7c (userns: Convert usb functionfs to use kuid/kgid where appropriate) in 3.7. Signed-off-by: Benoit Goby

rwlock_t unfairness and tasklist_lock

2013-01-08 Thread Michel Lespinasse
Like others before me, I have discovered how easy it is to DOS a system by abusing the rwlock_t unfairness and causing the tasklist_lock read side to be continuously held (my abuse code makes use of the getpriority syscall, but there are plenty of other ways anyway). My understanding is that the

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-08 Thread Eric Wong
Eric Dumazet wrote: > On Tue, 2013-01-08 at 18:32 -0800, Eric Dumazet wrote: > > Hmm, it seems sk_filter() can return -ENOMEM because skb has the > > pfmemalloc() set. > > > > > One TCP socket keeps retransmitting an SKB via loopback, and TCP stack > > drops the packet again and again. > >

Re: tg3 v3.123 in 100Mbps Full-Duplex mode with autoneg off

2013-01-08 Thread Michael Chan
Please tell us what tg3 device you're using. You can provide lspci output or tg3 probing dmesg output. Thanks. On Wed, 2013-01-09 at 11:20 +0800, 王金浦 wrote: > For this kind of driver related question, I suggest you send mail to > tg3 driver developers, who I already cced. > > > I think they

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

2013-01-08 Thread Dave Airlie
>> Hi all, >> >> I've hit this 3 times today on Linus's latest 3.8-rc2+ tree: >> >> [11868.414648] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... >> GPU hung >> [11868.414655] [drm] capturing error event; look for more information in >> /debug/dri/0/i915_error_state >>

[PATCH] fs: Disable preempt when acquire i_size_seqcount write lock

2013-01-08 Thread Fan Du
Two rt tasks bind to one CPU core. The higher priority rt task A preempts a lower priority rt task B which has already taken the write seq lock, and then the higher priority rt task A try to acquire read seq lock, it's doomed to lockup. rt task A with lower priority: call write i_size_write

Re: [PATCH 7/8] mm: use vm_unmapped_area() on powerpc architecture

2013-01-08 Thread Benjamin Herrenschmidt
On Tue, 2013-01-08 at 18:38 -0800, Michel Lespinasse wrote: > > Well no fair, the previous patch (for powerpc as well) has 22 > insertions and 93 deletions :) > > The benefit is that the new code has lower algorithmic complexity, it > replaces a per-vma loop with O(N) complexity with an outer

Re: [GIT PULL] ARM: arm-soc fixes for 3.8-rc

2013-01-08 Thread Olof Johansson
On Tue, Jan 8, 2013 at 7:13 PM, Olof Johansson wrote: > Or maybe a better solution is to make git request-pull throw an error > if there is a local signed tag for the request, but none is found on > the server (or has different contents). I'll take a look at that. A-HA! Git does that as of

Re: [PATCH] pinctrl: pinctrl-mxs: Fix variables' definition type

2013-01-08 Thread Shawn Guo
On Mon, Jan 07, 2013 at 10:53:49PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Fix the following warnings when building with W=1 option: > > drivers/pinctrl/pinctrl-mxs.c: In function 'mxs_dt_free_map': > drivers/pinctrl/pinctrl-mxs.c:151:16: warning: comparison between signed and >

Re: Re: [3.8-rc2] stuck at reading CIFS mounted directory

2013-01-08 Thread 허종만
Hi, > --- Original Message --- > Sender : Jeff Layton > Date : 2013-01-08 00:13 (GMT+09:00) > Title : Re: [3.8-rc2] stuck at reading CIFS mounted directory > > On Mon, 07 Jan 2013 15:10:05 +0530 > Suresh Jayaraman wrote: > > > (Cc linux-c...@vger.kernel.org) > > > > On 01/04/2013 06:27

Re: sched: Consequences of integrating the Per Entity Load Tracking Metric into the Load Balancer

2013-01-08 Thread Preeti U Murthy
Here comes the point of making both load balancing and wake up balance(select_idle_sibling) co operative. How about we always schedule the woken up task on the prev_cpu? This seems more sensible considering load balancing considers blocked load as being a part of the load of

Re: [Consult] our latest kernel and latest Android under arm Samsung S5PV210 with yaffs2 file system

2013-01-08 Thread Chen Gang F T
于 2013年01月08日 22:53, Theodore Ts'o 写道: firstly, thank you for your reply in details. :-) > yaffs2 is not a _standard_ file system for Android. There may be some > phones which use it, but the much more common is either FAT (for the > older phones) or ext4. The Google AOSP releases for

Re: [GIT PULL] ARM: arm-soc fixes for 3.8-rc

2013-01-08 Thread Olof Johansson
On Tue, Jan 8, 2013 at 6:57 PM, Linus Torvalds wrote: > On Tue, Jan 8, 2013 at 10:49 AM, Olof Johansson wrote: >> >> A slightly larger delta than I'd ideally want by now, in part due to some >> of the OMAP PM fixes that's adding a bit of code. I decided to include >> it instead of push it to

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

2013-01-08 Thread Jason Wang
On 01/09/2013 09:52 AM, Wanlong Gao wrote: > On 01/08/2013 06:26 PM, Jason Wang wrote: >> On 01/08/2013 06:07 PM, Wanlong Gao wrote: >>> As Michael mentioned, set affinity and select queue will not work very >>> well when CPU IDs are not consecutive, this can happen with hot unplug. >>> Fix this

linux-next: manual merge of the tegra tree with the tree

2013-01-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tegra tree got a conflict in arch/arm/mach-tegra/headsmp.S between commit bc4f1bdabc89 ("ARM: coresight: common definition for (OS) Lock Access Register key value") from the arm-perf tree and commit 2a3eb5bc45bd ("ARM: tegra: make device can run on UP")

Re: [GIT PULL] ARM: arm-soc fixes for 3.8-rc

2013-01-08 Thread Linus Torvalds
On Tue, Jan 8, 2013 at 10:49 AM, Olof Johansson wrote: > > A slightly larger delta than I'd ideally want by now, in part due to some > of the OMAP PM fixes that's adding a bit of code. I decided to include > it instead of push it to 3.9, but from here on out we'll be stricter. Ugh. Not only

Re: [v2.6.34-stable 71/77] crypto: ghash - Avoid null pointer dereference if no key is set

2013-01-08 Thread Nick Bowler
On 2013-01-08 18:35 -0500, Paul Gortmaker wrote: > From: Nick Bowler > >--- > This is a commit scheduled for the next v2.6.34 longterm release. > http://git.kernel.org/?p=linux/kernel/git/paulg/longterm-queue-2.6.34.git > If you see a problem with

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-08 Thread Eric Dumazet
On Tue, 2013-01-08 at 18:32 -0800, Eric Dumazet wrote: > > Hmm, it seems sk_filter() can return -ENOMEM because skb has the > pfmemalloc() set. > > One TCP socket keeps retransmitting an SKB via loopback, and TCP stack > drops the packet again and again. sock_init_data() sets

Re: Supporting SYSRQ on broken laptops like the thinkpad T530

2013-01-08 Thread Marc MERLIN
On Wed, Jan 09, 2013 at 03:36:44AM +0100, Roland Eggner wrote: > On 2013-01-08 Tuesday at 15:09 -0800 Marc MERLIN wrote: > > In its infinite wisdom, lenovo has removed the sysrq key on the latest > > thinkpads, and replaced it with a stupid ALT+FN+S key combination, which > > doesn't really work

RE: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-08 Thread Bing Zhao
> > linux-firmware ships the sd8688* firmware images that are shared with > > libertas_sdio WiFi driver under libertas/. libertas_sdio looks in both > > places > > and so should we. > > > > Signed-off-by: Lubomir Rintel > > --- > > drivers/bluetooth/btmrvl_sdio.c | 24

Re: [PATCH 5/5] kfifo: log based kfifo API

2013-01-08 Thread Yuanhan Liu
On Tue, Jan 08, 2013 at 10:16:46AM -0800, Dmitry Torokhov wrote: > Hi Yuanhan, > > On Tue, Jan 08, 2013 at 10:57:53PM +0800, Yuanhan Liu wrote: > > The current kfifo API take the kfifo size as input, while it rounds > > _down_ the size to power of 2 at __kfifo_alloc. This may introduce > >

Re: [Xen-devel] [PATCH v2] xen/grant-table: correctly initialize grant table version 1

2013-01-08 Thread ANNIE LI
Thanks so much for posting this. On 2013-1-6 19:14, Matt Wilson wrote: Commit 85ff6acb075a484780b3d763fdf41596d8fc0970 (xen/granttable: Grant tables V2 implementation) changed the GREFS_PER_GRANT_FRAME macro from a constant to a conditional expression. The expression depends on

Re: [PATCH 7/8] mm: use vm_unmapped_area() on powerpc architecture

2013-01-08 Thread Michel Lespinasse
On Tue, Jan 8, 2013 at 6:15 PM, Benjamin Herrenschmidt wrote: > On Tue, 2013-01-08 at 17:28 -0800, Michel Lespinasse wrote: >> Update the powerpc slice_get_unmapped_area function to make use of >> vm_unmapped_area() instead of implementing a brute force search. >> >> Signed-off-by: Michel

Re: Supporting SYSRQ on broken laptops like the thinkpad T530

2013-01-08 Thread Roland Eggner
On 2013-01-08 Tuesday at 15:09 -0800 Marc MERLIN wrote: > In its infinite wisdom, lenovo has removed the sysrq key on the latest > thinkpads, and replaced it with a stupid ALT+FN+S key combination, which > doesn't really work for doing sysrq from the console (nor do I know how the > genius who did

RE: [PATCH RFT] regulator: lp8788-ldo: Use ldo->en_pin to check if regulator is enabled by external pin

2013-01-08 Thread Kim, Milo
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: Tuesday, January 08, 2013 7:44 PM > To: Axel Lin > Cc: Kim, Milo; Girdwood, Liam; linux-kernel@vger.kernel.org > Subject: Re: [PATCH RFT] regulator: lp8788-ldo: Use ldo->en_pin to > check if

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

2013-01-08 Thread 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 type check doesn't work. It does something similar > > as following: > > void * __dummy = NULL; > > __buf = __dummy; > > > > __dummy

Re: [PATCH v7 0/5] Reset PCIe devices to address DMA problem on kdump with iommu

2013-01-08 Thread Thomas Renninger
On Tuesday, January 08, 2013 09:27:55 AM Yinghai Lu wrote: > On Tue, Jan 8, 2013 at 8:50 AM, Thomas Renninger wrote: > > megaraid_sas > > can you check if your initrd for kdump kernel has that driver and > module that it depends on like > scsi sas transport etc ? Removing the 5 patches and the

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-08 Thread Eric Dumazet
On Tue, 2013-01-08 at 18:14 -0800, Eric Dumazet wrote: > On Tue, 2013-01-08 at 23:23 +, Eric Wong wrote: > > Mel Gorman wrote: > > > Please try the following patch. However, even if it works the benefit of > > > capture may be so marginal that partially reverting it and simplifying > > >

[PATCH] staging: imx-drm: ipu-common: Remove unused variable

2013-01-08 Thread Fabio Estevam
From: Fabio Estevam Fix the following warning when building with W=1 option: drivers/staging/imx-drm/ipu-v3/ipu-common.c: In function 'ipu_remove': drivers/staging/imx-drm/ipu-v3/ipu-common.c:1145:19: warning: variable 'res' set but not used [-Wunused-but-set-variable] Signed-off-by: Fabio

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-08 Thread Eric W. Biederman
Yinghai Lu writes: > On Tue, Jan 8, 2013 at 5:07 PM, Yinghai Lu wrote: >> On Tue, Jan 8, 2013 at 4:58 PM, Eric W. Biederman >> wrote: >> >>> >>> So instead we need to say? >>> >>> + if (no_iotlb_memory) >>> + panic("Cannot allocate SWIOTLB buffer"); >>> + >>> >>> Which is

Re: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-08 Thread Marcel Holtmann
Hi Lubomir, > linux-firmware ships the sd8688* firmware images that are shared with > libertas_sdio WiFi driver under libertas/. libertas_sdio looks in both places > and so should we. > > Signed-off-by: Lubomir Rintel > --- > drivers/bluetooth/btmrvl_sdio.c | 24 ++-- >

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

2013-01-08 Thread Wanlong Gao
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) : >> - smp_processor_id(); >> +int txq = 0; >> +

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

2013-01-08 Thread Wanlong Gao
On 01/08/2013 06:26 PM, Jason Wang wrote: > On 01/08/2013 06:07 PM, Wanlong Gao wrote: >> As Michael mentioned, set affinity and select queue will not work very >> well when CPU IDs are not consecutive, this can happen with hot unplug. >> Fix this bug by traversal the online CPUs, and create a per

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

2013-01-08 Thread Dmitry Torokhov
On Tue, Jan 08, 2013 at 05:46:01PM -0800, David Miller wrote: > From: Dmitry Torokhov > Date: Tue, 08 Jan 2013 17:41:44 -0800 > > > On Tuesday, January 08, 2013 05:30:56 PM David Miller wrote: > >> From: Greg KH > >> Date: Tue, 8 Jan 2013 16:21:10 -0800 > >> > >> > On Tue, Jan 08, 2013 at

Re: [PATCH 7/8] mm: use vm_unmapped_area() on powerpc architecture

2013-01-08 Thread Benjamin Herrenschmidt
On Tue, 2013-01-08 at 17:28 -0800, Michel Lespinasse wrote: > Update the powerpc slice_get_unmapped_area function to make use of > vm_unmapped_area() instead of implementing a brute force search. > > Signed-off-by: Michel Lespinasse > > --- > arch/powerpc/mm/slice.c | 128

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-08 Thread Eric Dumazet
On Tue, 2013-01-08 at 23:23 +, Eric Wong wrote: > Mel Gorman wrote: > > Please try the following patch. However, even if it works the benefit of > > capture may be so marginal that partially reverting it and simplifying > > compaction.c is the better decision. > > I already got my VM stuck

Re: [PATCH] cgroup: use new hashtable implementation

2013-01-08 Thread Li Zefan
On 2013/1/9 2:17, Tejun Heo wrote: > Hello, Li. > > On Tue, Jan 08, 2013 at 03:51:45PM +0800, Li Zefan wrote: >> -static struct hlist_head *css_set_hash(struct cgroup_subsys_state *css[]) >> +static unsigned long css_set_hash(struct cgroup_subsys_state *css[]) >> { >> int i; >> -int

Re: [PATCH] target: initialize sense_reason_t ret in core_scsi3_emulate_pro_register()

2013-01-08 Thread Nicholas A. Bellinger
Hi Geert, Apologies for the delay on this one. Still catching up on some older holiday items.. On Sat, 2012-12-22 at 22:15 +0100, Geert Uytterhoeven wrote: > drivers/target/target_core_pr.c: In function > ‘core_scsi3_emulate_pro_register’: > drivers/target/target_core_pr.c:2056: warning: ‘ret’

Re: [PATCH 2/4] gpiolib: add gpiod_get and gpiod_put functions

2013-01-08 Thread Alexandre Courbot
On Tue, Jan 8, 2013 at 10:07 PM, Arnd Bergmann wrote: > On Tuesday 08 January 2013, Alexandre Courbot wrote: >> >> Adds new GPIO allocation functions that work with the opaque descriptor >> interface. >> >> Signed-off-by: Alexandre Courbot > > I think you need to reorder the patches slightly,

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

2013-01-08 Thread Alexandre Courbot
On Tue, Jan 8, 2013 at 10:06 PM, Arnd Bergmann wrote: > I like the interface, good idea! Great! This was initially suggested by Linus W. > A few questions: > > Is there a plan for migrating all the existing users of the current GPIO > interface? Nothing specifically planned for now, as we need

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

2013-01-08 Thread David Miller
From: Dmitry Torokhov Date: Tue, 08 Jan 2013 17:41:44 -0800 > On Tuesday, January 08, 2013 05:30:56 PM David Miller wrote: >> From: Greg KH >> Date: Tue, 8 Jan 2013 16:21:10 -0800 >> >> > On Tue, Jan 08, 2013 at 03:59:08PM -0800, George Zhang wrote: >> >> * * * >> >> >> >> This series of

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

2013-01-08 Thread Dmitry Torokhov
On Tuesday, January 08, 2013 05:30:56 PM David Miller wrote: > From: Greg KH > Date: Tue, 8 Jan 2013 16:21:10 -0800 > > > On Tue, Jan 08, 2013 at 03:59:08PM -0800, George Zhang wrote: > >> * * * > >> > >> This series of VSOCK linux upstreaming patches include latest udpate from > >> VMware to

Re: [PATCH 0/8] vm_unmapped_area: finish the mission

2013-01-08 Thread Michel Lespinasse
Whoops, I was supposed to find a more appropriate subject line before sending this :] On Tue, Jan 8, 2013 at 5:28 PM, Michel Lespinasse wrote: > These patches, which apply on top of v3.8-rc kernels, are to complete the > VMA gap finding code I introduced (following Rik's initial proposal) in >

[PATCH 1/8] mm: use vm_unmapped_area() on parisc architecture

2013-01-08 Thread Michel Lespinasse
Update the parisc arch_get_unmapped_area function to make use of vm_unmapped_area() instead of implementing a brute force search. Signed-off-by: Michel Lespinasse --- arch/parisc/kernel/sys_parisc.c | 46 ++ 1 files changed, 17 insertions(+), 29

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

2013-01-08 Thread David Miller
From: Greg KH Date: Tue, 8 Jan 2013 16:21:10 -0800 > On Tue, Jan 08, 2013 at 03:59:08PM -0800, George Zhang wrote: >> >> * * * >> >> This series of VSOCK linux upstreaming patches include latest udpate from >> VMware to address Greg's and all other's code review comments. > > Dave, you acked

[PATCH 3/8] mm: use vm_unmapped_area() on frv architecture

2013-01-08 Thread Michel Lespinasse
Update the frv arch_get_unmapped_area function to make use of vm_unmapped_area() instead of implementing a brute force search. Signed-off-by: Michel Lespinasse --- arch/frv/mm/elf-fdpic.c | 49 -- 1 files changed, 17 insertions(+), 32 deletions(-)

[PATCH 0/8] vm_unmapped_area: finish the mission

2013-01-08 Thread Michel Lespinasse
These patches, which apply on top of v3.8-rc kernels, are to complete the VMA gap finding code I introduced (following Rik's initial proposal) in v3.8-rc1. First 5 patches introduce the use of vm_unmapped_area() to replace brute force searches on parisc, alpha, frv and ia64 architectures (all

RE: [PATCH] Allow Marvell SATA driver to work with LEDS_TRIGGER_IDE_DISK

2013-01-08 Thread Kim, Milo
> -Original Message- > From: linux-leds-ow...@vger.kernel.org [mailto:linux-leds- > ow...@vger.kernel.org] On Behalf Of Jason Cooper > Sent: Wednesday, January 09, 2013 5:04 AM > To: Josh Coombs > Cc: coolo...@gmail.com; linux-kernel@vger.kernel.org; linux- > i...@vger.kernel.org;

[PATCH 4/8] mm: use vm_unmapped_area() on ia64 architecture

2013-01-08 Thread Michel Lespinasse
Update the ia64 arch_get_unmapped_area function to make use of vm_unmapped_area() instead of implementing a brute force search. Signed-off-by: Michel Lespinasse --- arch/ia64/kernel/sys_ia64.c | 37 - 1 files changed, 12 insertions(+), 25 deletions(-)

  1   2   3   4   5   6   7   8   9   10   >