[PATCH v2] modules: wait do_free_init correctly

2023-12-24 Thread Changbin Du
The commit 1a7b7d922081 ("modules: Use vmalloc special flag") moves do_free_init() into a global workqueue instead of call_rcu(). So now rcu_barrier() can not ensure that do_free_init has completed. We should wait it via flush_work(). Without this fix, we still could encounter false positive repor

Re: [PATCH vhost v4 06/15] vdpa: Track device suspended state

2023-12-24 Thread Jason Wang
On Fri, Dec 22, 2023 at 7:22 PM Dragos Tatulea wrote: > > On Wed, 2023-12-20 at 13:55 +0100, Dragos Tatulea wrote: > > On Wed, 2023-12-20 at 11:46 +0800, Jason Wang wrote: > > > On Wed, Dec 20, 2023 at 2:09 AM Dragos Tatulea > > > wrote: > > > > > > > > Set vdpa device suspended state on success

Re: [PATCH] modules: wait do_free_init correctly

2023-12-24 Thread Changbin Du
On Thu, Dec 21, 2023 at 10:30:37AM +0800, Changbin Du wrote: > On Wed, Dec 20, 2023 at 06:32:39AM -0800, Luis Chamberlain wrote: > > On Wed, Dec 20, 2023 at 01:27:51PM +0800, Changbin Du wrote: > > > On Tue, Dec 19, 2023 at 01:52:03PM -0800, Luis Chamberlain wrote: > > > > On Tue, Dec 19, 2023 at 1