Re: [PATCH] x86/mm/init: respect memblock reserved regions whendestroying mappings

From: Konrad Rzeszutek Wilk
Date: Tue Feb 08 2011 - 09:57:28 EST


> >> could be used to skip clear highmap for xen path?
> >
> > Seems pretty ad-hoc.
> >
>
> then what is size for mfn-list after _end...

8 bytes * nr_pages. For 4GB, 2048 pages. For 32GB, 8192 pages. For 128GB,
32768 pages, and so on.
>
> could be copied or move to BRK.

The _brk size is determined during build-time. We don't know what the
memory size will be during bootup time and would have to select the
highest values (128MB) which is quite a large amount to be reserved
in _brk area.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/