Re: Feature request: Use the PCIe devices on Thunderbolt (aka PCIe hotplug?)

2020-03-25 Thread John-Mark Gurney
rom my understanding is more complicated due to display routing and other related features and FreeBSD does NOT yet have support for it. > It was implemented 2015 by John-Mark Gurney . John Baldwin, j...@freebsd.org ended up implementing it differently and not using the code I had written, so he

Re: improving OpenBSD's gmac.c...

2014-11-12 Thread John-Mark Gurney
Mike Belopuhov wrote this message on Wed, Nov 12, 2014 at 19:05 +0100: > On 10 October 2014 02:39, Damien Miller wrote: > > On Thu, 9 Oct 2014, Christian Weisgerber wrote: > > > >> John-Mark Gurney: > >> > >> > I also have an implementation of ghash

Re: increase netcat's buffer...

2014-10-30 Thread John-Mark Gurney
ssize_t (*f) (int, void *, size_t) to ssize_t (*f) (int, const void *, size_t)... There isn't any reason why atomicio needs to have a non-const pointer to the buffer... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

Re: improving OpenBSD's gmac.c...

2014-10-08 Thread John-Mark Gurney
Mike Belopuhov wrote this message on Wed, Oct 08, 2014 at 14:32 +0200: > On 8 October 2014 00:48, John-Mark Gurney wrote: > > Christian Weisgerber wrote this message on Tue, Oct 07, 2014 at 23:08 +0200: > >> John-Mark Gurney: > >> > >> > So, as I was workin

Re: improving OpenBSD's gmac.c...

2014-10-07 Thread John-Mark Gurney
Christian Weisgerber wrote this message on Tue, Oct 07, 2014 at 23:08 +0200: > John-Mark Gurney: > > > So, as I was working on FreeBSD's implementation of gmac.c, I noticed > > that I was able to get a significant speed up by using a mask instead > > of an if branch

improving OpenBSD's gmac.c...

2014-09-30 Thread John-Mark Gurney
a version with does 4 blocks at a time getting a further speed up... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

Re: increase netcat's buffer...

2014-06-22 Thread John-Mark Gurney
n = > write(nfd, buf, available); > + if (n != > available) { > + > return; > + } > + } > + write_space_network > -= available; > + /* Break to ignore > EVFILT_WRITE that could > +* be in current > keventlist, after this event > +* and which is now > invalid, because we just > +* write in the fd. > +*/ > + break; > + } > + } > + } As this second half of the path is the same as the first, my previous comments also apply... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

Re: sys/msdosfs: off by one

2014-06-16 Thread John-Mark Gurney
of > boundary access, depending on actual pmp->pm_maxcluster value. FreeBSD fixed this by increasing the malloc size: https://svnweb.freebsd.org/changeset/base/r126086 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

increase netcat's buffer...

2014-06-09 Thread John-Mark Gurney
keep these changes to a minimum between the two. Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

clean/portable crypto code...

2014-06-06 Thread John-Mark Gurney
r import into FreeBSD. Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."