From owner-svn-src-projects@FreeBSD.ORG Tue Dec 23 17:28:34 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4189B611; Tue, 23 Dec 2014 17:28:34 +0000 (UTC) Received: from mail-pd0-x22e.google.com (mail-pd0-x22e.google.com [IPv6:2607:f8b0:400e:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B0712498; Tue, 23 Dec 2014 17:28:34 +0000 (UTC) Received: by mail-pd0-f174.google.com with SMTP id fp1so8160942pdb.5; Tue, 23 Dec 2014 09:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=+twLWBC0CzimEu9MKUgPazKNRn+mlqFpYi4zpQrt6Nc=; b=PqnZTu1E83vD+ApZyIGMeS0xyqzogMVkO6BHGKni1uB/R7e0XduZ1Q6MP5AnAJwz/S y+/QdIsFRiF/ygPtXUvbLZ0Pe6HkX9ui1UAXA8AeHxQvKvpL8tx1CX76mewf3hS0Q87C qHjexIEvww53eMmdPfl/qwUGc9kOPokHdB3bn8OPTOZ1RUvZHJQBc2UcwYXEfQUqSh7c d9bZzXF3zp9d1bLUiQvGOUL1/UAtLjCoSyUFfaXgKzIzsyKwOgjxUtakHRfXVlmoioyO ks5Mp91Oh7zlr1Y46UcizWwOnvYA668ehKx6MDyt8tDITd1bl87WnHLV5kNUw1aKwtsd K3TQ== X-Received: by 10.66.254.33 with SMTP id af1mr19286448pad.106.1419355713625; Tue, 23 Dec 2014 09:28:33 -0800 (PST) Received: from localhost (c-76-21-76-83.hsd1.ca.comcast.net. [76.21.76.83]) by mx.google.com with ESMTPSA id w14sm20642890pas.14.2014.12.23.09.28.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Dec 2014 09:28:33 -0800 (PST) Sender: Gleb Kurtsou Date: Tue, 23 Dec 2014 09:29:37 -0800 From: Gleb Kurtsou To: Gleb Smirnoff 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> Mail-Followup-To: Gleb Smirnoff , src-committers@freebsd.org, svn-src-projects@freebsd.org References: <201412230809.sBN89nlk076652@svn.freebsd.org> <20141223122322.GP47144@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20141223122322.GP47144@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 17:28:34 -0000 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.