On 08/16/2013 05:56 PM, Michael S. Tsirkin wrote:
On Fri, Aug 16, 2013 at 01:16:27PM +0800, Jason Wang wrote:
Let vhost_add_used() to use vhost_add_used_n() to reduce the code
duplication.
Signed-off-by: Jason Wang jasow...@redhat.com
Does compiler inline it then?
Reason I ask, last
On Fri, Aug 16, 2013 at 01:16:27PM +0800, Jason Wang wrote:
Let vhost_add_used() to use vhost_add_used_n() to reduce the code duplication.
Signed-off-by: Jason Wang jasow...@redhat.com
Does compiler inline it then?
Reason I ask, last time I checked put_user inside vhost_add_used
was much
Let vhost_add_used() to use vhost_add_used_n() to reduce the code duplication.
Signed-off-by: Jason Wang jasow...@redhat.com
---
drivers/vhost/vhost.c | 43 ++-
1 files changed, 2 insertions(+), 41 deletions(-)
diff --git a/drivers/vhost/vhost.c