From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Yinghai Lu <yinghai@kernel.org>
Cc: linux-kernel@vger.kernel.org, x86@vkernel.org, hpa@zytor.com,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [PATCH] efi: Retain boot service code until after switching to virtual mode
Date: Thu, 19 May 2011 21:33:08 +0100 [thread overview]
Message-ID: <20110519203308.GA2106@srcf.ucam.org> (raw)
In-Reply-To: <BANLkTi=fViUQ+7i3PopGH4jkEcvCUqkrMg@mail.gmail.com>
On Thu, May 19, 2011 at 01:26:27PM -0700, Yinghai Lu wrote:
> how many entries are listed in memmap?
So far I've been seeing about 20 boot services entries at most.
> Did you test this system that have lots of those entries ? like > 128?
Do any exist?
> because efi_init() is called before memblock_x86_fill(), that means
> memblock array for reserved can not be doubled yet. --- no usable
> entries in memblock array for ram.
Mm. I guess this can be shifted later.
> > + * get rid of it all at this point
> > + */
> > + free_efi_boot_services();
> > +
>
> No, at that point memblock is not used any more. after mm_init()/mem_init()
>
> need to use free_bootmem_late() in free_efi_boot_services
Ah, ok.
--
Matthew Garrett | mjg59@srcf.ucam.org
prev parent reply other threads:[~2011-05-19 20:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-19 17:32 [PATCH] efi: Retain boot service code until after switching to virtual mode Matthew Garrett
2011-05-19 20:26 ` Yinghai Lu
2011-05-19 20:33 ` Matthew Garrett [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110519203308.GA2106@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=benh@kernel.crashing.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=x86@vkernel.org \
--cc=yinghai@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.