回复: 回复: Question on KASAN calltrace record in RT

2021-04-14 Thread Zhang, Qiang
发件人: Mike Galbraith 发送时间: 2021年4月14日 15:56 收件人: Zhang, Qiang; Dmitry Vyukov 抄送: Andrew Halaney; andreyk...@gmail.com; ryabinin@gmail.com; a...@linux-foundation.org; linux-kernel@vger.kernel.org; kasan-...@googlegroups.com 主题: Re: 回复: Question on

回复: Question on KASAN calltrace record in RT

2021-04-14 Thread Zhang, Qiang
发件人: Mike Galbraith 发送时间: 2021年4月14日 12:00 收件人: Dmitry Vyukov; Zhang, Qiang 抄送: Andrew Halaney; andreyk...@gmail.com; ryabinin@gmail.com; a...@linux-foundation.org; linux-kernel@vger.kernel.org; kasan-...@googlegroups.com 主题: Re: Question on KASAN

回复: Question on KASAN calltrace record in RT

2021-04-13 Thread Zhang, Qiang
发件人: Dmitry Vyukov 发送时间: 2021年4月13日 23:29 收件人: Zhang, Qiang 抄送: Andrew Halaney; andreyk...@gmail.com; ryabinin@gmail.com; a...@linux-foundation.org; linux-kernel@vger.kernel.org; kasan-...@googlegroups.com 主题: Re: Question on KASAN calltrace record

Question on KASAN calltrace record in RT

2021-04-06 Thread Zhang, Qiang
Hello everyone In RT system, after Andrew test, found the following calltrace , in KASAN, we record callstack through stack_depot_save(), in this function, may be call alloc_pages, but in RT, the spin_lock replace with rt_mutex in alloc_pages(), if before call this function, the irq is dis

回复: [PATCH v2] loop: call __loop_clr_fd() with lo_mutex locked to avoid autoclear race

