Greg KH <greg@kroah.com> writes:The structure has grown and fields have been added in a backwards compatible way. It is very much an ABI from the bootloader to the kernel. /proc/kmem? All of this work happens in user space. The kexec syscall interface is just load these chunks of data at this these addresses and finally jump to this address. All of the interesting kexec work happens in user space, and it needs to stay that way. Otherwise we loose the flexibility and simplicity on the kernel side. So all of the fields are binary. The entire structure is binary. The native format is binary. So either we need to export the processed and chewed up version of the information like we do today in /proc/iomem. Or we need to export the raw binary format. Well /sbin/kexec fundamentally has to "know" the layout of that binary blob because it generates it and hands it to the kernel. Greg I think I am with you on this one. If something other then /sbin/kexec is going to use that information we need to split it by field, although I expect the fields to remain binary. Things like the e820 memory map and most of the other fields are binary structures defined to be returned by the firmware so at that level we have extremely well defined binary blobs, that may possibly be used for other things. /sbin/kexec needs to retain the ability to parse and understand the information because frequently it needs to change little things like the memory map and the command line and possibly other things so it can't blindly pass this information through. Eric --
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Eric Sandeen | Re: [RFC] Heads up on sys_fallocate() |
| Filippos Papadopoulos | Re: INITIO scsi driver fails to work properly |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
| Natalie Protasevich | [BUG] New Kernel Bugs |
