Re: [PATCH] memory: remove incorrect RCU comment for address_space_read()

2021-09-11 Thread Paolo Bonzini
On 09/09/21 16:10, Stefan Hajnoczi wrote: Although the doc comment says "Called within RCU critical section" the address_space_read() function takes the RCU read lock itself. There is no need for the caller to hold an RCU read lock. Cc: Paolo Bonzini Fixes: b2a44fcad74f1cc7a6786d38eba7db12ab235

Re: [PATCH] memory: remove incorrect RCU comment for address_space_read()

2021-09-09 Thread David Hildenbrand
On 09.09.21 16:10, Stefan Hajnoczi wrote: Although the doc comment says "Called within RCU critical section" the address_space_read() function takes the RCU read lock itself. There is no need for the caller to hold an RCU read lock. Cc: Paolo Bonzini Fixes: b2a44fcad74f1cc7a6786d38eba7db12ab235

Re: [PATCH] memory: remove incorrect RCU comment for address_space_read()

2021-09-09 Thread Philippe Mathieu-Daudé
On 9/9/21 4:10 PM, Stefan Hajnoczi wrote: > Although the doc comment says "Called within RCU critical section" the > address_space_read() function takes the RCU read lock itself. There is > no need for the caller to hold an RCU read lock. > > Cc: Paolo Bonzini > Fixes: b2a44fcad74f1cc7a6786d38eba

[PATCH] memory: remove incorrect RCU comment for address_space_read()

2021-09-09 Thread Stefan Hajnoczi
Although the doc comment says "Called within RCU critical section" the address_space_read() function takes the RCU read lock itself. There is no need for the caller to hold an RCU read lock. Cc: Paolo Bonzini Fixes: b2a44fcad74f1cc7a6786d38eba7db12ab2352ba ("address_space_read: address_space_to_