Date: Tue, 23 Dec 2014 09:29:37 -0800 From: Gleb Kurtsou <gleb@FreeBSD.org> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r276108 - in projects/ino64/sys: compat/freebsd32 compat/linux compat/svr4 fs/nfs fs/nfsserver fs/nullfs fs/unionfs i386/ibcs2 kern nfsserver sys Message-ID: <20141223172937.GA967@reks> In-Reply-To: <20141223122322.GP47144@FreeBSD.org> References: <201412230809.sBN89nlk076652@svn.freebsd.org> <20141223122322.GP47144@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On (23/12/2014 15:23), Gleb Smirnoff wrote: > On Tue, Dec 23, 2014 at 08:09:49AM +0000, Gleb Kurtsou wrote: > G> Author: gleb > G> Date: Tue Dec 23 08:09:48 2014 > G> New Revision: 276108 > G> URL: https://svnweb.freebsd.org/changeset/base/276108 > G> > G> Log: > G> Avoid placing struct statfs on stack in kernel. > G> > G> MNAMELEN is about to be increased thus makeing the struct too large > G> for the kernel stack. > G> > G> Use M_STATFS malloc type for struct statfs. > > Usually M_TEMP is used for allocations that exist only during > a function execution. M_TEMP was used initially, kib or mckusick suggested to use separate malloc type.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141223172937.GA967>