From: Alyssa Ross <hi@alyssa.is>
To: Cole Helbling <cole.e.helbling@outlook.com>
Cc: devel@spectrum-os.org
Subject: Re: [PATCH ucspi-vsock 7/7] Extract vsockserver-socketbinder and vsockserverd
Date: Sun, 21 Mar 2021 14:38:50 +0000 [thread overview]
Message-ID: <20210321143850.3z55zbzi5ebetgcz@eve.qyliss.net> (raw)
In-Reply-To: <20210321143314.xmnminxra7vn6bvj@eve.qyliss.net>
[-- Attachment #1: Type: text/plain, Size: 1632 bytes --]
On Sun, Mar 21, 2021 at 02:33:14PM +0000, Alyssa Ross wrote:
> On Sat, Mar 20, 2021 at 07:52:00PM -0700, Cole Helbling wrote:
> > On Sat Mar 20, 2021 at 1:24 PM PDT, Alyssa Ross wrote:
> > > On Thu, Mar 18, 2021 at 08:39:31PM -0700, Cole Helbling wrote:
> > > > > + if (listen(fd ,40) == -1)
> > > >
> > > > Minor formatting nit (comma, then space); but also, what is `40`
> > > > representative of? Should this be `#define`d, or otherwise assigned to
> > > > some descriptive name?
> > >
> > > Looks like the next thing I should do after this is set up clang-tidy or
> > > something. ;)
> > >
> > > It's the backlog parameter, i.e. the minimum[1] number of connections
> > > the kernel should allow to queue up before it starts rejecting them.
> > >
> > > Would the following additional diff make you happy? :)
> > > (I won't bother resending the whole patch with it applied; for the
> > > purposes of reviewing just pretend this is part of the patch I sent.)
> >
> > Yep, looks good to me! Though if I'm being greedy, maybe add the above
> > explanation as a comment above the new variable? ("It's the backlog
> > [...]")
>
> I think I don't want to get too much into explaining things listen(2)
> will explain better than me (but you were right about giving this
> number a name)!
>
> > Entire series looks good as well:
> >
> > Reviewed-by: Cole Helbling <cole.e.helbling@outlook.com>
>
> Thanks!
>
> To ssh://atuin/home/spectrum/git/ucspi-vsock.git
> e718a97..a452f16 master -> master
Actually it's e718a97..20a27f1. Realised I hadn't actually applied that
diff, and decided to just force push before anybody noticed. ;)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2021-03-21 14:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-19 3:23 Broken threading fix Alyssa Ross
2021-03-19 2:56 ` [PATCH ucspi-vsock 1/7] vsock: get cid and port instead of just cid Alyssa Ross
2021-03-19 2:53 ` [PATCH ucspi-vsock 0/7] Extract vsockserver-socketbinder and vsockserverd Alyssa Ross
2021-03-19 3:19 ` Alyssa Ross
2021-03-19 2:56 ` [PATCH ucspi-vsock 2/7] vsock: check socket family before reading sockaddr Alyssa Ross
2021-03-19 2:56 ` [PATCH ucspi-vsock 3/7] vsockserver: switch to a non-blocking socket Alyssa Ross
2021-03-19 2:56 ` [PATCH ucspi-vsock 4/7] configure: create, to generate config.h Alyssa Ross
2021-03-19 2:56 ` [PATCH ucspi-vsock 5/7] log: add die function Alyssa Ross
2021-03-19 2:56 ` [PATCH ucspi-vsock 6/7] exec: add execzp() Alyssa Ross
2021-03-19 3:17 ` [PATCH ucspi-vsock 7/7] Extract vsockserver-socketbinder and vsockserverd Alyssa Ross
2021-03-19 3:39 ` Cole Helbling
2021-03-20 20:24 ` Alyssa Ross
2021-03-21 2:52 ` Cole Helbling
2021-03-21 14:33 ` Alyssa Ross
2021-03-21 14:38 ` Alyssa Ross [this message]
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=20210321143850.3z55zbzi5ebetgcz@eve.qyliss.net \
--to=hi@alyssa.is \
--cc=cole.e.helbling@outlook.com \
--cc=devel@spectrum-os.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.
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).