2021-03-26 Thread Zhang, Qiang
发件人: Pavel Tatashin 发送时间: 2021年3月27日 5:41 收件人: Zhang, Qiang 抄送: Jens Axboe; linux-bl...@vger.kernel.org; LKML 主题: Re: [PATCH v2] loop: call __loop_clr_fd() with lo_mutex locked to avoid autoclear race [Please note: This e-mail is from an EXTERNAL e

回复: [PATCH] loop: Fix use of unsafe lo->lo_mutex locks

2021-03-26 Thread Zhang, Qiang
发件人: Pavel Tatashin 发送时间: 2021年3月25日 21:09 收件人: Zhang, Qiang 抄送: Jens Axboe; linux-bl...@vger.kernel.org; LKML 主题: Re: [PATCH] loop: Fix use of unsafe lo->lo_mutex locks [Please note: This e-mail is from an EXTERNAL e-mail address] >Hi Qiang, &g

回复: [PATCH] loop: Fix use of unsafe lo->lo_mutex locks

2021-03-25 Thread Zhang, Qiang
发件人: Pavel Tatashin 发送时间: 2021年3月25日 21:09 收件人: Zhang, Qiang 抄送: Jens Axboe; linux-bl...@vger.kernel.org; LKML 主题: Re: [PATCH] loop: Fix use of unsafe lo->lo_mutex locks [Please note: This e-mail is from an EXTERNAL e-mail address] >Hi Qiang, &g

回复: [PATCH v2] bpf: Fix memory leak in copy_process()

2021-03-16 Thread Zhang, Qiang
Hello Alexei Starovoitov Daniel Borkmann Please review this patch. Thanks Qiang 发件人: Zhang, Qiang 发送时间: 2021年3月15日 16:53 收件人: a...@kernel.org; dan...@iogearbox.net; and...@kernel.org 抄送: dvyu...@google.com; linux-kernel@vger.kernel.org; syzbot

回复: [PATCH] ARM: Fix incorrect use of smp_processor_id() by syzbot report

2021-03-11 Thread Zhang, Qiang
发件人: Dmitry Vyukov 发送时间: 2021年3月12日 14:30 收件人: Zhang, Qiang 抄送: Russell King - ARM Linux; Andrew Morton; LKML; Linux ARM; syzkaller-bugs 主题: Re: [PATCH] ARM: Fix incorrect use of smp_processor_id() by syzbot report [Please note: This e-mail is from an

回复: possible deadlock in io_poll_double_wake (2)

2021-03-03 Thread Zhang, Qiang
发件人: Zhang, Qiang 发送时间: 2021年3月3日 20:15 收件人: Jens Axboe; syzbot; asml.sile...@gmail.com; io-ur...@vger.kernel.org; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; syzkaller-b...@googlegroups.com; v...@zeniv.linux.org.uk 主题: 回复: possible

回复: possible deadlock in io_poll_double_wake (2)

2021-03-03 Thread Zhang, Qiang
发件人: Jens Axboe 发送时间: 2021年3月3日 1:20 收件人: syzbot; asml.sile...@gmail.com; io-ur...@vger.kernel.org; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; syzkaller-b...@googlegroups.com; v...@zeniv.linux.org.uk 主题: Re: possible deadlock in io_pol

回复: [PATCH v2] workqueue: Move the position of debug_work_activate() in __queue_work()

2021-03-03 Thread Zhang, Qiang
Hello Tejun Please review this change. Thanks Qiang > >发件人: Zhang, Qiang >发送时间: 2021年2月18日 11:17 >收件人: jiangshan...@gmail.com; t...@kernel.org >抄送: linux-kernel@vger.kernel.org >主题: [PATCH v2] workqueue: Move the position of >deb

回复: possible deadlock in io_poll_double_wake (2)

2021-02-28 Thread Zhang, Qiang
发件人: Jens Axboe 发送时间: 2021年3月1日 7:08 收件人: syzbot; asml.sile...@gmail.com; io-ur...@vger.kernel.org; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; syzkaller-b...@googlegroups.com; v...@zeniv.linux.org.uk 主题: Re: possible deadlock in io_pol

回复: [PATCH] workqueue: Remove rcu_read_lock/unlock() in workqueue_congested()

2021-02-22 Thread Zhang, Qiang
发件人: Paul E. McKenney 发送时间: 2021年2月18日 23:17 收件人: Lai Jiangshan 抄送: Zhang, Qiang; Tejun Heo; Tejun Heo; LKML 主题: Re: [PATCH] workqueue: Remove rcu_read_lock/unlock() in workqueue_congested() [Please note: This e-mail is from an EXTERNAL e-mail address

回复: [PATCH] workqueue: Move the position of debug_work_activate() in __queue_work()

2021-02-17 Thread Zhang, Qiang
Hello Tejun Heo Excuse me, do you have time to make some suggestions for this modification? Thanks Qiang 发件人: Zhang, Qiang 发送时间: 2021年2月11日 16:24 收件人: t...@kernel.org; jiangshan...@gmail.com 抄送: linux-kernel@vger.kernel.org 主题: [PATCH] workqueue: Move

回复: 回复: [PATCH v3] kvfree_rcu: Release page cache under memory pressure

2021-02-05 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年2月4日 22:09 收件人: Zhang, Qiang 抄送: Uladzislau Rezki; paul...@kernel.org; j...@joelfernandes.org; r...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: 回复: [PATCH v3] kvfree_rcu: Release page cache under memory

回复: [PATCH] uprobes: Fix kasan UAF reported by syzbot

2021-02-05 Thread Zhang, Qiang
Hello peterz This ("rbtree, uprobes: Use rbtree helpers")modification misses the increase in the reference count , syzbot have been reporting recently . Thanks Qiang 发件人: Zhang, Qiang 发送时间: 2021年2月2日 17:17 收件人: pet...@infradead.org; mi...@

回复: [PATCH v3] kvfree_rcu: Release page cache under memory pressure

2021-02-04 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年2月2日 3:57 收件人: Zhang, Qiang 抄送: ure...@gmail.com; paul...@kernel.org; j...@joelfernandes.org; r...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH v3] kvfree_rcu: Release page cache under memory pressure

回复: [PATCH v3] kvfree_rcu: Release page cache under memory pressure

2021-02-04 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年2月2日 3:57 收件人: Zhang, Qiang 抄送: ure...@gmail.com; paul...@kernel.org; j...@joelfernandes.org; r...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH v3] kvfree_rcu: Release page cache under memory pressure

回复: [PATCH v3] kvfree_rcu: Release page cache under memory pressure

2021-02-01 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年2月2日 3:57 收件人: Zhang, Qiang 抄送: ure...@gmail.com; paul...@kernel.org; j...@joelfernandes.org; r...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH v3] kvfree_rcu: Release page cache under memory pressure

回复: [PATCH v2] kvfree_rcu: Release page cache under memory pressure

2021-01-30 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年1月29日 22:19 收件人: Zhang, Qiang 抄送: ure...@gmail.com; paul...@kernel.org; j...@joelfernandes.org; r...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH v2] kvfree_rcu: Release page cache under memory pressure

回复: [PATCH] PM: remove PF_WQ_WORKER mask

2021-01-27 Thread Zhang, Qiang
发件人: Rafael J. Wysocki 发送时间: 2021年1月28日 2:16 收件人: Zhang, Qiang 抄送: Rafael Wysocki; Linux PM; Linux Kernel Mailing List 主题: Re: [PATCH] PM: remove PF_WQ_WORKER mask [Please note: This e-mail is from an EXTERNAL e-mail address] On Mon, Jan 25, 2021 at 5

回复: 回复: 回复: [PATCH] rcu: Release per-cpu krcp page cache when CPU going offline

2021-01-27 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年1月26日 22:07 收件人: Zhang, Qiang 抄送: Uladzislau Rezki; Paul E. McKenney; r...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: 回复: 回复: [PATCH] rcu: Release per-cpu krcp page cache when CPU going offline > >

回复: [PATCH] PM: remove PF_WQ_WORKER mask

2021-01-26 Thread Zhang, Qiang
发件人: Zhang, Qiang 发送时间: 2021年1月25日 12:00 收件人: rafael.j.wyso...@intel.com 抄送: linux...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: [PATCH] PM: remove PF_WQ_WORKER mask From: Zqiang Due to kworker also is kernel thread, it's already inc

回复: [PATCH] sched/core: add rcu_read_lock/unlock() protection

