From owner-freebsd-hackers@freebsd.org Wed Sep 14 19:11:34 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 72E1CBD6AB5 for ; Wed, 14 Sep 2016 19:11:34 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm7.bullet.mail.bf1.yahoo.com (nm7.bullet.mail.bf1.yahoo.com [98.139.212.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B9011FBE for ; Wed, 14 Sep 2016 19:11:33 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1473880287; bh=xXD9EL329RdzEXOgGwy7Qp8KeZZA8SVCfQk1S9uTE40=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From:Subject; b=KhIb27jGquBcH9oysSIZmlnnYcDAiweU6lACr5fcB3aVi77jOanIkusyk9dAdyhtU4KqpeLQg+8do9q3EEGg00V1LDoatDnKdaqsBRVM7TRg0YpkYHTcgYHrTN641odsJWCMbluY3ybuj5BtOK+9LJFMsLBs1aMS47pAgLAEwfHN4Rz7nKZvfpGl9DGvxNUh24eMvy3+6ea/pMv8KW1kTObRq+8+dD5J+XIA+PiY6GiuzqQfwCsC4mWxmMJtQ1z8RvfdlWGkNtsoC5gUQ4kgEuD87nXsGRAjxy8xlwQtZJBTR3fFzT5XZHEbvfrtfEISqBtSwgtVx+dF7u/7cIFO9Q== Received: from [98.139.214.32] by nm7.bullet.mail.bf1.yahoo.com with NNFMP; 14 Sep 2016 19:11:27 -0000 Received: from [68.142.230.78] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 14 Sep 2016 19:11:27 -0000 Received: from [127.0.0.1] by smtp235.mail.bf1.yahoo.com with NNFMP; 14 Sep 2016 19:11:27 -0000 X-Yahoo-Newman-Id: 111702.18710.bm@smtp235.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: kBS7sGgVM1lj2FaQ24AYpiyaH.ylaRP.0rnPZoIxHSN_LNw hj6JU1.vqQhId9wTkhFcgHJVC.g0CIUt.Uh56m3od3dbHe8Pc9G9MefuZw2G .fXycM8SsvqL.GUs_vF5efV2TzkY9BAGhkLh3XojKUr9zo2oXPRZ8.9_9sru lN7Sa9aS4EAZW.dMKWBC2nFRS6Zbrj1gAglcKGYL57VX9WsWi47.3rvZAHar oGLbXjKnQGgbMeIS5nsQ1Ez5S8XoCiVKahuBhDWFWonSZln2S6yBJH3YfO8P LpVwpiRKr.T4MVPZTXlI7IeCThXxakYC65kxcCRKdRpcEExfg.8rjvNySReq H367WRWNd55CsQpwFMBp16G9dDyyNO7JWZhn31i5Y2Ev8sAkR89hHs.CZwoc JrVSg7cWyE71Ol68udsf4vtv49q8P0Jfs2qI0IGjZo6THRIGiyI8fDjYZyZ3 03PlhOLTEgJT3c4TJo5hYKMWHChfm2IEjRoBxxKTyaoVkZlRJA3RI.FvSZG6 KmEM5zJjjbOEEo1mRUGeA48bDzphBO0zGla5MVQHAu7pN0g-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Subject: Re: Is replacing alloca(3) where possible a good thing to do? To: Cedric Blancher References: Cc: FreeBSD Hackers From: Pedro Giffuni Message-ID: <90f37d14-a187-06b2-6187-7a9c1890a73f@FreeBSD.org> Date: Wed, 14 Sep 2016 14:11:35 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed 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: Wed, 14 Sep 2016 19:11:34 -0000 On 14/09/2016 13:54, Cedric Blancher wrote: > Who was the "principal Illumos developer"? I remember some heated > discussions, mostly rooted in 'we stick with ANSI C' and because the > CTF/dwarf tools in Illumos were unable to handle VLA and no one was > interested in fixing the BUGS in their toolchain, so the cheapest > solution was done: VLA was declared persona non grata. Saves company > money. Yes, the non-accessibility of VLAs for Dtrace was the main argument. This was a private conversation with Garrett D'Amore who did some nice enhancements to our printf(1). > Typical Sun policy which was one of the reasons which sealed the > downfall of Sun Microsystems. > > But this is NO ARGUMENT for FreeBSD... Our printf(1) implementation has all their enhancements but uses a VLA instead of alloca. This said, whatever illumos wants to keep in their code is relevant as we want to make it easy to merge ZFS and Dtrace changes back and forth. Pedro.