From owner-svn-src-projects@FreeBSD.ORG Tue Dec 23 12:23:31 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E608D278; Tue, 23 Dec 2014 12:23:31 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EB3B64231; Tue, 23 Dec 2014 12:23:30 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id sBNCNM9u084274 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 23 Dec 2014 15:23:22 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id sBNCNM0U084273; Tue, 23 Dec 2014 15:23:22 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 23 Dec 2014 15:23:22 +0300 From: Gleb Smirnoff To: Gleb Kurtsou 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> References: <201412230809.sBN89nlk076652@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201412230809.sBN89nlk076652@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 12:23:32 -0000 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.