From owner-freebsd-hackers@freebsd.org Tue Dec 6 23:13:17 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6AC6C6A150 for ; Tue, 6 Dec 2016 23:13:17 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [199.48.133.146]) by mx1.freebsd.org (Postfix) with ESMTP id B1364182E for ; Tue, 6 Dec 2016 23:13:17 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from sweettea.beer.town (unknown [76.164.8.130]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 828475648E for ; Tue, 6 Dec 2016 17:13:11 -0600 (CST) Subject: Re: kinfo_proc::ki_tdname truncation To: FreeBSD Hackers References: <3379ac69-16e0-4071-8e69-4fb05b011ba7@FreeBSD.org> From: Eric van Gyzen Message-ID: <326a2d68-c4f4-e6fc-17c5-4556ecf8c853@FreeBSD.org> Date: Tue, 6 Dec 2016 17:13:10 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <3379ac69-16e0-4071-8e69-4fb05b011ba7@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 23:13:17 -0000 On 12/05/2016 20:29, Eric van Gyzen wrote: > I just noticed that kinfo_proc::ki_tdname is three characters shorter than > thread::td_name. Would anyone object if I steal 4 bytes from ki_sparestrings to > add a field for these three extra characters (and fix all consumers > accordingly)? Yes, I care enough about those three characters to do this. If anyone is interested: https://reviews.freebsd.org/D8722 Eric