svn commit: r286223 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Slawa Olhovchenkov slw at zxy.spb.ru
Mon Aug 3 12:02:10 UTC 2015


On Mon, Aug 03, 2015 at 12:50:19PM +0100, Steven Hartland wrote:

> > I looked at the possibility of making default kernel stack size
> > configurable by a loader tunable, and the issue is that thread0 gets its
> > stack set up too early (locore for i386, hammer_time() for amd64).  I.e.,
> > it is possible to make the setting effective for all threads after thread0,
> > but not for the one which causes the issue.
> >
> > I do not want to modify ABI between loader and kernel to pass the parameter.
> I've created a review for the current proposed change to look at the 
> kernel var kstack_pages vs
> the compile time define KSTACK_PAGES.
> 
> For this change I don't want to get into fixing the thread0 stack size, 
> which can be done later, just
> to provide a reasonable warning to the user that smaller values could 
> cause a panic.
> 
> @slw I've added peter and kib as reviewers if you phabricator account 
> then feel free to add yourself.

I am currently don't have phabricator account, thanks.




More information about the svn-src-head mailing list