Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2014 15:23:22 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Gleb Kurtsou <gleb@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:  <20141223122322.GP47144@FreeBSD.org>
In-Reply-To: <201412230809.sBN89nlk076652@svn.freebsd.org>
References:  <201412230809.sBN89nlk076652@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141223122322.GP47144>