From: Alexander Neville <dark@volatile.bz>
To: Richard Weinberger <richard@nod.at>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
linux-um <linux-um@lists.infradead.org>,
Richard Weinberger <richard.weinberger@gmail.com>,
Johannes Berg <johannes@sipsolutions.net>
Subject: Re: [PATCH v2] um: Rewrite host RNG driver.
Date: Thu, 29 Aug 2019 16:56:35 -0400 [thread overview]
Message-ID: <20190829165442.3a3425ad@TheDarkness> (raw)
In-Reply-To: <899887272.76523.1567104513068.JavaMail.zimbra@nod.at>
On Thu, 29 Aug 2019 20:48:33 +0200 (CEST), Richard Weinberger <richard@nod.at> wrote:
> ----- Ursprüngliche Mail -----
> > Von: "Dark" <dark@volatile.bz>
> > + // Returning -EAGAIN to userspace is not nice.
> > + if (err == -EAGAIN)
> > + return 0;
>
> Hmm, doesn't this result in a short read?
> The current drives sets the calling task to sleep and wakes
> it up as soon data is available again. I'd assumes ti have the
> same behavior for the new driver.
>
> Thanks,
> //richard
Clearly this patch needs a lot more work before I submit it. I'll
take some time to polish it up and then resubmit it if that's fine.
next prev parent reply other threads:[~2019-08-29 20:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-29 17:56 Alexander Neville
2019-08-29 18:48 ` Richard Weinberger
2019-08-29 20:56 ` Alexander Neville [this message]
2019-08-29 21:03 ` Richard Weinberger
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=20190829165442.3a3425ad@TheDarkness \
--to=dark@volatile.bz \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=richard.weinberger@gmail.com \
--cc=richard@nod.at \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome