[PATCH v2] misc/pvpanic: Export module FDT device table

2021-02-18 Thread Shile Zhang
info FDT") Signed-off-by: Shile Zhang --- -v2: add the original commit id in changelog -v1: https://lore.kernel.org/lkml/20210218094024.69354-1-shile.zh...@linux.alibaba.com/ drivers/misc/pvpanic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/pvpanic.c b/drivers/misc

Re: [PATCH] misc/pvpanic: Export module FDT device table

2021-02-18 Thread Shile Zhang
On 2021/2/18 18:00, Greg Kroah-Hartman wrote: On Thu, Feb 18, 2021 at 05:40:24PM +0800, Shile Zhang wrote: Export the module FDT device table to ensure the FDT compatible strings are listed in the module alias. This help the pvpanic driver can be loaded on boot automatically not only

[PATCH] misc/pvpanic: Export module FDT device table

2021-02-18 Thread Shile Zhang
Export the module FDT device table to ensure the FDT compatible strings are listed in the module alias. This help the pvpanic driver can be loaded on boot automatically not only the ACPI device, but also the FDT device. Signed-off-by: Shile Zhang --- drivers/misc/pvpanic.c | 1 + 1 file changed

Re: [PATCH v2] virtio_ring: use alloc_pages_node for NUMA-aware allocation

2020-08-04 Thread Shile Zhang
Hi Michael & Bjorn, Sorry for the ping, but how about this patch/issue? any comments/suggestions? Thanks! On 2020/7/27 21:10, Shile Zhang wrote: On 2020/7/21 19:28, Shile Zhang wrote: On 2020/7/21 16:18, Michael S. Tsirkin wrote: On Tue, Jul 21, 2020 at 03:00:13PM +0800, Shile Z

Re: [PATCH v2] virtio_ring: use alloc_pages_node for NUMA-aware allocation

2020-07-27 Thread Shile Zhang
On 2020/7/21 19:28, Shile Zhang wrote: On 2020/7/21 16:18, Michael S. Tsirkin wrote: On Tue, Jul 21, 2020 at 03:00:13PM +0800, Shile Zhang wrote: Use alloc_pages_node() allocate memory for vring queue with proper NUMA affinity. Reported-by: kernel test robot Suggested-by: Jiang Liu

Re: [PATCH v2] virtio_ring: use alloc_pages_node for NUMA-aware allocation

2020-07-21 Thread Shile Zhang
On 2020/7/21 16:18, Michael S. Tsirkin wrote: On Tue, Jul 21, 2020 at 03:00:13PM +0800, Shile Zhang wrote: Use alloc_pages_node() allocate memory for vring queue with proper NUMA affinity. Reported-by: kernel test robot Suggested-by: Jiang Liu Signed-off-by: Shile Zhang Do you observe

[PATCH v2] virtio_ring: use alloc_pages_node for NUMA-aware allocation

2020-07-21 Thread Shile Zhang
Use alloc_pages_node() allocate memory for vring queue with proper NUMA affinity. Reported-by: kernel test robot Suggested-by: Jiang Liu Signed-off-by: Shile Zhang --- Changelog v1 -> v2: - fixed compile warning reported by LKP. --- drivers/virtio/virtio_ring.c | 10 ++ 1 file chan

[PATCH] virtio_ring: use alloc_pages_node for NUMA-aware allocation

2020-07-17 Thread Shile Zhang
Use alloc_pages_node() allocate memory for vring queue with proper NUMA affinity. Suggested-by: Jiang Liu Signed-off-by: Shile Zhang --- drivers/virtio/virtio_ring.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio

[RESEND PATCH] mm/hugetlb: topdown mmap supports for hugepage

2019-09-17 Thread shile . zhang
From: Shile Zhang Similar to other arches, this adds topdown mmap support for hugepage in user process address space allocation. It allows mmap big size hugepage. This patch copied from the implementation in arch/x86. Signed-off-by: Shile Zhang --- arch/arm/include/asm/page.h | 1 + arch/arm

[Regression][stable] Major hackbench pipes regression due to commit 'sched/fair: Search a task from the tail of the queue'

2019-04-26 Thread Shile Zhang
Hi, Uladzislau We found a major regression (more than -40%) of hackbench on 2VCPU (skylake) virtual machine, with LTS kernel v4.19.36. Following commit be bisect by test 'hackbench --thread --pipe --group 1 --loop 6' --- commit 93824900a2e242766f5fe6ae7697e3d7171aa234 Author: Uladzislau

Re: [PATCH] bcache: add cond_resched() in __bch_cache_cmp()

