All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Max Krasnyansky <maxk@kernel.org>
Cc: aurelien@aurel32.net, qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [PATCH] husb: Make control transactions asynchronous (v2)
Date: Sat, 13 Sep 2008 20:09:34 -0500	[thread overview]
Message-ID: <48CC644E.8000304@codemonkey.ws> (raw)
In-Reply-To: <1221343245-24803-1-git-send-email-maxk@kernel.org>

Max Krasnyansky wrote:
> USB is 99.8% async now :). 0.2% is the three control requests that
> we need to execute synchronously. We could off-load that to a thread
> or something but it's not worth the pain since those requests are
> performed only during device initialization (ie when device is
> connected to the VM).
>
> The change is a bit bigger than I wanted due to the fact that generic
> handle_packet()/handle_control() interface was not designed for
> async transactions. So I ended up adding custom handle_packet()
> code to usb-linux. We can make that generic if/when some other
> component needs it.
>
> Signed-off-by: Max Krasnyansky <maxk@kernel.org>
>   

Applied.  Thanks.

Regards,

Anthony Liguori


WARNING: multiple messages have this Message-ID (diff)
From: Anthony Liguori <anthony@codemonkey.ws>
To: Max Krasnyansky <maxk@kernel.org>
Cc: qemu-devel@nongnu.org, aurelien@aurel32.net, kvm@vger.kernel.org
Subject: [Qemu-devel] Re: [PATCH] husb: Make control transactions asynchronous (v2)
Date: Sat, 13 Sep 2008 20:09:34 -0500	[thread overview]
Message-ID: <48CC644E.8000304@codemonkey.ws> (raw)
In-Reply-To: <1221343245-24803-1-git-send-email-maxk@kernel.org>

Max Krasnyansky wrote:
> USB is 99.8% async now :). 0.2% is the three control requests that
> we need to execute synchronously. We could off-load that to a thread
> or something but it's not worth the pain since those requests are
> performed only during device initialization (ie when device is
> connected to the VM).
>
> The change is a bit bigger than I wanted due to the fact that generic
> handle_packet()/handle_control() interface was not designed for
> async transactions. So I ended up adding custom handle_packet()
> code to usb-linux. We can make that generic if/when some other
> component needs it.
>
> Signed-off-by: Max Krasnyansky <maxk@kernel.org>
>   

Applied.  Thanks.

Regards,

Anthony Liguori

  reply	other threads:[~2008-09-14  1:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-13 22:00 [PATCH] husb: Make control transactions asynchronous (v2) Max Krasnyansky
2008-09-13 22:00 ` [Qemu-devel] " Max Krasnyansky
2008-09-14  1:09 ` Anthony Liguori [this message]
2008-09-14  1:09   ` [Qemu-devel] " Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48CC644E.8000304@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=aurelien@aurel32.net \
    --cc=kvm@vger.kernel.org \
    --cc=maxk@kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.