From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1306 invoked by alias); 7 Feb 2011 06:10:07 -0000 Received: (qmail 1283 invoked by uid 22791); 7 Feb 2011 06:10:05 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_SUB_OBFU_OTHER,TW_ZF,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Feb 2011 06:10:01 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 8C05C1B403D; Mon, 7 Feb 2011 06:09:59 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: Re: [PATCH] sim: punt zfree() Date: Mon, 07 Feb 2011 06:10:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.37; KDE/4.5.5; x86_64; ; ) Cc: toolchain-devel@blackfin.uclinux.org References: <1293743320-13324-1-git-send-email-vapier@gentoo.org> <201101131935.00037.vapier@gentoo.org> In-Reply-To: <201101131935.00037.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart58971236.V1pust6rAe"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201102070109.56384.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00119.txt.bz2 --nextPart58971236.V1pust6rAe Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 698 On Thursday, January 13, 2011 19:34:59 Mike Frysinger wrote: > On Thursday, December 30, 2010 16:08:40 Mike Frysinger wrote: > > The sim keeps track of which allocations are zero-ed internally (via > > zalloc) and then calls a helper "zfree" function rather than "free". > > But this "zfree" function simply calls "free" itself. Since I can > > see no point in this and it is simply useless overhead, punt it. > >=20 > > The only real change is in hw-alloc.c where we remove the zalloc_p > > tracking, and sim-utils.c where zfree is delete. The rest of the > > changes are a simple `sed` from "zfree" to "free". >=20 > so i guess there's no real reason to keep this indirection ? ping ... -mike --nextPart58971236.V1pust6rAe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJNT4y0AAoJEEFjO5/oN/WB3X4P/j03hpec4CA+hRRjKm8q0nwN erQZEJk2gzPKwRy40l504GmQO9RYtk3SdCYDLWry0bZvtq1595G0YlFseTOA6tpl lhQB/ABrNkC2KGRKsP7/9pGSm8MppFjptqgDGsj9X6xWM2ty7rNnpNOFxVCepPJs mBGtPeuVY3BBOGMBeqrJa80oAAIXy5WfpXt8HLSn/Eumf9H/NAxTQVyh/DbgZMZ6 L34Bg0oh7WBB91PpiQg8cD0es9OeNt1i9xh2pnou2do5/ixNUTcuxMAdm23x/MSu AjYwvdS+cmR0jaNrZx/n/LFOzNlQbhnuIYmDVZZU0pzVwMVbh7UHFQGeclzU40Yy Q7ouTfQ20K96lkUH3voqkilOFIqz2eyqCKdIsyK/cf1+9wwxlt5CWpiewWLqNgAX jUQ8f5uwhFKFKEI93jOOxqfxlmXohEOjqRChl0/N5tTw7QJV334nepwvkf/xBj2a R8yvHa0DUUdlht+HmrbJ8MfPAAUiHsgTKw53dSS9AcS045AEbPpx4dia9bbki9OS RrZmERVYMQWz8IM5/eAKoGT4MYeDeB93MkRTL3zmexo9nY5HUHkuCFMW14azRews kRS9RqJ5MFYTpQFxhiTLCCEM5S5FroGwho0HvAgJW/nNETfRuSwQDTcKOHx8XpBv 1dvoxTzAqCId/+BTnB3/ =4qxd -----END PGP SIGNATURE----- --nextPart58971236.V1pust6rAe--