net/batman-adv/bridge_loop_avoidance.c:1105:9-10: WARNING: return of 0/1 in function 'batadv_bla_process_claim' with return type bool

2016-07-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a99cde438de0c4c0cecc1d1af1a55a75b10bfdef commit: 4b426b108ac82b27f5af40df7da05a2501fd2aca batman-adv: Use bool as return type for boolean functions date: 8 weeks ago coccinelle warnings: (new ones

net/batman-adv/bridge_loop_avoidance.c:1105:9-10: WARNING: return of 0/1 in function 'batadv_bla_process_claim' with return type bool

2016-07-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a99cde438de0c4c0cecc1d1af1a55a75b10bfdef commit: 4b426b108ac82b27f5af40df7da05a2501fd2aca batman-adv: Use bool as return type for boolean functions date: 8 weeks ago coccinelle warnings: (new ones

[PATCH] batman-adv: fix boolreturn.cocci warnings

2016-07-05 Thread kbuild test robot
net/batman-adv/bridge_loop_avoidance.c:1105:9-10: WARNING: return of 0/1 in function 'batadv_bla_process_claim' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci CC: Sven Eckelmann

[PATCH] batman-adv: fix boolreturn.cocci warnings

2016-07-05 Thread kbuild test robot
net/batman-adv/bridge_loop_avoidance.c:1105:9-10: WARNING: return of 0/1 in function 'batadv_bla_process_claim' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci CC: Sven Eckelmann

RE: [PATCH 7/7] devfreq: exynos-bus: add missing of_node_put after calling of_parse_phandle

2016-07-05 Thread MyungJoo Ham
> > - Original Message - > Sender : Peter Chen > Date : 2016-07-01 18:49 (GMT+9) > Title : [PATCH 7/7] devfreq: exynos-bus: add missing of_node_put after > calling of_parse_phandle > > of_node_put needs to be called when the device node which is got >

Re: [PATCH v2 7/8] mm/zsmalloc: add __init,__exit attribute

2016-07-05 Thread Minchan Kim
On Tue, Jul 05, 2016 at 10:00:28AM +0900, Sergey Senozhatsky wrote: > Hello Ganesh, > > On (07/04/16 17:21), Ganesh Mahendran wrote: > > > On (07/04/16 14:49), Ganesh Mahendran wrote: > > > [..] > > >> -static void zs_unregister_cpu_notifier(void) > > >> +static void __exit

RE: [PATCH 7/7] devfreq: exynos-bus: add missing of_node_put after calling of_parse_phandle

2016-07-05 Thread MyungJoo Ham
> > - Original Message - > Sender : Peter Chen > Date : 2016-07-01 18:49 (GMT+9) > Title : [PATCH 7/7] devfreq: exynos-bus: add missing of_node_put after > calling of_parse_phandle > > of_node_put needs to be called when the device node which is got > from of_parse_phandle

Re: [PATCH v2 7/8] mm/zsmalloc: add __init,__exit attribute

2016-07-05 Thread Minchan Kim
On Tue, Jul 05, 2016 at 10:00:28AM +0900, Sergey Senozhatsky wrote: > Hello Ganesh, > > On (07/04/16 17:21), Ganesh Mahendran wrote: > > > On (07/04/16 14:49), Ganesh Mahendran wrote: > > > [..] > > >> -static void zs_unregister_cpu_notifier(void) > > >> +static void __exit

Re: [PATCH v2 6/8] mm/zsmalloc: keep comments consistent with code

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 02:49:57PM +0800, Ganesh Mahendran wrote: > some minor change of comments: > 1). update zs_malloc(),zs_create_pool() function header > 2). update "Usage of struct page fields" > > Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim

Re: [PATCH v2 6/8] mm/zsmalloc: keep comments consistent with code

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 02:49:57PM +0800, Ganesh Mahendran wrote: > some minor change of comments: > 1). update zs_malloc(),zs_create_pool() function header > 2). update "Usage of struct page fields" > > Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim

Re: [PATCH v2 5/8] mm/zsmalloc: avoid calculate max objects of zspage twice

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 02:49:56PM +0800, Ganesh Mahendran wrote: > Currently, if a class can not be merged, the max objects of zspage > in that class may be calculated twice. > > This patch calculate max objects of zspage at the begin, and pass > the value to can_merge() to decide whether the

Re: [PATCH v2 5/8] mm/zsmalloc: avoid calculate max objects of zspage twice

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 02:49:56PM +0800, Ganesh Mahendran wrote: > Currently, if a class can not be merged, the max objects of zspage > in that class may be calculated twice. > > This patch calculate max objects of zspage at the begin, and pass > the value to can_merge() to decide whether the

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Xiao Guangrong
On 07/06/2016 10:18 AM, Neo Jia wrote: On Wed, Jul 06, 2016 at 10:00:46AM +0800, Xiao Guangrong wrote: On 07/05/2016 08:18 PM, Paolo Bonzini wrote: On 05/07/2016 07:41, Neo Jia wrote: On Thu, Jun 30, 2016 at 03:01:49PM +0200, Paolo Bonzini wrote: The vGPU folks would like to trap the

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Xiao Guangrong
On 07/06/2016 10:18 AM, Neo Jia wrote: On Wed, Jul 06, 2016 at 10:00:46AM +0800, Xiao Guangrong wrote: On 07/05/2016 08:18 PM, Paolo Bonzini wrote: On 05/07/2016 07:41, Neo Jia wrote: On Thu, Jun 30, 2016 at 03:01:49PM +0200, Paolo Bonzini wrote: The vGPU folks would like to trap the

