From: Richard Weinberger <richard@nod.at>
To: Dark <dark@volatile.bz>
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 20:48:33 +0200 (CEST) [thread overview]
Message-ID: <899887272.76523.1567104513068.JavaMail.zimbra@nod.at> (raw)
In-Reply-To: <20190829135001.6a5ff940@TheDarkness.local>
----- 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
next prev parent reply other threads:[~2019-08-29 18:48 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 [this message]
2019-08-29 20:56 ` Alexander Neville
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=899887272.76523.1567104513068.JavaMail.zimbra@nod.at \
--to=richard@nod.at \
--cc=dark@volatile.bz \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=richard.weinberger@gmail.com \
/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