2019-03-07 Thread Shile Zhang
On 2019/3/7 23:44, Vojtech Pavlik wrote: On Thu, Mar 07, 2019 at 11:36:18PM +0800, Coly Li wrote: On 2019/3/7 11:06 下午, Shile Zhang wrote: On 2019/3/7 18:34, Coly Li wrote: On 2019/3/7 1:15 下午, shile.zh...@linux.alibaba.com wrote: From: Shile Zhang Read /sys/fs/bcache//cacheN

Re: [PATCH] bcache: add cond_resched() in __bch_cache_cmp()

2019-03-07 Thread Shile Zhang
On 2019/3/7 18:34, Coly Li wrote: On 2019/3/7 1:15 下午, shile.zh...@linux.alibaba.com wrote: From: Shile Zhang Read /sys/fs/bcache//cacheN/priority_stats can take very long time with huge cache after long run. Signed-off-by: Shile Zhang Hi Shile, Do you test your change

[PATCH] bcache: add cond_resched() in __bch_cache_cmp()

2019-03-06 Thread shile . zhang
From: Shile Zhang Read /sys/fs/bcache//cacheN/priority_stats can take very long time with huge cache after long run. Signed-off-by: Shile Zhang --- drivers/md/bcache/sysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/md/bcache/sysfs.c b/drivers/md/bcache/sysfs.c index 557a8a3

[PATCH] mm/page_alloc.c: fix typos in comments

2018-01-09 Thread Shile Zhang
Signed-off-by: Shile Zhang <zhangsh...@gmail.com> --- mm/page_alloc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 76c9688..bfd5f99 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -293,7 +293,7

[PATCH] mm/page_alloc.c: fix typos in comments

2018-01-09 Thread Shile Zhang
Signed-off-by: Shile Zhang --- mm/page_alloc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 76c9688..bfd5f99 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -293,7 +293,7 @@ int page_group_by_mobility_disabled

[PATCH v1] arm: fix the spacing/tabbing issue

2017-11-19 Thread Shile Zhang
To fix the style issue where spaces where used instead of tabs. Signed-off-by: Shile Zhang <shile.zh...@nokia-sbell.com> --- add more missed lines' fix. Thanks! arch/arm/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/Kconfig b/ar

[PATCH v1] arm: fix the spacing/tabbing issue

2017-11-19 Thread Shile Zhang
To fix the style issue where spaces where used instead of tabs. Signed-off-by: Shile Zhang --- add more missed lines' fix. Thanks! arch/arm/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index d1346a1..3728e7e

[PATCH] arm: fix the spacing/tabbing issue

2017-11-17 Thread Shile Zhang
To fix the style issue where spaces where used instead of tabs. Signed-off-by: Shile Zhang <shile.zh...@nokia-sbell.com> --- arch/arm/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7888c98..d5ee446 100644 ---

[PATCH] arm: fix the spacing/tabbing issue

2017-11-17 Thread Shile Zhang
To fix the style issue where spaces where used instead of tabs. Signed-off-by: Shile Zhang --- arch/arm/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7888c98..d5ee446 100644 --- a/arch/arm/Kconfig +++ b/arch/arm

[PATCH] mm/hugetlb: Implement ASLR and topdown for hugetlb mappings

2017-11-03 Thread Shile Zhang
merge from arch/x86 Signed-off-by: Shile Zhang <shile.zh...@nokia-sbell.com> --- arch/arm/include/asm/page.h | 1 + arch/arm/mm/hugetlbpage.c | 85 + 2 files changed, 86 insertions(+) diff --git a/arch/arm/include/asm/page.h b/arch/arm/inclu

[PATCH] mm/hugetlb: Implement ASLR and topdown for hugetlb mappings

2017-11-03 Thread Shile Zhang
merge from arch/x86 Signed-off-by: Shile Zhang --- arch/arm/include/asm/page.h | 1 + arch/arm/mm/hugetlbpage.c | 85 + 2 files changed, 86 insertions(+) diff --git a/arch/arm/include/asm/page.h b/arch/arm/include/asm/page.h index 4355f0e..994630f

[PATCH] watchdog: fix build error if define SOFTWARE_REBOOT

2017-04-10 Thread Shile Zhang
included from driver/watchdog/wdt_pci.c:51:0: include/linux/reboot.h:80:13: note: declared here extern void emergency_restart(void); ^ Signed-off-by: Shile Zhang <shile.zh...@nokia.com> --- drivers/watchdog/wdt_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] watchdog: fix build error if define SOFTWARE_REBOOT

2017-04-10 Thread Shile Zhang
included from driver/watchdog/wdt_pci.c:51:0: include/linux/reboot.h:80:13: note: declared here extern void emergency_restart(void); ^ Signed-off-by: Shile Zhang --- drivers/watchdog/wdt_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/wdt_pci.c b

[PATCH v3] hangcheck-timer: Fix typo in comment