2021-01-26 Thread Zhang, Qiang
发件人: Zhang, Qiang 发送时间: 2021年1月26日 16:29 收件人: valentin.schnei...@arm.com 抄送: pet...@infradead.org; linux-kernel@vger.kernel.org 主题: [PATCH] sched/core: add rcu_read_lock/unlock() protection >From: Zqiang >Due to for_each_process_thread belongs

回复: 回复: 回复: [PATCH 3/3] kvfree_rcu: use migrate_disable/enable()

2021-01-26 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年1月25日 21:49 收件人: Zhang, Qiang 抄送: Uladzislau Rezki; LKML; RCU; Paul E . McKenney; Michael Ellerman; Andrew Morton; Daniel Axtens; Frederic Weisbecker; Neeraj Upadhyay; Joel Fernandes; Peter Zijlstra; Michal Hocko

Question on migrate_disabe/enable()

2021-01-26 Thread Zhang, Qiang
Hello Peterz, tglx I have some questions about migrate_disabe/enable(), in the past migrate_disabe/enable() is replaced by preempt_disable/enable() in no RT system. And now migrate_disabe/enable() has its own implementation, I want to know in migrate_disabe/enable() critical area is blocking a

回复: 回复: [PATCH 3/3] kvfree_rcu: use migrate_disable/enable()

2021-01-24 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年1月25日 5:57 收件人: Zhang, Qiang 抄送: Uladzislau Rezki (Sony); LKML; RCU; Paul E . McKenney; Michael Ellerman; Andrew Morton; Daniel Axtens; Frederic Weisbecker; Neeraj Upadhyay; Joel Fernandes; Peter Zijlstra; Michal Hocko

回复: 回复: [PATCH 3/3] kvfree_rcu: use migrate_disable/enable()

2021-01-24 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年1月25日 5:57 收件人: Zhang, Qiang 抄送: Uladzislau Rezki (Sony); LKML; RCU; Paul E . McKenney; Michael Ellerman; Andrew Morton; Daniel Axtens; Frederic Weisbecker; Neeraj Upadhyay; Joel Fernandes; Peter Zijlstra; Michal Hocko

回复: 回复: [PATCH] rcu: Release per-cpu krcp page cache when CPU going offline

2021-01-23 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年1月22日 22:31 收件人: Zhang, Qiang 抄送: Uladzislau Rezki; Paul E. McKenney; r...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: 回复: [PATCH] rcu: Release per-cpu krcp page cache when CPU going offline On Fri, Jan 22

回复: [PATCH 3/3] kvfree_rcu: use migrate_disable/enable()

2021-01-23 Thread Zhang, Qiang
> >发件人: Uladzislau Rezki (Sony) >发送时间: 2021年1月21日 0:21 >收件人: LKML; RCU; Paul E . McKenney; Michael Ellerman >抄送: Andrew Morton; Daniel Axtens; Frederic Weisbecker; Neeraj >Upadhyay; Joel >Fernandes; Peter Zijlstra; Michal Hocko; Thomas >Gleixner; Theodore

回复: [PATCH] rcu: Release per-cpu krcp page cache when CPU going offline

2021-01-21 Thread Zhang, Qiang
发件人: Uladzislau Rezki 发送时间: 2021年1月22日 4:26 收件人: Zhang, Qiang 抄送: Paul E. McKenney; r...@vger.kernel.org; linux-kernel@vger.kernel.org; ure...@gmail.com 主题: Re: [PATCH] rcu: Release per-cpu krcp page cache when CPU going offline >Hello, Qiang, >

回复: Question on workqueue: Manually break affinity on hotplug

2021-01-17 Thread Zhang, Qiang
runq, when wake up, other online CPUs will also be selected to run. what I want to ask is why we take the initiative to set it up? Thanks Qiang 发件人: Peter Zijlstra 发送时间: 2021年1月14日 17:11 收件人: Zhang, Qiang 抄送: linux-kernel@vger.kernel.org 主题: Re: Q

Question on workqueue: Manually break affinity on hotplug

2021-01-14 Thread Zhang, Qiang
Hello Peter Excuse me, I have some questions for you, about a description of this change: ''Don't rely on the scheduler to force break affinity for us -- it will stop doing that for per-cpu-kthreads." this mean when cpuhotplug, scheduler do not change affinity for per-cpu-kthread's task, if w

回复: KASAN: use-after-free Read in usb_anchor_resume_wakeups (2)

2021-01-11 Thread Zhang, Qiang
发件人: Zhang, Qiang 发送时间: 2021年1月12日 11:28 收件人: syzbot; a.darw...@linutronix.de; allen.l...@gmail.com; andreyk...@google.com; dvyu...@google.com; el...@google.com; gre...@linuxfoundation.org; gustavo...@kernel.org; linux-kernel@vger.kernel.org; linux

回复: KASAN: use-after-free Read in usb_anchor_resume_wakeups (2)

2021-01-11 Thread Zhang, Qiang
发件人: syzbot 发送时间: 2021年1月12日 0:11 收件人: a.darw...@linutronix.de; allen.l...@gmail.com; andreyk...@google.com; dvyu...@google.com; el...@google.com; gre...@linuxfoundation.org; gustavo...@kernel.org; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org

