Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dq4fH-0000DB-J9 for mharc-grub-devel@gnu.org; Thu, 07 Sep 2017 17:48:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dq4fC-00009q-7T for grub-devel@gnu.org; Thu, 07 Sep 2017 17:48:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dq4f7-0002tn-PK for grub-devel@gnu.org; Thu, 07 Sep 2017 17:48:42 -0400 Received: from boksu.net-space.pl ([185.15.1.105]:58994) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1dq4f7-0002se-Dd for grub-devel@gnu.org; Thu, 07 Sep 2017 17:48:37 -0400 Received: (from localhost user: 'dkiper' uid#4000 fake: STDIN (dkiper@boksu.net-space.pl)) by router-fw-old.local.net-space.pl id S1805408AbdIGVsd (ORCPT ); Thu, 7 Sep 2017 23:48:33 +0200 Date: Thu, 7 Sep 2017 23:48:33 +0200 From: Daniel Kiper To: Daniel Kiper Cc: Alexander Graf , grub-devel@gnu.org, elliott@hpe.com, mchang@suse.com, phcoder@gmail.com, Leif Lindholm Subject: Re: [PATCH v7 0/2] efi: Free memory on exit Message-ID: <20170907214833.GA24652@router-fw-old.local.net-space.pl> References: <20170831144019.65588-1-agraf@suse.de> <20170904134437.GA18174@router-fw-old.local.net-space.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170904134437.GA18174@router-fw-old.local.net-space.pl> User-Agent: Mutt/1.3.28i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.15.1.105 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 21:48:46 -0000 On Mon, Sep 04, 2017 at 03:44:37PM +0200, Daniel Kiper wrote: > On Thu, Aug 31, 2017 at 04:40:17PM +0200, Alexander Graf wrote: > > When exiting grub, we currently leave the heap allocated. This means that if we > > exit and rerun grub, after a few iterations we can run into memory shortage. > > > > This patch set frees the heap on exit. That way we can rerun grub many times > > without much problem. > > Whole patchset LGTM. If there are no objections then I will apply it by > the end of this week. Applied! Thanks, Daniel