Re: svn commit: r319905 - in head/sys: kern sys

2017-06-14 Thread Alan Cox
On 06/14/2017 10:52, Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] >> On 06/14/2017 06:04, Hans Petter Selasky wrote: >>> On 06/13/17 19:49, Alan Cox wrote: +#definebitcount64(x)__bitcount64((uint64_t)(x)) >>> bitcount64() is already defined by sys/libkern.h -

Re: svn commit: r319905 - in head/sys: kern sys

2017-06-14 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On 06/14/2017 06:04, Hans Petter Selasky wrote: > > On 06/13/17 19:49, Alan Cox wrote: > >> +#definebitcount64(x)__bitcount64((uint64_t)(x)) > > > > bitcount64() is already defined by sys/libkern.h - use that? > > This snippet appears in

Re: svn commit: r319905 - in head/sys: kern sys

2017-06-14 Thread Alan Cox
On 06/14/2017 06:04, Hans Petter Selasky wrote: > On 06/13/17 19:49, Alan Cox wrote: >> +#definebitcount64(x)__bitcount64((uint64_t)(x)) > > bitcount64() is already defined by sys/libkern.h - use that? This snippet appears in code that is only used when compiling this file as a

Re: svn commit: r319905 - in head/sys: kern sys

2017-06-14 Thread Hans Petter Selasky
On 06/13/17 19:49, Alan Cox wrote: +#definebitcount64(x) __bitcount64((uint64_t)(x)) bitcount64() is already defined by sys/libkern.h - use that? --HPS ___ svn-src-all@freebsd.org mailing list

svn commit: r319905 - in head/sys: kern sys

2017-06-13 Thread Alan Cox
Author: alc Date: Tue Jun 13 17:49:49 2017 New Revision: 319905 URL: https://svnweb.freebsd.org/changeset/base/319905 Log: Reduce the frequency of hint updates on allocation without incurring additional allocation overhead. Previously, blst_meta_alloc() updated the hint after every