From owner-freebsd-current@FreeBSD.ORG Sat Nov 30 00:49:52 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E82B5C5 for ; Sat, 30 Nov 2013 00:49:52 +0000 (UTC) Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4C64E19B9 for ; Sat, 30 Nov 2013 00:49:52 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id w5so2392681qac.6 for ; Fri, 29 Nov 2013 16:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4x9AC/nAbPzDJiI99gjtaQRj1S52NRAffKwHtKcIQmI=; b=DVu0BbgL5USZsGBLe734ug7t2tTff6FY+z4jVQvYt8psxG7YcuSQksbuvus9lUTunI gYJLgMA0/9V+obcl9rkworJ6YtvTVf9XUXnKStwgxA5CoNjZ7IUz0SoQTDPEE+lK9K+L CLPgj4cR/n0UWZHXtbt3P5PAzIIgy2Tzw3WMI6xfqT0YmsjSnecCpfcrMCXM//vcmgGY PL6QhT1IoEzgUW4kaDLhZmIGn2nRsSODyIYIZiFoQ/mY/Nb2QfUGMUW+hwZyqMjFSUbG PaO7KHy9QtoBuKRwXjB0u61BSUytaTJJjVrvZnEc1ebqOuBXUNNZqv0yhA184/iqAbJF s0RA== MIME-Version: 1.0 X-Received: by 10.49.15.104 with SMTP id w8mr13170161qec.49.1385772591434; Fri, 29 Nov 2013 16:49:51 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Fri, 29 Nov 2013 16:49:51 -0800 (PST) In-Reply-To: References: Date: Fri, 29 Nov 2013 16:49:51 -0800 X-Google-Sender-Auth: swdzfrGASHXbdWDoQhJSmpPZoTQ Message-ID: Subject: Re: [RFC] how to get the size of a malloc(9) block ? From: Adrian Chadd To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current , jb X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2013 00:49:52 -0000 The reason I wouldn't implement this is to avoid having code that _relies_ on this behaviour in order to function or perform well. Heck, it may not even be portable to other operating systems. Except, Linux, I guess. -adrian