回复: KASAN: use-after-free Read in service_outstanding_interrupt

2021-01-04 Thread Zhang, Qiang
发件人: Oliver Neukum 发送时间: 2021年1月5日 0:28 收件人: syzbot; andreyk...@google.com; gre...@linuxfoundation.org; gustavo...@kernel.org; ingras...@epigenesys.com; lee.jo...@linaro.org; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; penguin-ker...@i-lov

回复: [PATCH] ipc/sem.c: Convert kfree_rcu() to call_rcu() in freeary function

2020-12-30 Thread Zhang, Qiang
发件人: Paul E. McKenney 发送时间: 2020年12月31日 0:19 收件人: Zhang, Qiang 抄送: a...@linux-foundation.org; manf...@colorfullife.com; gustavo...@kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] ipc/sem.c: Convert kfree_rcu() to call_rcu() in freeary function

回复: INFO: task hung in ath6kl_usb_destroy (3)

2020-11-30 Thread Zhang, Qiang
发件人: syzbot 发送时间: 2020年11月30日 23:31 收件人: andreyk...@google.com; da...@davemloft.net; k...@kernel.org; kv...@codeaurora.org; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; linux-wirel...@vger.kernel.org; net...@vger.kernel.org; syzkaller-b...@

回复: [PATCH] srcu: Remove srcu_cblist_invoking member from sdp

2020-11-19 Thread Zhang, Qiang
发件人: Paul E. McKenney 发送时间: 2020年11月20日 2:12 收件人: Zhang, Qiang 抄送: jiangshan...@gmail.com; rost...@goodmis.org; j...@joshtriplett.org; r...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] srcu: Remove srcu_cblist_invoking member from sdp

回复: [PATCH] kthread_worker: Add flush delayed work func

2020-11-13 Thread Zhang, Qiang
发件人: Andrew Morton 发送时间: 2020年11月13日 8:01 收件人: Zhang, Qiang 抄送: pmla...@suse.com; t...@kernel.org; linux...@kvack.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] kthread_worker: Add flush delayed work func [Please note this e-mail is from an EXTERNAL

回复: memory leak in __usbhid_submit_report

2020-11-13 Thread Zhang, Qiang
发件人: syzbot 发送时间: 2020年11月11日 21:55 收件人: benjamin.tissoi...@redhat.com; ji...@kernel.org; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; syzkaller-b...@googlegroups.com 主题: memory leak in __usbhid_submit_report [P

回复: 回复: [PATCH v2] kthread_worker: re-set CPU affinities if CPU come online

2020-10-29 Thread Zhang, Qiang
发件人: Thomas Gleixner 发送时间: 2020年10月28日 17:23 收件人: Zhang, Qiang; pmla...@suse.com; t...@kernel.org 抄送: a...@linux-foundation.org; linux...@kvack.org; linux-kernel@vger.kernel.org 主题: Re: 回复: [PATCH v2] kthread_worker: re-set CPU affinities if CPU come

回复: [PATCH v2] kthread_worker: re-set CPU affinities if CPU come online

2020-10-28 Thread Zhang, Qiang
发件人: Thomas Gleixner 发送时间: 2020年10月28日 16:30 收件人: Zhang, Qiang; pmla...@suse.com; t...@kernel.org 抄送: a...@linux-foundation.org; linux...@kvack.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH v2] kthread_worker: re-set CPU affinities if CPU come online

回复: [PATCH] io-wq: set task TASK_INTERRUPTIBLE state before schedule_timeout

2020-10-28 Thread Zhang, Qiang
发件人: Jens Axboe 发送时间: 2020年10月27日 21:35 收件人: Zhang, Qiang 抄送: io-ur...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] io-wq: set task TASK_INTERRUPTIBLE state before schedule_timeout On 10/26/20 9:09 PM, qiang.zh...@windriver.com wrote

回复: Question on io-wq

2020-10-22 Thread Zhang, Qiang
发件人: Zhang, Qiang 发送时间: 2020年10月23日 11:55 收件人: Jens Axboe 抄送: v...@zeniv.linux.org.uk; io-ur...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org 主题: 回复: Question on io-wq 发件人: Jens

回复: Question on io-wq

2020-10-22 Thread Zhang, Qiang
发件人: Jens Axboe 发送时间: 2020年10月22日 22:08 收件人: Zhang, Qiang 抄送: v...@zeniv.linux.org.uk; io-ur...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org 主题: Re: Question on io-wq On 10/22/20 3:02 AM, Zhang,Qiang wrote: > > H

Question on io-wq

2020-10-22 Thread Zhang, Qiang
Hi Jens Axboe There are some problem in 'io_wqe_worker' thread, when the 'io_wqe_worker' be create and Setting the affinity of CPUs in NUMA nodes, due to CPU hotplug, When the last CPU going down, the 'io_wqe_worker' thread will run anywhere. when the CPU in the node goes online again, we sh

Question on io-wq

2020-10-22 Thread Zhang,Qiang
Hi Jens Axboe There are some problem in 'io_wqe_worker' thread, when the 'io_wqe_worker' be create and Setting the affinity of CPUs in NUMA nodes, due to CPU hotplug, When the last CPU going down, the 'io_wqe_worker' thread will run anywhere. when the CPU in the node goes online again, we

