Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-07-03 Thread Jason Wang
On Thu, Jul 4, 2024 at 12:23 AM Michael S. Tsirkin wrote: > > On Thu, Jun 20, 2024 at 04:23:30PM +0800, Jason Wang wrote: > > On Thu, Jun 20, 2024 at 1:44 PM Michael S. Tsirkin wrote: > > > > > > On Thu, Jun 20, 2024 at 12:07:14PM +0800, Jason Wang wrote: > > > > On Wed, Jun 19, 2024 at 5:52 PM M

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-07-03 Thread Michael S. Tsirkin
On Thu, Jun 20, 2024 at 04:23:30PM +0800, Jason Wang wrote: > On Thu, Jun 20, 2024 at 1:44 PM Michael S. Tsirkin wrote: > > > > On Thu, Jun 20, 2024 at 12:07:14PM +0800, Jason Wang wrote: > > > On Wed, Jun 19, 2024 at 5:52 PM Michael S. Tsirkin > > > wrote: > > > > > > > > On Wed, Jun 19, 2024 a

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-26 Thread Dragos Tatulea
On Thu, 2024-06-20 at 05:05 -0400, Michael S. Tsirkin wrote: > On Thu, Jun 20, 2024 at 04:23:30PM +0800, Jason Wang wrote: > > On Thu, Jun 20, 2024 at 1:44 PM Michael S. Tsirkin wrote: > > > > > > On Thu, Jun 20, 2024 at 12:07:14PM +0800, Jason Wang wrote: > > > > On Wed, Jun 19, 2024 at 5:52 PM

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-20 Thread Michael S. Tsirkin
On Thu, Jun 20, 2024 at 04:23:30PM +0800, Jason Wang wrote: > On Thu, Jun 20, 2024 at 1:44 PM Michael S. Tsirkin wrote: > > > > On Thu, Jun 20, 2024 at 12:07:14PM +0800, Jason Wang wrote: > > > On Wed, Jun 19, 2024 at 5:52 PM Michael S. Tsirkin > > > wrote: > > > > > > > > On Wed, Jun 19, 2024 a

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-20 Thread Jason Wang
On Thu, Jun 20, 2024 at 1:44 PM Michael S. Tsirkin wrote: > > On Thu, Jun 20, 2024 at 12:07:14PM +0800, Jason Wang wrote: > > On Wed, Jun 19, 2024 at 5:52 PM Michael S. Tsirkin wrote: > > > > > > On Wed, Jun 19, 2024 at 09:14:41AM +, Dragos Tatulea wrote: > > > > On Tue, 2024-06-18 at 10:39 +

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-19 Thread Michael S. Tsirkin
On Thu, Jun 20, 2024 at 12:07:14PM +0800, Jason Wang wrote: > On Wed, Jun 19, 2024 at 5:52 PM Michael S. Tsirkin wrote: > > > > On Wed, Jun 19, 2024 at 09:14:41AM +, Dragos Tatulea wrote: > > > On Tue, 2024-06-18 at 10:39 +0800, Jason Wang wrote: > > > > On Tue, Jun 18, 2024 at 10:03 AM Tian,

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-19 Thread Jason Wang
On Wed, Jun 19, 2024 at 5:52 PM Michael S. Tsirkin wrote: > > On Wed, Jun 19, 2024 at 09:14:41AM +, Dragos Tatulea wrote: > > On Tue, 2024-06-18 at 10:39 +0800, Jason Wang wrote: > > > On Tue, Jun 18, 2024 at 10:03 AM Tian, Kevin wrote: > > > > > > > > > From: Jason Wang > > > > > Sent: Tues

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-19 Thread Michael S. Tsirkin
On Wed, Jun 19, 2024 at 09:14:41AM +, Dragos Tatulea wrote: > On Tue, 2024-06-18 at 10:39 +0800, Jason Wang wrote: > > On Tue, Jun 18, 2024 at 10:03 AM Tian, Kevin wrote: > > > > > > > From: Jason Wang > > > > Sent: Tuesday, June 18, 2024 9:18 AM > > > > > > > > On Mon, Jun 17, 2024 at 11:5

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-19 Thread Dragos Tatulea
On Tue, 2024-06-18 at 10:39 +0800, Jason Wang wrote: > On Tue, Jun 18, 2024 at 10:03 AM Tian, Kevin wrote: > > > > > From: Jason Wang > > > Sent: Tuesday, June 18, 2024 9:18 AM > > > > > > On Mon, Jun 17, 2024 at 11:51 PM Dragos Tatulea > > > wrote: > > > > > > > > Hi, > > > > > > > > After

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-17 Thread Jason Wang
On Tue, Jun 18, 2024 at 10:03 AM Tian, Kevin wrote: > > > From: Jason Wang > > Sent: Tuesday, June 18, 2024 9:18 AM > > > > On Mon, Jun 17, 2024 at 11:51 PM Dragos Tatulea > > wrote: > > > > > > Hi, > > > > > > After commit ba168b52bf8e "mm: use rwsem assertion macros for > > > mmap_lock") was s

RE: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-17 Thread Tian, Kevin
> From: Jason Wang > Sent: Tuesday, June 18, 2024 9:18 AM > > On Mon, Jun 17, 2024 at 11:51 PM Dragos Tatulea > wrote: > > > > Hi, > > > > After commit ba168b52bf8e "mm: use rwsem assertion macros for > > mmap_lock") was submitted, we started getting a lot of the > > following warnings about a m

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-17 Thread Jason Wang
On Mon, Jun 17, 2024 at 11:51 PM Dragos Tatulea wrote: > > Hi, > > After commit ba168b52bf8e "mm: use rwsem assertion macros for > mmap_lock") was submitted, we started getting a lot of the > following warnings about a missing mmap write lock during VM boot: > > [ cut here ]---

mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-17 Thread Dragos Tatulea
Hi, After commit ba168b52bf8e "mm: use rwsem assertion macros for  mmap_lock") was submitted, we started getting a lot of the following warnings about a missing mmap write lock during VM boot: [ cut here ] WARNING: CPU: 1 PID: 58633 at include/linux/rwsem.h:85 track_pfn_re