Re: [PATCH] vhost: fix end of range for access_ok

2017-08-22 Thread Koichiro Den
r, but let's not waste cpu cycles. > > Reported-by: Koichiro Den <d...@klaipeden.com> > Signed-off-by: Michael S. Tsirkin <m...@redhat.com> > --- > > Lightly tested, would appreciate an ack from reporter. > >  drivers/vhost/vhost.c | 4 ++-- >  1 file chang

Re: [PATCH] vhost: fix end of range for access_ok

2017-08-22 Thread Koichiro Den
r, but let's not waste cpu cycles. > > Reported-by: Koichiro Den > Signed-off-by: Michael S. Tsirkin > --- > > Lightly tested, would appreciate an ack from reporter. > >  drivers/vhost/vhost.c | 4 ++-- >  1 file changed, 2 insertions(+), 2 deletions(-) > > diff

Re: [PATCH net] Revert "vhost: cache used event for better performance"

2017-08-13 Thread Koichiro Den
Sorry I mistakenly focused on NET case, please pass it over. I will do any relevant suggestion in patch-based way. Thanks. On Sun, 2017-08-13 at 23:11 +0900, Koichiro Den wrote: > Thanks for your comments, Michael and Jason. And I'm sorry about late > response. > To be honest, I am on

Re: [PATCH net] Revert "vhost: cache used event for better performance"

2017-08-13 Thread Koichiro Den
Sorry I mistakenly focused on NET case, please pass it over. I will do any relevant suggestion in patch-based way. Thanks. On Sun, 2017-08-13 at 23:11 +0900, Koichiro Den wrote: > Thanks for your comments, Michael and Jason. And I'm sorry about late > response. > To be honest, I am on

Re: [PATCH net] Revert "vhost: cache used event for better performance"

2017-08-13 Thread Koichiro Den
Thanks for your comments, Michael and Jason. And I'm sorry about late response. To be honest, I am on a summer vacation until next Tuesday. I noticed that what I wrote was not sufficient. Regardless of caching mechanism existence, the "event" could legitimately be at any point out of the latest

Re: [PATCH net] Revert "vhost: cache used event for better performance"

2017-08-13 Thread Koichiro Den
Thanks for your comments, Michael and Jason. And I'm sorry about late response. To be honest, I am on a summer vacation until next Tuesday. I noticed that what I wrote was not sufficient. Regardless of caching mechanism existence, the "event" could legitimately be at any point out of the latest