[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/2] efi/boot: Don't free ebmalloc area at all



On Wed, Mar 01, 2017 at 02:08:17AM -0700, Jan Beulich wrote:
> >>> On 01.03.17 at 10:00, <daniel.kiper@xxxxxxxxxx> wrote:
> > On Wed, Mar 01, 2017 at 01:02:55AM -0700, Jan Beulich wrote:

[...]

> >> suppress the freeing of the used part of it. The other option is to put
> >> a section along the lines of Linux'es .brk _after_ .bss (whether ahead
> >> of or after _end would need to be seen), replacing the uses of
> >> __2M_rwdata_end by a runtime calculated value (and freeing space
> >> past the used portion accordingly, without shattering large pages if
> >> used).
> >
> > OK, make sense for me. However, from a bootloader point of view it should be
> > still part of BSS. Otherwise, the bootloader can put the end of Xen image 
> > too
> > close to reserved/no ram/etc. region. This does not seem important right now
> > but after applying the rest of my patch series it can make a pain.
>
> I'm afraid I don't understand: It needs to be part of the ELF
> load segments or PE32+ loaded sections, but whether that's
> part of .bss or an adjacent @nobits section at the source level
> shouldn't matter at all.

At source level I do not care much. And if it is a part "of the ELF load
segments" and "PE32+ loaded sections" then it is OK for me.

Daniel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.