回复: 回复: [PATCH] btrfs: Fix missing close devices

2020-09-22 Thread Zhang, Qiang
发件人: Johannes Thumshirn 发送时间: 2020年9月21日 17:17 收件人: Zhang, Qiang; c...@fb.com; jo...@toxicpanda.com; dste...@suse.com; syzbot+582e66e5edf36a22c...@syzkaller.appspotmail.com 抄送: linux-bt...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: 回复: [PATCH

回复: [PATCH] btrfs: Fix missing close devices

2020-09-21 Thread Zhang, Qiang
发件人: Johannes Thumshirn 发送时间: 2020年9月21日 16:52 收件人: Zhang, Qiang; c...@fb.com; jo...@toxicpanda.com; dste...@suse.com 抄送: linux-bt...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] btrfs: Fix missing close devices On 21/09/2020 10:27

Re: 回复: RCU: Question on force_qs_rnp

2020-09-15 Thread Zhang,Qiang
On 9/16/20 2:06 AM, Paul E. McKenney wrote: On Tue, Sep 15, 2020 at 01:16:39PM +0800, Zhang,Qiang wrote: On 9/15/20 11:41 AM, Paul E. McKenney wrote: On Tue, Sep 15, 2020 at 03:18:23AM +, Zhang, Qiang wrote: 发件人: Paul E. McKenney 发送时间: 2020

回复: 回复: [PATCH v3] debugobjects: install CPU hotplug callback

2020-09-15 Thread Zhang, Qiang
发件人: Waiman Long 发送时间: 2020年9月10日 10:50 收件人: Zhang, Qiang; t...@linutronix.de; mi...@kernel.org; el...@google.com 抄送: linux-kernel@vger.kernel.org 主题: Re: 回复: [PATCH v3] debugobjects: install CPU hotplug callback On 9/9/20 9:48 PM, Zhang, Qiang wrote

Re: 回复: RCU: Question on force_qs_rnp

2020-09-14 Thread Zhang,Qiang
On 9/15/20 11:41 AM, Paul E. McKenney wrote: On Tue, Sep 15, 2020 at 03:18:23AM +, Zhang, Qiang wrote: 发件人: Paul E. McKenney 发送时间: 2020年9月15日 4:56 收件人: Joel Fernandes 抄送: Zhang, Qiang; Uladzislau Rezki; j...@joshtriplett.org; rost

回复: RCU: Question on force_qs_rnp

2020-09-14 Thread Zhang, Qiang
发件人: Paul E. McKenney 发送时间: 2020年9月15日 4:56 收件人: Joel Fernandes 抄送: Zhang, Qiang; Uladzislau Rezki; j...@joshtriplett.org; rost...@goodmis.org; mathieu.desnoy...@efficios.com; Lai Jiangshan; r...@vger.kernel.org; LKML 主题: Re: RCU: Question on

RCU: Question on force_qs_rnp

2020-09-14 Thread Zhang, Qiang
Hello Paul I have some questions for you . in force_qs_rnp func , if "f(rdp)" func return true we will call rcu_report_qs_rnp func report a quiescent state for this rnp node, and clear grpmask form rnp->qsmask. after that , can we make a check for this rnp->qsmask, if rnp->qsmask == 0, we w

回复: RCU: Question rcu_preempt_blocked_readers_cgp in rcu_gp_fqs_loop func

2020-09-09 Thread Zhang, Qiang
发件人: Paul E. McKenney 发送时间: 2020年9月9日 19:22 收件人: Zhang, Qiang 抄送: Joel Fernandes; Uladzislau Rezki; Josh Triplett; Steven Rostedt; Mathieu Desnoyers; Lai Jiangshan; rcu; LKML 主题: Re: RCU: Question rcu_preempt_blocked_readers_cgp in rcu_gp_fqs_loop

回复: [PATCH v3] debugobjects: install CPU hotplug callback

2020-09-09 Thread Zhang, Qiang
发件人: Waiman Long 发送时间: 2020年9月9日 2:23 收件人: Zhang, Qiang; t...@linutronix.de; mi...@kernel.org; el...@google.com 抄送: linux-kernel@vger.kernel.org 主题: Re: [PATCH v3] debugobjects: install CPU hotplug callback On 9/8/20 2:27 AM, qiang.zh...@windriver.com

RCU: Question rcu_preempt_blocked_readers_cgp in rcu_gp_fqs_loop func

2020-09-09 Thread Zhang, Qiang
When config preempt RCU, and then there are multiple levels node, the current task is preempted in rcu read critical region. the current task be add to "rnp->blkd_tasks" link list, and the "rnp->gp_tasks" may be assigned a value . these rnp is leaf node in RCU tree. But in "rcu_gp_fqs_

[no subject]

2020-09-08 Thread Zhang, Qiang
When config preempt RCU, if task switch happened in rcu read critical region. the current task be add to "rnp->blkd_tasks" link list, these rnp is leaf node in RCUtree. In "rcu_gp_fqs_loop" func, static void rcu_gp_fqs_loop(void) { struct rcu_node *rnp = rcu_get_root(); }

回复: [PATCH v2] debugobjects: install cpu hotplug callback