Re: [PATCH v2 3/8] mm/zsmalloc: take obj index back from find_alloced_obj

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 02:49:54PM +0800, Ganesh Mahendran wrote: > the obj index value should be updated after return from > find_alloced_obj() to avoid CPU buring caused by unnecessary > object scanning. > > Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim

Re: [PATCH v2 3/8] mm/zsmalloc: take obj index back from find_alloced_obj

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 02:49:54PM +0800, Ganesh Mahendran wrote: > the obj index value should be updated after return from > find_alloced_obj() to avoid CPU buring caused by unnecessary > object scanning. > > Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim

RE: [PATCH 6/7] devfreq: add missing of_node_put after calling of_parse_phandle

2016-07-05 Thread MyungJoo Ham
> - Original Message - > Sender : Peter Chen > Date : 2016-07-01 18:49 (GMT+9) > Title : [PATCH 6/7] devfreq: add missing of_node_put after calling > of_parse_phandle > > of_node_put needs to be called when the device node which is got > from

RE: [PATCH 6/7] devfreq: add missing of_node_put after calling of_parse_phandle

2016-07-05 Thread MyungJoo Ham
> - Original Message - > Sender : Peter Chen > Date : 2016-07-01 18:49 (GMT+9) > Title : [PATCH 6/7] devfreq: add missing of_node_put after calling > of_parse_phandle > > of_node_put needs to be called when the device node which is got > from of_parse_phandle has finished

Re: [PATCH v2] fs/dcache.c: avoid soft-lockup in dput()

2016-07-05 Thread Wei Fang
Hi, Boqun, >> diff --git a/fs/dcache.c b/fs/dcache.c >> index d5ecc6e..074fc1c 100644 >> --- a/fs/dcache.c >> +++ b/fs/dcache.c >> @@ -578,7 +578,7 @@ static struct dentry *dentry_kill(struct dentry *dentry) >> >> failed: >> spin_unlock(>d_lock); >> -cpu_relax(); >> +

Re: [PATCH v2] fs/dcache.c: avoid soft-lockup in dput()

2016-07-05 Thread Wei Fang
Hi, Boqun, >> diff --git a/fs/dcache.c b/fs/dcache.c >> index d5ecc6e..074fc1c 100644 >> --- a/fs/dcache.c >> +++ b/fs/dcache.c >> @@ -578,7 +578,7 @@ static struct dentry *dentry_kill(struct dentry *dentry) >> >> failed: >> spin_unlock(>d_lock); >> -cpu_relax(); >> +

[PATCH 2/2] livepatch/x86: apply alternatives and paravirt patches after relocations

2016-07-05 Thread Jessica Yu
Implement arch_klp_init_object_loaded() for x86, which applies alternatives/paravirt patches. This fixes the order in which relocations and alternatives/paravirt patches are applied. Previously, if a patch module had alternatives or paravirt patches, these were applied first by the module loader

Re: [PATCH v2 2/8] mm/zsmalloc: use obj_index to keep consistent with others

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 02:49:53PM +0800, Ganesh Mahendran wrote: > This is a cleanup patch. Change "index" to "obj_index" to keep > consistent with others in zsmalloc. > > Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim

[PATCH 2/2] livepatch/x86: apply alternatives and paravirt patches after relocations

2016-07-05 Thread Jessica Yu
Implement arch_klp_init_object_loaded() for x86, which applies alternatives/paravirt patches. This fixes the order in which relocations and alternatives/paravirt patches are applied. Previously, if a patch module had alternatives or paravirt patches, these were applied first by the module loader

Re: [PATCH v2 2/8] mm/zsmalloc: use obj_index to keep consistent with others

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 02:49:53PM +0800, Ganesh Mahendran wrote: > This is a cleanup patch. Change "index" to "obj_index" to keep > consistent with others in zsmalloc. > > Signed-off-by: Ganesh Mahendran Acked-by: Minchan Kim

[PATCH 1/2] livepatch: use arch_klp_init_object_loaded() to finish arch-specific tasks

2016-07-05 Thread Jessica Yu
Introduce arch_klp_init_object_loaded() to complete any additional arch-specific tasks during patching. Architecture code may override this function. Signed-off-by: Jessica Yu --- include/linux/livepatch.h | 3 +++ kernel/livepatch/core.c | 12 ++-- 2 files changed,

[PATCH 0/2] Fix issue with alternatives/paravirt patches

2016-07-05 Thread Jessica Yu
Hi, A few months ago, Chris Arges reported a bug involving alternatives/paravirt patching that was discussed here [1] and here [2]. To briefly summarize the bug, patch modules that contained .altinstructions or .parainstructions sections would break because these alternative/paravirt patches

[PATCH 1/2] livepatch: use arch_klp_init_object_loaded() to finish arch-specific tasks