2017-03-23 Thread Shile Zhang
Fix the typo "alloted" -> "allotted" in comment. Signed-off-by: Shile Zhang <shile.zh...@nokia.com> --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c

[PATCH v3] hangcheck-timer: Fix typo in comment

2017-03-23 Thread Shile Zhang
Fix the typo "alloted" -> "allotted" in comment. Signed-off-by: Shile Zhang --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index 4f33737..5406b90 10

[PATCH] hangcheck-timer: Fix typo in comment

2017-03-23 Thread Shile Zhang
Fix the typo "alloted" -> "allotted" in comment. Signed-off-by: Shile Zhang <shile.zh...@nokia.com> --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c

[PATCH] hangcheck-timer: Fix typo in comment

2017-03-23 Thread Shile Zhang
Fix the typo "alloted" -> "allotted" in comment. Signed-off-by: Shile Zhang --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index 4f33737..5406b90 10

[PATCH] hangcheck-timer: Fix typo in comment

2017-03-23 Thread Shile Zhang
Fix the typo "alloted" -> "allowed" in comment. Signed-off-by: Shile Zhang <shile.zh...@nokia.com> --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c

[PATCH] hangcheck-timer: Fix typo in comment

2017-03-23 Thread Shile Zhang
Fix the typo "alloted" -> "allowed" in comment. Signed-off-by: Shile Zhang --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index 4f33737..dcd37b1 10

[PATCH] hangcheck-timer: Fix typo in comment

2017-03-22 Thread Shile Zhang
Signed-off-by: Shile Zhang <shile.zh...@nokia.com> --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index 4f33737..dcd37b1 100644 --- a/drivers/char/hangcheck-timer.c

[PATCH] hangcheck-timer: Fix typo in comment

2017-03-22 Thread Shile Zhang
Signed-off-by: Shile Zhang --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index 4f33737..dcd37b1 100644 --- a/drivers/char/hangcheck-timer.c +++ b/drivers/char/hangcheck

[PATCH] hangcheck-timer: Fix typo in comment

2017-03-22 Thread Shile Zhang
Signed-off-by: Shile Zhang <shile.zh...@nokia.com> --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index 4f33737..dcd37b1 100644 --- a/drivers/char/hangcheck-timer.c

[PATCH] hangcheck-timer: Fix typo in comment

2017-03-22 Thread Shile Zhang
Signed-off-by: Shile Zhang --- drivers/char/hangcheck-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index 4f33737..dcd37b1 100644 --- a/drivers/char/hangcheck-timer.c +++ b/drivers/char/hangcheck

[tip:sched/core] sched/rt: Show the 'sched_rr_timeslice' SCHED_RR timeslice tuning knob in milliseconds

2017-02-01 Thread tip-bot for Shile Zhang
Commit-ID: 975e155ed8732cb81f55c021c441ae662dd040b5 Gitweb: http://git.kernel.org/tip/975e155ed8732cb81f55c021c441ae662dd040b5 Author: Shile Zhang <shile.zh...@nokia.com> AuthorDate: Sat, 28 Jan 2017 22:00:49 +0800 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Wed, 1

[tip:sched/core] sched/rt: Show the 'sched_rr_timeslice' SCHED_RR timeslice tuning knob in milliseconds

2017-02-01 Thread tip-bot for Shile Zhang
Commit-ID: 975e155ed8732cb81f55c021c441ae662dd040b5 Gitweb: http://git.kernel.org/tip/975e155ed8732cb81f55c021c441ae662dd040b5 Author: Shile Zhang AuthorDate: Sat, 28 Jan 2017 22:00:49 +0800 Committer: Ingo Molnar CommitDate: Wed, 1 Feb 2017 11:01:30 +0100 sched/rt: Show

[PATCH] sched: fix the inconsistent of SCHED_RR timeslice tuning knob showing

2017-01-28 Thread Shile Zhang
ng when HZ is not 1000, it seems like the value set failed, such as HZ=100: root# echo 100 > /proc/sys/kernel/sched_rr_timeslice_ms root# cat /proc/sys/kernel/sched_rr_timeslice_ms 10 This fix makes the sched_rr_timeslice shows in milliseconds. Signed-off-by: Shile Zhang <shile.zh...@nokia.com>

[PATCH] sched: fix the inconsistent of SCHED_RR timeslice tuning knob showing

2017-01-28 Thread Shile Zhang
ng when HZ is not 1000, it seems like the value set failed, such as HZ=100: root# echo 100 > /proc/sys/kernel/sched_rr_timeslice_ms root# cat /proc/sys/kernel/sched_rr_timeslice_ms 10 This fix makes the sched_rr_timeslice shows in milliseconds. Signed-off-by: Shile Zhang --- include/linux/sched