2020-09-03 Thread Zhang, Qiang
tglx please review. Thanks Qiang 发件人: linux-kernel-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年8月27日 13:06 收件人: t...@linutronix.de; long...@redhat.com; el...@google.com 抄送: linux-kernel@vger.kernel.org 主题: [PATCH v2] debugobjects: insta

回复: 回复: [PATCH] debugobjects: install cpu hotplug callback

2020-08-26 Thread Zhang, Qiang
发件人: linux-kernel-ow...@vger.kernel.org 代表 Thomas Gleixner 发送时间: 2020年8月26日 7:53 收件人: Waiman Long; Zhang, Qiang; el...@google.com 抄送: linux-kernel@vger.kernel.org; a...@linux-foundation.org 主题: Re: 回复: [PATCH] debugobjects: install cpu hotplug callback

回复: [PATCH] debugobjects: install cpu hotplug callback

2020-08-24 Thread Zhang, Qiang
发件人: linux-kernel-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年8月20日 11:24 收件人: t...@linutronix.de; el...@google.com; long...@redhat.com 抄送: linux-kernel@vger.kernel.org 主题: [PATCH] debugobjects: install cpu hotplug callback From: Zqian

回复: [PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group

2020-08-18 Thread Zhang, Qiang
cc: Dan Williams Please review. 发件人: linux-kernel-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年8月12日 16:55 收件人: dan.j.willi...@intel.com; vishal.l.ve...@intel.com; dave.ji...@intel.com; ira.we...@intel.com 抄送: linux-nvd...@lists.01.org;

回复: [PATCH] rcu: shrink each possible cpu krcp

2020-08-18 Thread Zhang, Qiang
发件人: linux-kernel-ow...@vger.kernel.org 代表 Joel Fernandes 发送时间: 2020年8月19日 8:04 收件人: Paul E. McKenney 抄送: Uladzislau Rezki; Zhang, Qiang; Josh Triplett; Steven Rostedt; Mathieu Desnoyers; Lai Jiangshan; rcu; LKML 主题: Re: [PATCH] rcu: shrink each

转发: upstream test error: WARNING in do_epoll_wait

2020-08-06 Thread Zhang, Qiang
> >发件人: linux-kernel-ow...@vger.kernel.org >>代表 syzbot >发送时间: 2020年8月5日 15:19 >收件人: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; >>syzkaller->b...@googlegroups.com; v...@zeniv.linux.org.uk >主题: upstream test error: WARNING in do_epoll_wa

回复: 回复: [PATCH] ALSA: seq: KASAN: use-after-free Read in delete_and_unsubscribe_port

2020-08-03 Thread Zhang, Qiang
发件人: Takashi Iwai 发送时间: 2020年8月3日 14:16 收件人: Zhang, Qiang 抄送: pe...@perex.cz; ti...@suse.com; alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org 主题: Re: 回复: [PATCH] ALSA: seq: KASAN: use-after-free Read in delete_and_unsubscribe_port On Mon, 03

回复: [PATCH] ALSA: seq: KASAN: use-after-free Read in delete_and_unsubscribe_port

2020-08-02 Thread Zhang, Qiang
发件人: Takashi Iwai 发送时间: 2020年8月1日 17:39 收件人: Zhang, Qiang 抄送: pe...@perex.cz; ti...@suse.com; alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] ALSA: seq: KASAN: use-after-free Read in delete_and_unsubscribe_port On Sat, 01 Aug

回复: [PATCH v3] mm/slab.c: add node spinlock protect in __cache_free_alien

2020-07-31 Thread Zhang, Qiang
发件人: Zhang, Qiang 发送时间: 2020年7月31日 9:27 收件人: David Rientjes 抄送: c...@linux.com; penb...@kernel.org; iamjoonsoo@lge.com; a...@linux-foundation.org; linux...@kvack.org; linux-kernel@vger.kernel.org 主题: 回复: [PATCH v3] mm/slab.c: add node spinlock

回复: [PATCH v3] mm/slab.c: add node spinlock protect in __cache_free_alien

2020-07-30 Thread Zhang, Qiang
发件人: David Rientjes 发送时间: 2020年7月31日 7:45 收件人: Zhang, Qiang 抄送: c...@linux.com; penb...@kernel.org; iamjoonsoo@lge.com; a...@linux-foundation.org; linux...@kvack.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH v3] mm/slab.c: add node spinlock

回复: KASAN: use-after-free Read in delete_and_unsubscribe_port (2)

2020-07-29 Thread Zhang, Qiang
发件人: linux-kernel-ow...@vger.kernel.org 代表 syzbot 发送时间: 2020年7月30日 11:33 收件人: alsa-devel-ow...@alsa-project.org; alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org; pe...@perex.cz; syzkaller-b...@googlegroups.com; ti...@suse.com 主题: Re: KASAN:

回复: INFO: rcu detected stall in tc_modify_qdisc

2020-07-29 Thread Zhang, Qiang
发件人: linux-kernel-ow...@vger.kernel.org 代表 syzbot 发送时间: 2020年7月29日 13:53 收件人: da...@davemloft.net; fweis...@gmail.com; j...@mojatatu.com; j...@resnulli.us; linux-kernel@vger.kernel.org; mi...@kernel.org; net...@vger.kernel.org; syzkaller-b...@googlegr