2016-07-05 Thread Jessica Yu
Introduce arch_klp_init_object_loaded() to complete any additional arch-specific tasks during patching. Architecture code may override this function. Signed-off-by: Jessica Yu --- include/linux/livepatch.h | 3 +++ kernel/livepatch/core.c | 12 ++-- 2 files changed, 13 insertions(+),

[PATCH 0/2] Fix issue with alternatives/paravirt patches

2016-07-05 Thread Jessica Yu
Hi, A few months ago, Chris Arges reported a bug involving alternatives/paravirt patching that was discussed here [1] and here [2]. To briefly summarize the bug, patch modules that contained .altinstructions or .parainstructions sections would break because these alternative/paravirt patches

Re: [PATCH v2 1/8] mm/zsmalloc: modify zs compact trace interface

2016-07-05 Thread Minchan Kim
Hi Ganesh, On Mon, Jul 04, 2016 at 02:49:52PM +0800, Ganesh Mahendran wrote: > This patch changes trace_zsmalloc_compact_start[end] to > trace_zs_compact_start[end] to keep function naming consistent > with others in zsmalloc > > Also this patch remove pages_total_compacted information which >

Re: [PATCH v2 1/8] mm/zsmalloc: modify zs compact trace interface

2016-07-05 Thread Minchan Kim
Hi Ganesh, On Mon, Jul 04, 2016 at 02:49:52PM +0800, Ganesh Mahendran wrote: > This patch changes trace_zsmalloc_compact_start[end] to > trace_zs_compact_start[end] to keep function naming consistent > with others in zsmalloc > > Also this patch remove pages_total_compacted information which >

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Xiao Guangrong
On 07/05/2016 11:07 PM, Neo Jia wrote: On Tue, Jul 05, 2016 at 05:02:46PM +0800, Xiao Guangrong wrote: It is physically contiguous but it is done during the runtime, physically contiguous doesn't mean static partition at boot time. And only during runtime, the proper HW resource will be

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Xiao Guangrong
On 07/05/2016 11:07 PM, Neo Jia wrote: On Tue, Jul 05, 2016 at 05:02:46PM +0800, Xiao Guangrong wrote: It is physically contiguous but it is done during the runtime, physically contiguous doesn't mean static partition at boot time. And only during runtime, the proper HW resource will be

Re: [PATCH] lockdep: Add a document describing crossrelease feature

2016-07-05 Thread Byungchul Park
On Wed, Jul 06, 2016 at 08:49:43AM +0800, Boqun Feng wrote: > On Mon, Jul 04, 2016 at 03:42:59PM +0900, Byungchul Park wrote: > [snip] > > > > +2. A lock has dependency with all locks in the releasing context, > > > > having > > > > + been held since the lock was held. > > > > > > But you

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Neo Jia
On Wed, Jul 06, 2016 at 10:00:46AM +0800, Xiao Guangrong wrote: > > > On 07/05/2016 08:18 PM, Paolo Bonzini wrote: > > > > > >On 05/07/2016 07:41, Neo Jia wrote: > >>On Thu, Jun 30, 2016 at 03:01:49PM +0200, Paolo Bonzini wrote: > >>>The vGPU folks would like to trap the first access to a BAR by

Re: [PATCH] lockdep: Add a document describing crossrelease feature

2016-07-05 Thread Byungchul Park
On Wed, Jul 06, 2016 at 08:49:43AM +0800, Boqun Feng wrote: > On Mon, Jul 04, 2016 at 03:42:59PM +0900, Byungchul Park wrote: > [snip] > > > > +2. A lock has dependency with all locks in the releasing context, > > > > having > > > > + been held since the lock was held. > > > > > > But you

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Neo Jia
On Wed, Jul 06, 2016 at 10:00:46AM +0800, Xiao Guangrong wrote: > > > On 07/05/2016 08:18 PM, Paolo Bonzini wrote: > > > > > >On 05/07/2016 07:41, Neo Jia wrote: > >>On Thu, Jun 30, 2016 at 03:01:49PM +0200, Paolo Bonzini wrote: > >>>The vGPU folks would like to trap the first access to a BAR by

[PATCH net] net: mvneta: set real interrupt per packet for tx_done

2016-07-05 Thread Marcin Wojtas
From: Dmitri Epshtein Commit aebea2ba0f74 ("net: mvneta: fix Tx interrupt delay") intended to set coalescing threshold to a value guaranteeing interrupt generation per each sent packet, so that buffers can be released with no delay. In fact setting threshold to '1' was wrong,

[PATCH net] net: mvneta: set real interrupt per packet for tx_done

2016-07-05 Thread Marcin Wojtas
From: Dmitri Epshtein Commit aebea2ba0f74 ("net: mvneta: fix Tx interrupt delay") intended to set coalescing threshold to a value guaranteeing interrupt generation per each sent packet, so that buffers can be released with no delay. In fact setting threshold to '1' was wrong, because it causes

Re: [PATCH 2/2] f2fs: fix to avoid data update racing between GC and DIO

2016-07-05 Thread Chao Yu
On 2016/7/6 8:24, Jaegeuk Kim wrote: > On Fri, Jul 01, 2016 at 02:03:17PM +0800, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2016/7/1 8:03, Jaegeuk Kim wrote: >>> Hi Chao, >>> >>> On Thu, Jun 30, 2016 at 04:42:48PM +0800, Chao Yu wrote: Datas in file can be operated by GC and DIO simultaneously,

