Re: armv7 unaligned access in libcrypto

2017-12-30 Thread Philip Guenther
On Fri, 29 Dec 2017, Mark Kettenis wrote: > > Date: Fri, 29 Dec 2017 21:21:04 +1100 > > From: Jonathan Gray > > > > On Fri, Dec 29, 2017 at 10:47:06AM +0100, Mark Kettenis wrote: > > > The Aarch32 assembly code in libcrypto assumes that armv7 supports > > > unaligned access. It does, but only i

Re: paste(1): default to stdin if no files given

2017-12-30 Thread Philip Guenther
On Sat, 30 Dec 2017, Klemens Nanni wrote: > On Fri, Dec 29, 2017 at 03:55:10PM +0200, Lauri Tirkkonen wrote: > > Currently paste(1) silently does nothing if it's given no file > > arguments: > > > > % printf 'hello\nworld\n'|paste > > % > That's a bug, FWIW, FreeBSD has it fixed. > > > I

Re: wsconsctl: minor cleanup

2017-12-30 Thread Philip Guenther
On Sat, Dec 30, 2017 at 8:51 AM, Anton Lindqvist wrote: > > Get rid of a unused variable and define the noinput lex option in order > to suppress the following warning: > > map_scan.c:1235:16: warning: function 'input' is not needed and will not > be emitted > static int input (void) > > Comm

Re: paste(1): default to stdin if no files given

2017-12-30 Thread Lauri Tirkkonen
On Sat, Dec 30 2017 19:41:24 +0100, Klemens Nanni wrote: > On Fri, Dec 29, 2017 at 03:55:10PM +0200, Lauri Tirkkonen wrote: > > Currently paste(1) silently does nothing if it's given no file > > arguments: > > > > % printf 'hello\nworld\n'|paste > > % > That's a bug, FWIW, FreeBSD has it f

Re: paste(1): default to stdin if no files given

2017-12-30 Thread Klemens Nanni
On Fri, Dec 29, 2017 at 03:55:10PM +0200, Lauri Tirkkonen wrote: > Currently paste(1) silently does nothing if it's given no file > arguments: > > % printf 'hello\nworld\n'|paste > % That's a bug, FWIW, FreeBSD has it fixed. > I often do things like 'ps -p $(pgrep sh | paste -sd,)' and fo

sdhc: support ext dma

2017-12-30 Thread Artturi Alm
Hi, porting sdhc driver(bcm2835_emmc.c) from NetBSD does lack something like this, among possibly few other (small?) changes, but consider this as a step towards. Comments? to keep changes minimal/safe/easy to review like below, or to backport in bigger chunks? -Artturi diff --git a/sys/dev/sd

Re: malloc cleanup and small optimization (step 2)

2017-12-30 Thread Otto Moerbeek
On Sat, Dec 30, 2017 at 12:11:50PM -0500, Daniel Micay wrote: > On 30 December 2017 at 06:44, Otto Moerbeek wrote: > > On Sat, Dec 30, 2017 at 06:53:44AM +, kshe wrote: > > > >> Hi, > >> > >> Looking at this diff and the previous one, I found some more possible > >> cleanups for malloc.c (the

Re: malloc cleanup and small optimization (step 2)

2017-12-30 Thread Daniel Micay
On 30 December 2017 at 06:44, Otto Moerbeek wrote: > On Sat, Dec 30, 2017 at 06:53:44AM +, kshe wrote: > >> Hi, >> >> Looking at this diff and the previous one, I found some more possible >> cleanups for malloc.c (the patch below is to be applied after both of >> them, even if the second one h

wsconsctl: minor cleanup

2017-12-30 Thread Anton Lindqvist
Hi, Get rid of a unused variable and define the noinput lex option in order to suppress the following warning: map_scan.c:1235:16: warning: function 'input' is not needed and will not be emitted static int input (void) Comments? OK? Index: map_scan.l ===

Re: Make systat(1) list ordering

2017-12-30 Thread Martijn van Duren
Anyone willing to comment on this? On 12/18/17 23:00, Martijn van Duren wrote: > Hello tech@, > > I got a bit annoyed by the fact that it isn't clear what the current > ordering is for states. I'm not very familiar with systat, so I might > have missed something obvious. > > Since there was no o

Re: malloc cleanup and small optimization (step 2)

2017-12-30 Thread Otto Moerbeek
On Wed, Dec 27, 2017 at 03:20:06PM +0100, Otto Moerbeek wrote: > Hi, > > second step: only init chunk_info on creation. When it is recycled all > values already have proper values to start using it again, e.g. the > free bitmap already has all slots marked free. Plus some moving of > code to get

Re: malloc cleanup and small optimization (step 2)

2017-12-30 Thread Otto Moerbeek
On Sat, Dec 30, 2017 at 06:53:44AM +, kshe wrote: > Hi, > > Looking at this diff and the previous one, I found some more possible > cleanups for malloc.c (the patch below is to be applied after both of > them, even if the second one has not been committed yet): > > 1. In malloc_bytes(), use