回复: [PATCH] mm/slab.c: add node spinlock protect in __cache_free_alien

2020-07-28 Thread Zhang, Qiang
发件人: David Rientjes 发送时间: 2020年7月29日 3:46 收件人: Zhang, Qiang 抄送: c...@linux.com; penb...@kernel.org; iamjoonsoo@lge.com; a...@linux-foundation.org; linux...@kvack.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] mm/slab.c: add node spinlock protect

回复: [PATCH v2] tipc: Don't using smp_processor_id() in preemptible code

2020-07-14 Thread Zhang, Qiang
发件人: Zhang, Qiang 发送时间: 2020年7月15日 13:27 收件人: Tuong Tong Lien; Eric Dumazet; jma...@redhat.com; da...@davemloft.net; k...@kernel.org; Xue, Ying 抄送: net...@vger.kernel.org; tipc-discuss...@lists.sourceforge.net; linux-kernel@vger.kernel.org 主题: 回复

回复: [PATCH v2] tipc: Don't using smp_processor_id() in preemptible code

2020-07-14 Thread Zhang, Qiang
发件人: Tuong Tong Lien 发送时间: 2020年7月15日 11:53 收件人: Zhang, Qiang; Eric Dumazet; jma...@redhat.com; da...@davemloft.net; k...@kernel.org; Xue, Ying 抄送: net...@vger.kernel.org; tipc-discuss...@lists.sourceforge.net; linux-kernel@vger.kernel.org 主题: RE

回复: [PATCH v2] tipc: Don't using smp_processor_id() in preemptible code

2020-07-14 Thread Zhang, Qiang
发件人: Eric Dumazet 发送时间: 2020年7月14日 22:15 收件人: Zhang, Qiang; jma...@redhat.com; da...@davemloft.net; k...@kernel.org; tuong.t.l...@dektech.com.au; eric.duma...@gmail.com; Xue, Ying 抄送: net...@vger.kernel.org; tipc-discuss...@lists.sourceforge.net; linux

回复: WARNING in submit_audio_out_urb/usb_submit_urb

2020-07-10 Thread Zhang, Qiang
h asynchronous operations. can replace "cancel_delayed_work" with" cancel_delayed_work_sync" in "line6_disconnect" func? Zhang Qiang Kernel Offset: disabled Rebooting in 86400 seconds.. --- This bug is generated by a bot. It may contain errors. See https://goo.

回复: 回复: [kthread] a90477f0c9: WARNING:at_kernel/kthread.c:#kthread_queue_work

2020-07-07 Thread Zhang, Qiang
Thanks for you reply Pter, if the patch was add , like you said there are more work to do. so need remove the patch from -mm tree. Best Regards, Zhang Qiang 发件人: Petr Mladek 发送时间: 2020年7月7日 17:47 收件人: Zhang, Qiang 抄送: Andrew Morton; linux-kernel

回复: [PATCH v4] kthread: Work could not be queued when worker being destroyed

2020-07-07 Thread Zhang, Qiang
Sorry, Pter Mladek, this is my mistake please ignore this change. 发件人: linux-kernel-ow...@vger.kernel.org 代表 Petr Mladek 发送时间: 2020年7月7日 17:06 收件人: Zhang, Qiang 抄送: ben.do...@codethink.co.uk; bfie...@redhat.com; c...@rock-chips.com; pet

回复: [PATCH v3] usb: gadget: function: fix missing spinlock in f_uac1_legacy

2020-07-06 Thread Zhang, Qiang
io_out_ep_complete" func there is no protection for the operation of this "audio->play_queue". there are missing spinlock, Fix tags should add up here commit? ________ 发件人: Greg KH 发送时间: 2020年7月7日 3:55 收件人: Zhang, Qiang 抄送: ba...@kernel.org; colin.k...@ca

回复: [PATCH v3] kthread: Work could not be queued when worker being destroyed

2020-07-06 Thread Zhang, Qiang
ker_fn is not begin running, if queue work to worker, the "!worker->task" = true, trigger WARN. ____ 发件人: Tejun Heo 代表 Tejun Heo 发送时间: 2020年7月6日 22:59 收件人: Zhang, Qiang 抄送: ben.do...@codethink.co.uk; bfie...@redhat.com; c...@rock-chips.com; pet...@infradead.org; pmla...@sus

回复: [PATCH v2] usb: gadget: function: fix missing spinlock in f_uac1_legacy

2020-07-06 Thread Zhang, Qiang
Thanks for your suggestin Greg KH I think there is not need fix tags. I will resend. thanks, Zhang Qiang 发件人: Greg KH 发送时间: 2020年7月6日 18:31 收件人: Zhang, Qiang 抄送: ba...@kernel.org; colin.k...@canonical.com; linux-...@vger.kernel.org; linux-kernel

回复: [kthread] a90477f0c9: WARNING:at_kernel/kthread.c:#kthread_queue_work

2020-07-06 Thread Zhang, Qiang
发件人: Zhang, Qiang 发送时间: 2020年7月6日 18:17 收件人: Petr Mladek 抄送: Andrew Morton; linux-kernel@vger.kernel.org 主题: 回复: [kthread] a90477f0c9: WARNING:at_kernel/kthread.c:#kthread_queue_work Hi , Petr Mladek There some question for "Work could not be q

