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

2015-04-27 Thread Scott Long via svn-src-head
On Apr 26, 2015, at 11:13 PM, Julian Elischer jul...@freebsd.org 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

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-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to

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 without it. It's

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

2015-04-25 Thread Scott Long via svn-src-head
On Apr 25, 2015, at 1:06 AM, Chagin Dmitry dcha...@freebsd.org 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

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

2015-04-25 Thread Scott Long via svn-src-head
On Apr 25, 2015, at 1:59 PM, Dmitry Morozovsky ma...@rinet.ru 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, (sizeof(struct

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. It's

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-24 Thread Dimitry Andric
On 24 Apr 2015, at 13:01, Chris Torek to...@elf.torek.net 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)));

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

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

2015-04-24 Thread Adrian Chadd
On 23 April 2015 at 22:26, Scott Long scott4l...@yahoo.com wrote: On Apr 23, 2015, at 1:28 PM, Chagin Dmitry dcha...@freebsd.org wrote: On Thu, Apr 23, 2015 at 12:49:51PM -0600, Scott Long wrote: On Apr 23, 2015, at 6:19 AM, Scott Long scott4l...@yahoo.com wrote: On Apr 12, 2015, at 12:21

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

2015-04-23 Thread Scott Long via svn-src-head
On Apr 23, 2015, at 6:19 AM, Scott Long scott4l...@yahoo.com wrote: On Apr 12, 2015, at 12:21 AM, Dmitry Chagin dcha...@freebsd.org 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.

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 scott4l...@yahoo.com wrote: On Apr 12, 2015, at 12:21 AM, Dmitry Chagin dcha...@freebsd.org wrote: Author: dchagin Date: Sun Apr 12 06:21:58 2015 New Revision: 281451 URL:

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

2015-04-23 Thread Scott Long via svn-src-head
On Apr 12, 2015, at 12:21 AM, Dmitry Chagin dcha...@freebsd.org 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:

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

2015-04-23 Thread Scott Long via svn-src-head
On Apr 23, 2015, at 1:28 PM, Chagin Dmitry dcha...@freebsd.org wrote: On Thu, Apr 23, 2015 at 12:49:51PM -0600, Scott Long wrote: On Apr 23, 2015, at 6:19 AM, Scott Long scott4l...@yahoo.com wrote: On Apr 12, 2015, at 12:21 AM, Dmitry Chagin dcha...@freebsd.org wrote: Author:

svn commit: r281451 - head/sys/vm

2015-04-12 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