From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Fleming Subject: Re: [PATCH] efi: stub: use a pool allocation for the cmdline Date: Wed, 15 Apr 2015 10:55:06 +0100 Message-ID: <20150415095506.GA4804@codeblueprint.co.uk> References: <1428670569-23089-1-git-send-email-ard.biesheuvel@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ard Biesheuvel Cc: Roy Franz , "linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Matt Fleming , Leif Lindholm , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" List-Id: linux-efi@vger.kernel.org On Fri, 10 Apr, at 07:14:34PM, Ard Biesheuvel wrote: > > It is not such a big deal: the memory is reclaimed anyway, I was just > trying to reduce the fragmentation a bit, and trying to avoid > efi_xxx_alloc() which are substantially heavier than calling > allocate_pool() or allocate_pages() directly. Out of curiosity, do you have any runtime numbers to backup the claim that allocate_*() is substantially more lightweight? -- Matt Fleming, Intel Open Source Technology Center From mboxrd@z Thu Jan 1 00:00:00 1970 From: matt@codeblueprint.co.uk (Matt Fleming) Date: Wed, 15 Apr 2015 10:55:06 +0100 Subject: [PATCH] efi: stub: use a pool allocation for the cmdline In-Reply-To: References: <1428670569-23089-1-git-send-email-ard.biesheuvel@linaro.org> Message-ID: <20150415095506.GA4804@codeblueprint.co.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, 10 Apr, at 07:14:34PM, Ard Biesheuvel wrote: > > It is not such a big deal: the memory is reclaimed anyway, I was just > trying to reduce the fragmentation a bit, and trying to avoid > efi_xxx_alloc() which are substantially heavier than calling > allocate_pool() or allocate_pages() directly. Out of curiosity, do you have any runtime numbers to backup the claim that allocate_*() is substantially more lightweight? -- Matt Fleming, Intel Open Source Technology Center