回复: [PATCH] usb: gadget: function: fix missing spinlock in f_uac1_legacy

2020-07-06 Thread Zhang, Qiang
Sorry, I will add changelog and resend. Zhang Qiang 发件人: Greg KH 发送时间: 2020年7月6日 15:40 收件人: Zhang, Qiang 抄送: ba...@kernel.org; colin.k...@canonical.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] usb: gadget: function: fix

回复: [PATCH] usb: gadget: function: fix missing spinlock in f_uac1_legacy

2020-07-05 Thread Zhang, Qiang
: function: fix missing spinlock in f_uac1_legacy From: Zhang Qiang Signed-off-by: Zhang Qiang --- drivers/usb/gadget/function/f_uac1_legacy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/function/f_uac1_legacy.c b/drivers/usb/gadget/function/f_uac1_legacy.c index

回复: [PATCH] kthread: Don't cancel a work that is being cancelled

2020-07-03 Thread Zhang, Qiang
15:28 收件人: Zhang, Qiang 抄送: ben.do...@codethink.co.uk; bfie...@redhat.com; c...@rock-chips.com; pet...@infradead.org; t...@kernel.org; linux-kernel@vger.kernel.org 主题: Re: [PATCH] kthread: Don't cancel a work that is being cancelled On Thu 2020-07-02 12:43:24, qiang.zh...@windriver.com wrote: >

回复: [PATCH] usb: gadget: function: printer: The device interface is reset and should return error code

2020-06-29 Thread Zhang, Qiang
Hi Felipe, Please check this patch and make suggestions . Thanks Zqiang 发件人: linux-usb-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年6月28日 9:57 收件人: felipe.ba...@linux.intel.com 抄送: gre...@linuxfoundation.org; linux-...@vger.kernel.org;

回复: [PATCH] usb: gadget: function: printer: Add gadget dev interface status judgment

2020-06-27 Thread Zhang, Qiang
发件人: linux-usb-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年6月15日 17:46 收件人: ba...@kernel.org 抄送: gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: [PATCH] usb: gadget: function: printer: Add gadge

回复: [PATCH] usb: gadget: function: printer: Add gadget dev interface status judgment

2020-06-24 Thread Zhang, Qiang
Hello, Greg KH Please have you review the patch? thanks Zqiang 发件人: linux-usb-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年6月15日 17:46 收件人: ba...@kernel.org 抄送: gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux-kernel@vger.ke

Re: [PATCH] usb: gadget: function: printer: fix use-after-free in __lock_acquire

2020-06-22 Thread Zhang,Qiang
I cannot find a reference count for this structure(printer_dev). In this scenario: When the Character device is still open, if you operate the device through configfs and execute commands like unlink, the resources allocated when the device is bound will be released(printer_dev). After that, if

回复: 回复: [PATCH v2] usb: gadget: function: printer: fix use-after-free in __lock_acquire

2020-06-09 Thread Zhang, Qiang
___ 发件人: Greg KH 发送时间: 2020年6月9日 17:48 收件人: Zhang, Qiang 抄送: ba...@kernel.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: 回复: [PATCH v2] usb: gadget: function: printer: fix use-after-free in __lock_acquire A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info abo

回复: [PATCH v2] usb: gadget: function: printer: fix use-after-free in __lock_acquire

2020-06-09 Thread Zhang, Qiang
Thank you for your suggestion two referenced counted objects in the same exact structure. another referenced is "dev->printer_cdev_open"? 发件人: Greg KH 发送时间: 2020年6月8日 15:33 收件人: Zhang, Qiang 抄送: ba...@kernel.org; linux-...@vger.kernel.org;

回复: [PATCH] usb: gadget: function: printer: Fix use-after-free in __lock_acquire()

2020-06-07 Thread Zhang, Qiang
Hi Markus. I don't need to add Fix tag to view the code. 发件人: Markus Elfring 发送时间: 2020年6月5日 16:57 收件人: Zhang, Qiang; linux-...@vger.kernel.org 抄送: kernel-janit...@vger.kernel.org; linux-kernel@vger.kernel.org; Alan Stern; Felipe Balbi; Greg

回复: [PATCH v5] workqueue: Remove unnecessary kfree() call in rcu_free_wq()

2020-05-27 Thread Zhang, Qiang
Thanks for your guide. I will try to change the weakness of weak wording. 发件人: Zhang, Qiang 发送时间: 2020年5月28日 9:41 收件人: Markus Elfring; Tejun Heo; Lai Jiangshan 抄送: linux-kernel@vger.kernel.org; kernel-janit...@vger.kernel.org 主题: 回复: [PATCH v5] workqueue

Re: [PATCH v3] workqueue: Fix double kfree for rescuer

2020-05-26 Thread Zhang, Qiang
ee(NULL)), this is unnecessary, so should remove. On 5/26/20 4:56 PM, Lai Jiangshan wrote: > On Mon, May 25, 2020 at 5:22 PM wrote: >> >> From: Zhang Qiang >> >> The callback function "rcu_free_wq" could be called after memory >> was relea