Re: [PATCH 2/2] f2fs: fix to avoid data update racing between GC and DIO

2016-07-05 Thread Chao Yu
On 2016/7/6 8:24, Jaegeuk Kim wrote: > On Fri, Jul 01, 2016 at 02:03:17PM +0800, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2016/7/1 8:03, Jaegeuk Kim wrote: >>> Hi Chao, >>> >>> On Thu, Jun 30, 2016 at 04:42:48PM +0800, Chao Yu wrote: Datas in file can be operated by GC and DIO simultaneously,

Re: [RFC PATCH 3/4] drm: bridge: Generic GPIO mux driver

2016-07-05 Thread Nicolas Boichat
(whoops, apologies for the CHROMIUM tag in the subject line...) On Tue, Jun 28, 2016 at 4:52 PM, Archit Taneja wrote: > > > On 06/27/2016 01:18 PM, Nicolas Boichat wrote: >> >> This driver supports single input, 2 output display mux (e.g. >> HDMI mux), that provides its

Re: [RFC PATCH 3/4] drm: bridge: Generic GPIO mux driver

2016-07-05 Thread Nicolas Boichat
(whoops, apologies for the CHROMIUM tag in the subject line...) On Tue, Jun 28, 2016 at 4:52 PM, Archit Taneja wrote: > > > On 06/27/2016 01:18 PM, Nicolas Boichat wrote: >> >> This driver supports single input, 2 output display mux (e.g. >> HDMI mux), that provides its status via a GPIO. > > >

RE: [PATCH 2/5] ACPI / debugger: Fix regressions that AML debugger stops working

2016-07-05 Thread Zheng, Lv
Hi, Rafael > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of > Rafael J. Wysocki > Subject: Re: [PATCH 2/5] ACPI / debugger: Fix regressions that AML > debugger stops working > > On Tue, Jul 5, 2016 at 1:18 PM, Lv Zheng wrote: > > The FIFO unlocking

RE: [PATCH 2/5] ACPI / debugger: Fix regressions that AML debugger stops working

2016-07-05 Thread Zheng, Lv
Hi, Rafael > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of > Rafael J. Wysocki > Subject: Re: [PATCH 2/5] ACPI / debugger: Fix regressions that AML > debugger stops working > > On Tue, Jul 5, 2016 at 1:18 PM, Lv Zheng wrote: > > The FIFO unlocking mechanism in acpi_dbg has

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Xiao Guangrong
On 07/05/2016 08:18 PM, Paolo Bonzini wrote: On 05/07/2016 07:41, Neo Jia wrote: On Thu, Jun 30, 2016 at 03:01:49PM +0200, Paolo Bonzini wrote: The vGPU folks would like to trap the first access to a BAR by setting vm_ops on the VMAs produced by mmap-ing a VFIO device. The fault handler

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Xiao Guangrong
On 07/05/2016 08:18 PM, Paolo Bonzini wrote: On 05/07/2016 07:41, Neo Jia wrote: On Thu, Jun 30, 2016 at 03:01:49PM +0200, Paolo Bonzini wrote: The vGPU folks would like to trap the first access to a BAR by setting vm_ops on the VMAs produced by mmap-ing a VFIO device. The fault handler

Re: [PATCH] [RFC] Kbuild: avoid "make tinyconfig" warnings

2016-07-05 Thread Masahiro Yamada
Hi Arnd, 2016-07-04 23:25 GMT+09:00 Arnd Bergmann : > The introduction of "make *.config" as a shorthand for merging configuration > files unfortunately introduced some build warnings that we see in every > single run of the various build bots testing tinyconfig: I am not

Re: [PATCH] [RFC] Kbuild: avoid "make tinyconfig" warnings

2016-07-05 Thread Masahiro Yamada
Hi Arnd, 2016-07-04 23:25 GMT+09:00 Arnd Bergmann : > The introduction of "make *.config" as a shorthand for merging configuration > files unfortunately introduced some build warnings that we see in every > single run of the various build bots testing tinyconfig: I am not convinced with this

Re: [RFC PATCH 0/4] drm: bridge: anx7688 and mux drivers

2016-07-05 Thread Nicolas Boichat
Hi Archit, Sorry got swamped by other things and forgot to reply. On Tue, Jun 28, 2016 at 4:28 PM, Archit Taneja wrote: > > > On 06/27/2016 01:18 PM, Nicolas Boichat wrote: >> >> Hi all, >> >> This is a follow up to the 2 patches to add support for ANX7688 sent here: >>

Re: [RFC PATCH 0/4] drm: bridge: anx7688 and mux drivers

2016-07-05 Thread Nicolas Boichat
Hi Archit, Sorry got swamped by other things and forgot to reply. On Tue, Jun 28, 2016 at 4:28 PM, Archit Taneja wrote: > > > On 06/27/2016 01:18 PM, Nicolas Boichat wrote: >> >> Hi all, >> >> This is a follow up to the 2 patches to add support for ANX7688 sent here: >>

Re: [patch for-4.7] mm, compaction: prevent VM_BUG_ON when terminating freeing scanner

