Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1611424
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] x86/boot: Support uncompressed kernel |
| Date | 2017-03-29 01:00 +0200 |
| Message-ID | <tq8fM-682-3@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <tpxSW-4Xx-17@gated-at.bofh.it> <tpBtw-7vp-25@gated-at.bofh.it> <tpCSB-hj-9@gated-at.bofh.it> <tpY6J-7lr-3@gated-at.bofh.it> <tq8fL-682-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Mar 28, 2017 at 3:38 PM, H. Peter Anvin <hpa@zytor.com> wrote: > On 03/28/17 05:01, Chao Peng wrote: >>> >>> I guess the next step would be to use CONFIG_XIP_KERNEL on x86, >>> which requires an uncompressed kernel but has the additional advantage >>> of sharing the read-only sections of the kernel image across virtual >>> machines, resulting in better RAM and cache usage. >> >> That is something we wanna look into :) >> > > It is, but that is a second order thing... especially since the x86 > kernel makes heavy use of self-patching at the moment. What would be > more significant, though, would be to avoid the memcpy() and instead > decode the uncompressed kernel in-place. > Having looked at this code recently, I'd rather fix it differently: use the streaming decompression API and integrate it with the ELF parsing code so we can decompress directly into the actual load location. Also, the parse_elf() code needs some serious improved documentation and robustification. It's absurdly fragile right now.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH] x86/boot: Support uncompressed kernel Chao Peng <chao.p.peng@linux.intel.com> - 2017-03-28 14:10 +0200
Re: [PATCH] x86/boot: Support uncompressed kernel "H. Peter Anvin" <hpa@zytor.com> - 2017-03-29 01:00 +0200
Re: [PATCH] x86/boot: Support uncompressed kernel Andy Lutomirski <luto@amacapital.net> - 2017-03-29 01:00 +0200
csiph-web