Re: svn commit: r281451 - head/sys/vm

2015-04-27 Thread Scott Long via svn-src-all
> On Apr 26, 2015, at 11:13 PM, Julian Elischer wrote: > > On 4/26/15 3:28 AM, Scott Long wrote: >> >> Too early in boot to get a crashdump. > but not too early for gdb live. > > > Guys, seriously, the amount of unproductive comments from the sidelines is stupid. The commit was trivial opt

Re: svn commit: r281451 - head/sys/vm

2015-04-26 Thread Julian Elischer
On 4/26/15 3:28 AM, Scott Long wrote: Too early in boot to get a crashdump. but not too early for gdb live. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-

Re: svn commit: r281451 - head/sys/vm

2015-04-25 Thread Scott Long via svn-src-all
> On Apr 25, 2015, at 1:59 PM, Dmitry Morozovsky wrote: > > On Sat, 25 Apr 2015, Scott Long via svn-src-all wrote: > True, it's not actually odd, it's just surprising the first time one comes across it. Also, I goofed in the text: >> With the flexible array, (size

Re: svn commit: r281451 - head/sys/vm

2015-04-25 Thread Dmitry Morozovsky
On Sat, 25 Apr 2015, Scott Long via svn-src-all wrote: > >> True, it's not actually odd, it's just surprising the first time > >> one comes across it. > >> > >> Also, I goofed in the text: > >> > With the flexible array, (sizeof(struct uma_cache)) is going to be > 32 bytes smaller than

Re: svn commit: r281451 - head/sys/vm

2015-04-25 Thread Scott Long via svn-src-all
> On Apr 25, 2015, at 1:06 AM, Chagin Dmitry wrote: > > On Fri, Apr 24, 2015 at 05:37:21AM -0700, Chris Torek wrote: >> True, it's not actually odd, it's just surprising the first time >> one comes across it. >> >> Also, I goofed in the text: >> With the flexible array, (sizeof(struct uma

Re: svn commit: r281451 - head/sys/vm

2015-04-25 Thread Chagin Dmitry
On Fri, Apr 24, 2015 at 05:37:21AM -0700, Chris Torek wrote: > True, it's not actually odd, it's just surprising the first time > one comes across it. > > Also, I goofed in the text: > > >> With the flexible array, (sizeof(struct uma_cache)) is going to be > >> 32 bytes smaller than without it. >

Re: svn commit: r281451 - head/sys/vm

2015-04-24 Thread Chris Torek
True, it's not actually odd, it's just surprising the first time one comes across it. Also, I goofed in the text: >> With the flexible array, (sizeof(struct uma_cache)) is going to be >> 32 bytes smaller than without it. It's `struct uma_zone` that shrinks by (potentially) more than one would ex

Re: svn commit: r281451 - head/sys/vm

2015-04-24 Thread Dimitry Andric
On 24 Apr 2015, at 13:01, Chris Torek wrote: > > The problem seems likely to be related to odd compiler handling of > alignment. Consider this code bit, which extracts the essentials: > > struct x { > int x; > } __attribute__((__aligned__(32))); > > struct s1 {

Re: svn commit: r281451 - head/sys/vm

2015-04-24 Thread Chris Torek
The problem seems likely to be related to odd compiler handling of alignment. Consider this code bit, which extracts the essentials: struct x { int x; } __attribute__((__aligned__(32))); struct s1 { int a; struct x b[1];

Re: svn commit: r281451 - head/sys/vm

2015-04-23 Thread Adrian Chadd
On 23 April 2015 at 22:26, Scott Long wrote: > >> On Apr 23, 2015, at 1:28 PM, Chagin Dmitry wrote: >> >> On Thu, Apr 23, 2015 at 12:49:51PM -0600, Scott Long wrote: >>> On Apr 23, 2015, at 6:19 AM, Scott Long wrote: > > On Apr 12, 2015, at 12:21 AM, Dmitry Chagin wrote: >

Re: svn commit: r281451 - head/sys/vm

2015-04-23 Thread Scott Long via svn-src-all
> On Apr 23, 2015, at 1:28 PM, Chagin Dmitry wrote: > > On Thu, Apr 23, 2015 at 12:49:51PM -0600, Scott Long wrote: >> >>> On Apr 23, 2015, at 6:19 AM, Scott Long wrote: >>> On Apr 12, 2015, at 12:21 AM, Dmitry Chagin wrote: Author: dchagin Date: Sun Apr 12 06:21:5

Re: svn commit: r281451 - head/sys/vm

2015-04-23 Thread Chagin Dmitry
On Thu, Apr 23, 2015 at 12:49:51PM -0600, Scott Long wrote: > > > On Apr 23, 2015, at 6:19 AM, Scott Long wrote: > > > >> > >> On Apr 12, 2015, at 12:21 AM, Dmitry Chagin wrote: > >> > >> Author: dchagin > >> Date: Sun Apr 12 06:21:58 2015 > >> New Revision: 281451 > >> URL: https://svnweb.fr

Re: svn commit: r281451 - head/sys/vm

2015-04-23 Thread Scott Long via svn-src-all
> On Apr 23, 2015, at 6:19 AM, Scott Long wrote: > >> >> On Apr 12, 2015, at 12:21 AM, Dmitry Chagin wrote: >> >> Author: dchagin >> Date: Sun Apr 12 06:21:58 2015 >> New Revision: 281451 >> URL: https://svnweb.freebsd.org/changeset/base/281451 >> >> Log: >> Rework r281162. Indeed, the flexi

Re: svn commit: r281451 - head/sys/vm

2015-04-23 Thread Scott Long via svn-src-all
> On Apr 12, 2015, at 12:21 AM, Dmitry Chagin wrote: > > Author: dchagin > Date: Sun Apr 12 06:21:58 2015 > New Revision: 281451 > URL: https://svnweb.freebsd.org/changeset/base/281451 > > Log: > Rework r281162. Indeed, the flexible array member is preferable here. > > Suggested by: Justin

svn commit: r281451 - head/sys/vm

2015-04-11 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 12 06:21:58 2015 New Revision: 281451 URL: https://svnweb.freebsd.org/changeset/base/281451 Log: Rework r281162. Indeed, the flexible array member is preferable here. Suggested by: Justin T. Gibbs MFC after:3 days Modified: head/sys/vm/uma_core.c