2016-07-05 Thread Minchan Kim
On Wed, Jul 06, 2016 at 10:41:09AM +0900, Joonsoo Kim wrote: < snip > > > Do you have any objection to this fix for 4.7? > > > > Joonson and/or Minchan, does this address the issue that you reported? > > Unfortunately, I have no test case to trigger it. But, I think that > this patch will

Re: [patch for-4.7] mm, compaction: prevent VM_BUG_ON when terminating freeing scanner

2016-07-05 Thread Minchan Kim
On Wed, Jul 06, 2016 at 10:41:09AM +0900, Joonsoo Kim wrote: < snip > > > Do you have any objection to this fix for 4.7? > > > > Joonson and/or Minchan, does this address the issue that you reported? > > Unfortunately, I have no test case to trigger it. But, I think that > this patch will

Re: [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 10:55:09AM +0100, Mel Gorman wrote: > On Mon, Jul 04, 2016 at 05:04:12PM +0900, Minchan Kim wrote: > > > > How big ratio between highmem:lowmem do you think a problem? > > > > > > > > > > That's a "how long is a piece of string" type question. The ratio does > > > not

Re: [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-05 Thread Minchan Kim
On Mon, Jul 04, 2016 at 10:55:09AM +0100, Mel Gorman wrote: > On Mon, Jul 04, 2016 at 05:04:12PM +0900, Minchan Kim wrote: > > > > How big ratio between highmem:lowmem do you think a problem? > > > > > > > > > > That's a "how long is a piece of string" type question. The ratio does > > > not

RE: [PATCH 5/5] ACPI: Add configuration item to configure ACPICA error logs out

2016-07-05 Thread Zheng, Lv
Hi, Rafael > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Subject: Re: [PATCH 5/5] ACPI: Add configuration item to configure ACPICA > error logs out > > On Tue, Jul 5, 2016 at 1:18 PM, Lv Zheng wrote: >

RE: [PATCH 5/5] ACPI: Add configuration item to configure ACPICA error logs out

2016-07-05 Thread Zheng, Lv
Hi, Rafael > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Subject: Re: [PATCH 5/5] ACPI: Add configuration item to configure ACPICA > error logs out > > On Tue, Jul 5, 2016 at 1:18 PM, Lv Zheng wrote: > > Sometimes, we need

Re: [patch for-4.7] mm, compaction: prevent VM_BUG_ON when terminating freeing scanner

2016-07-05 Thread Joonsoo Kim
On Tue, Jul 05, 2016 at 02:01:29PM -0700, David Rientjes wrote: > On Thu, 30 Jun 2016, Vlastimil Babka wrote: > > > > Note: I really dislike the low watermark check in split_free_page() and > > > consider it poor software engineering. The function should split a free > > > page, nothing more.

Re: [patch for-4.7] mm, compaction: prevent VM_BUG_ON when terminating freeing scanner

2016-07-05 Thread Joonsoo Kim
On Tue, Jul 05, 2016 at 02:01:29PM -0700, David Rientjes wrote: > On Thu, 30 Jun 2016, Vlastimil Babka wrote: > > > > Note: I really dislike the low watermark check in split_free_page() and > > > consider it poor software engineering. The function should split a free > > > page, nothing more.

Re: [patch for-4.7] mm, compaction: prevent VM_BUG_ON when terminating freeing scanner

2016-07-05 Thread Joonsoo Kim
On Wed, Jun 29, 2016 at 02:47:20PM -0700, David Rientjes wrote: > It's possible to isolate some freepages in a pageblock and then fail > split_free_page() due to the low watermark check. In this case, we hit > VM_BUG_ON() because the freeing scanner terminated early without a > contended lock

Re: [patch for-4.7] mm, compaction: prevent VM_BUG_ON when terminating freeing scanner

2016-07-05 Thread Joonsoo Kim
On Wed, Jun 29, 2016 at 02:47:20PM -0700, David Rientjes wrote: > It's possible to isolate some freepages in a pageblock and then fail > split_free_page() due to the low watermark check. In this case, we hit > VM_BUG_ON() because the freeing scanner terminated early without a > contended lock

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

2016-07-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/usb/r8152.c between commit: 2609af19362d ("r8152: fix runtime function for RTL8152") from the net tree and commit: a028a9e003f2 ("r8152: move the settings of PHY to a work queue") from the net-next

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

2016-07-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/usb/r8152.c between commit: 2609af19362d ("r8152: fix runtime function for RTL8152") from the net tree and commit: a028a9e003f2 ("r8152: move the settings of PHY to a work queue") from the net-next

RE: [PATCH 1/2] qe/ic: move qe_ic_init from platforms to irqchip

2016-07-05 Thread Qiang Zhao
On 07/05/2016 11:19 AM, Jason Cooper wrote: > -Original Message- > From: Jason Cooper [mailto:ja...@lakedaemon.net] > Sent: Tuesday, July 05, 2016 10:22 PM > To: Qiang Zhao > Cc: o...@buserror.net; t...@linutronix.de; marc.zyng...@arm.com;

RE: [PATCH 1/2] qe/ic: move qe_ic_init from platforms to irqchip

2016-07-05 Thread Qiang Zhao
On 07/05/2016 11:19 AM, Jason Cooper wrote: > -Original Message- > From: Jason Cooper [mailto:ja...@lakedaemon.net] > Sent: Tuesday, July 05, 2016 10:22 PM > To: Qiang Zhao > Cc: o...@buserror.net; t...@linutronix.de; marc.zyng...@arm.com; linuxppc- > d...@lists.ozlabs.org;

Re: [PATCH 11/31] mm: vmscan: do not reclaim from kswapd if there is any eligible zone

2016-07-05 Thread Minchan Kim
On Tue, Jul 05, 2016 at 11:38:06AM +0100, Mel Gorman wrote: > On Tue, Jul 05, 2016 at 03:11:17PM +0900, Minchan Kim wrote: > > > - if (i < 0) > > > - goto out; > > > + /* > > > + * Only reclaim if there are no eligible zones. Check from > > > + *

Re: [PATCH 11/31] mm: vmscan: do not reclaim from kswapd if there is any eligible zone

2016-07-05 Thread Minchan Kim
On Tue, Jul 05, 2016 at 11:38:06AM +0100, Mel Gorman wrote: > On Tue, Jul 05, 2016 at 03:11:17PM +0900, Minchan Kim wrote: > > > - if (i < 0) > > > - goto out; > > > + /* > > > + * Only reclaim if there are no eligible zones. Check from > > > + *

Re: cgroup: Fix split bio been throttled more than once

2016-07-05 Thread Ming Lei
On Wed, Jul 6, 2016 at 6:26 AM, Tejun Heo wrote: > Hello, > > On Mon, Jul 04, 2016 at 10:46:54PM +0800, Jiale Li wrote: >> These days, we have tested the cgroup blkio throttle function use fio, >> and we found a problem that when we use buffered IO or set the big block >> size

Re: cgroup: Fix split bio been throttled more than once

2016-07-05 Thread Ming Lei
On Wed, Jul 6, 2016 at 6:26 AM, Tejun Heo wrote: > Hello, > > On Mon, Jul 04, 2016 at 10:46:54PM +0800, Jiale Li wrote: >> These days, we have tested the cgroup blkio throttle function use fio, >> and we found a problem that when we use buffered IO or set the big block >> size like 1M, then the

[lkp] [netfilter] d4978a76b6: INFO: suspicious RCU usage

2016-07-05 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Aaron-Conole/Compact-netfilter-hooks-list/20160623-053808 commit d4978a76b6762f524932da854f285075811c6cf6 ("netfilter: replace list_head with single linked list") in testcase: boot on test machine: 1 threads

[lkp] [netfilter] d4978a76b6: INFO: suspicious RCU usage

2016-07-05 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Aaron-Conole/Compact-netfilter-hooks-list/20160623-053808 commit d4978a76b6762f524932da854f285075811c6cf6 ("netfilter: replace list_head with single linked list") in testcase: boot on test machine: 1 threads

Re: cgroup: Fix split bio been throttled more than once

2016-07-05 Thread Ming Lei
Cc block list On Mon, Jul 4, 2016 at 10:46 PM, Jiale Li wrote: > Hi Tejun, > > These days, we have tested the cgroup blkio throttle function use fio, > and we found a problem that when we use buffered IO or set the big block > size like 1M, then the IO performance cannot

Re: cgroup: Fix split bio been throttled more than once

2016-07-05 Thread Ming Lei
Cc block list On Mon, Jul 4, 2016 at 10:46 PM, Jiale Li wrote: > Hi Tejun, > > These days, we have tested the cgroup blkio throttle function use fio, > and we found a problem that when we use buffered IO or set the big block > size like 1M, then the IO performance cannot reach the value we set.

Re: [PATCH] gpio: of: Allow overriding the device node

2016-07-05 Thread Masahiro Yamada
Hi. 2016-07-06 0:25 GMT+09:00 Linus Walleij : > On Tue, Jul 5, 2016 at 2:11 PM, Thierry Reding > wrote: > >> From: Thierry Reding >> >> When registering a GPIO chip, drivers can override the device tree node >> associated

Re: [PATCH] gpio: of: Allow overriding the device node

2016-07-05 Thread Masahiro Yamada
Hi. 2016-07-06 0:25 GMT+09:00 Linus Walleij : > On Tue, Jul 5, 2016 at 2:11 PM, Thierry Reding > wrote: > >> From: Thierry Reding >> >> When registering a GPIO chip, drivers can override the device tree node >> associated with the chip by setting the chip's ->of_node field. If set, >> this

Re: [PATCH v4] kasan/quarantine: fix bugs on qlist_move_cache()

2016-07-05 Thread Joonsoo Kim
On Mon, Jul 04, 2016 at 12:49:08PM +0300, Andrey Ryabinin wrote: > > > On 07/04/2016 07:31 AM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > There are two bugs on qlist_move_cache(). One is that qlist's tail > > isn't set properly. curr->next can be NULL since

Re: [PATCH v4] kasan/quarantine: fix bugs on qlist_move_cache()

2016-07-05 Thread Joonsoo Kim
On Mon, Jul 04, 2016 at 12:49:08PM +0300, Andrey Ryabinin wrote: > > > On 07/04/2016 07:31 AM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > There are two bugs on qlist_move_cache(). One is that qlist's tail > > isn't set properly. curr->next can be NULL since it is singly linked > >

[PATCH v5] kasan/quarantine: fix bugs on qlist_move_cache()

2016-07-05 Thread js1304
From: Joonsoo Kim There are two bugs on qlist_move_cache(). One is that qlist's tail isn't set properly. curr->next can be NULL since it is singly linked list and NULL value on tail is invalid if there is one item on qlist. Another one is that if cache is matched,

[PATCH v5] kasan/quarantine: fix bugs on qlist_move_cache()

2016-07-05 Thread js1304
From: Joonsoo Kim There are two bugs on qlist_move_cache(). One is that qlist's tail isn't set properly. curr->next can be NULL since it is singly linked list and NULL value on tail is invalid if there is one item on qlist. Another one is that if cache is matched, qlist_put() is called and it

Re: [PATCH] lockdep: Add a document describing crossrelease feature

2016-07-05 Thread Boqun Feng
On Mon, Jul 04, 2016 at 03:42:59PM +0900, Byungchul Park wrote: [snip] > > > +2. A lock has dependency with all locks in the releasing context, having > > > + been held since the lock was held. > > > > But you cannot tell this. The 'since the lock was held' thing fully > > depends on timing and

Re: [PATCH] lockdep: Add a document describing crossrelease feature

2016-07-05 Thread Boqun Feng
On Mon, Jul 04, 2016 at 03:42:59PM +0900, Byungchul Park wrote: [snip] > > > +2. A lock has dependency with all locks in the releasing context, having > > > + been held since the lock was held. > > > > But you cannot tell this. The 'since the lock was held' thing fully > > depends on timing and

RE: [PATCH v2 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-07-05 Thread Li, Liang Z
Ping ... Liang > -Original Message- > From: Li, Liang Z > Sent: Wednesday, June 29, 2016 6:32 PM > To: m...@redhat.com > Cc: linux-kernel@vger.kernel.org; virtualizat...@lists.linux-foundation.org; > k...@vger.kernel.org; qemu-de...@nongnu.org; virtio-dev@lists.oasis- > open.org;

RE: [PATCH v2 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-07-05 Thread Li, Liang Z
Ping ... Liang > -Original Message- > From: Li, Liang Z > Sent: Wednesday, June 29, 2016 6:32 PM > To: m...@redhat.com > Cc: linux-kernel@vger.kernel.org; virtualizat...@lists.linux-foundation.org; > k...@vger.kernel.org; qemu-de...@nongnu.org; virtio-dev@lists.oasis- > open.org;

[PATCH] PM / hibernate: Add missing braces in hibernate_setup()

2016-07-05 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make hibernate_setup() follow the coding style more closely by adding some missing braces to the if () statement in it. Signed-off-by: Rafael J. Wysocki --- This is on top of

[PATCH] PM / hibernate: Add missing braces in hibernate_setup()

2016-07-05 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make hibernate_setup() follow the coding style more closely by adding some missing braces to the if () statement in it. Signed-off-by: Rafael J. Wysocki --- This is on top of https://patchwork.kernel.org/patch/9214179/ --- kernel/power/hibernate.c |6 +++--- 1

Re: [PATCH 08/31] mm, vmscan: simplify the logic deciding whether kswapd sleeps

2016-07-05 Thread Minchan Kim
On Tue, Jul 05, 2016 at 11:26:39AM +0100, Mel Gorman wrote: > > > @@ -3418,10 +3426,10 @@ void wakeup_kswapd(struct zone *zone, int order, > > > enum zone_type classzone_idx) > > > if (!cpuset_zone_allowed(zone, GFP_KERNEL | __GFP_HARDWALL)) > > > return; > > > pgdat =

Re: [PATCH v5 0/8] ACPI overlays

2016-07-05 Thread Rafael J. Wysocki
On Friday, July 01, 2016 11:19:04 PM Octavian Purdila wrote: > This patch set enables custom ACPI board configuration by adding > mechanisms in the Linux kernel for loading user defined SSDTs. > > In order to support ACPI open-ended hardware configurations we need a > way to augment the ACPI

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-05 Thread Oleg Drokin
On Jul 5, 2016, at 4:21 PM, Oleg Drokin wrote: > >>> So with Lustre the dentry can be in three states, really: >>> >>> 1. hashed dentry that's all A-ok to reuse. >>> 2. hashed dentry that's NOT valid (dlm lock went away) - this is >>> distinguished in d_compare by looking at a bit in the

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-05 Thread Oleg Drokin
On Jul 5, 2016, at 4:21 PM, Oleg Drokin wrote: > >>> So with Lustre the dentry can be in three states, really: >>> >>> 1. hashed dentry that's all A-ok to reuse. >>> 2. hashed dentry that's NOT valid (dlm lock went away) - this is >>> distinguished in d_compare by looking at a bit in the

Re: [PATCH 08/31] mm, vmscan: simplify the logic deciding whether kswapd sleeps

2016-07-05 Thread Minchan Kim
On Tue, Jul 05, 2016 at 11:26:39AM +0100, Mel Gorman wrote: > > > @@ -3418,10 +3426,10 @@ void wakeup_kswapd(struct zone *zone, int order, > > > enum zone_type classzone_idx) > > > if (!cpuset_zone_allowed(zone, GFP_KERNEL | __GFP_HARDWALL)) > > > return; > > > pgdat =

Re: [PATCH v5 0/8] ACPI overlays

2016-07-05 Thread Rafael J. Wysocki
On Friday, July 01, 2016 11:19:04 PM Octavian Purdila wrote: > This patch set enables custom ACPI board configuration by adding > mechanisms in the Linux kernel for loading user defined SSDTs. > > In order to support ACPI open-ended hardware configurations we need a > way to augment the ACPI

Re: [PATCH 2/2] f2fs: fix to avoid data update racing between GC and DIO

2016-07-05 Thread Jaegeuk Kim
On Fri, Jul 01, 2016 at 02:03:17PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On 2016/7/1 8:03, Jaegeuk Kim wrote: > > Hi Chao, > > > > On Thu, Jun 30, 2016 at 04:42:48PM +0800, Chao Yu wrote: > >> Datas in file can be operated by GC and DIO simultaneously, so we will > >> face race case as below:

Re: [PATCH 2/2] f2fs: fix to avoid data update racing between GC and DIO

2016-07-05 Thread Jaegeuk Kim
On Fri, Jul 01, 2016 at 02:03:17PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On 2016/7/1 8:03, Jaegeuk Kim wrote: > > Hi Chao, > > > > On Thu, Jun 30, 2016 at 04:42:48PM +0800, Chao Yu wrote: > >> Datas in file can be operated by GC and DIO simultaneously, so we will > >> face race case as below:

Re: [PATCH 01/31] mm, vmstat: add infrastructure for per-node vmstats

2016-07-05 Thread Minchan Kim
On Tue, Jul 05, 2016 at 09:14:05AM +0100, Mel Gorman wrote: > On Tue, Jul 05, 2016 at 08:50:18AM +0900, Minchan Kim wrote: > > > @@ -172,13 +174,17 @@ void refresh_zone_stat_thresholds(void) > > > int threshold; > > > > > > for_each_populated_zone(zone) { > > > + struct pglist_data

Re: [PATCH 01/31] mm, vmstat: add infrastructure for per-node vmstats

2016-07-05 Thread Minchan Kim
On Tue, Jul 05, 2016 at 09:14:05AM +0100, Mel Gorman wrote: > On Tue, Jul 05, 2016 at 08:50:18AM +0900, Minchan Kim wrote: > > > @@ -172,13 +174,17 @@ void refresh_zone_stat_thresholds(void) > > > int threshold; > > > > > > for_each_populated_zone(zone) { > > > + struct pglist_data

Re: [PATCH] memory: samsung: exynos-srom: fix wrong count of registers

2016-07-05 Thread Chanwoo Choi
On 2016년 07월 05일 20:40, Seung-Woo Kim wrote: > This patch fixes wrong count of array for srom registers from probe > function. > > Signed-off-by: Seung-Woo Kim > --- > drivers/memory/samsung/exynos-srom.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] memory: samsung: exynos-srom: fix wrong count of registers

2016-07-05 Thread Chanwoo Choi
On 2016년 07월 05일 20:40, Seung-Woo Kim wrote: > This patch fixes wrong count of array for srom registers from probe > function. > > Signed-off-by: Seung-Woo Kim > --- > drivers/memory/samsung/exynos-srom.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] extcon: Move extcon_get_edev_by_phandle() errors to dbg level

2016-07-05 Thread Chanwoo Choi
Hi Stephen, On 2016년 07월 06일 03:57, Stephen Boyd wrote: > Sometimes drivers may call this API and expect it to fail because > the extcon they're looking for is optional. Let's move these > prints to debug level so it doesn't look like there's a problem > when there isn't one. > > Signed-off-by:

Re: [PATCH] extcon: adc-jack: update cable state during boot

2016-07-05 Thread Chanwoo Choi
Hi Venkat, On 2016년 07월 05일 22:56, Venkat Reddy Talla wrote: > Update cable state during boot to avoid any missing > external cable events occurred before driver initialisation. > > Signed-off-by: Venkat Reddy Talla > --- > drivers/extcon/extcon-adc-jack.c | 1 + > 1

Re: [PATCH] extcon: Move extcon_get_edev_by_phandle() errors to dbg level

2016-07-05 Thread Chanwoo Choi
Hi Stephen, On 2016년 07월 06일 03:57, Stephen Boyd wrote: > Sometimes drivers may call this API and expect it to fail because > the extcon they're looking for is optional. Let's move these > prints to debug level so it doesn't look like there's a problem > when there isn't one. > > Signed-off-by:

Re: [PATCH] extcon: adc-jack: update cable state during boot

2016-07-05 Thread Chanwoo Choi
Hi Venkat, On 2016년 07월 05일 22:56, Venkat Reddy Talla wrote: > Update cable state during boot to avoid any missing > external cable events occurred before driver initialisation. > > Signed-off-by: Venkat Reddy Talla > --- > drivers/extcon/extcon-adc-jack.c | 1 + > 1 file changed, 1

<    1   2   3   4   5   6   7   8   9   10   >