On Fri, Mar 14, 2008 at 04:03:28PM +0800, Huang, Ying wrote:Hi Huang, I am kind of ok with both the methods. - Communicate information between two kernels using an ELF NOTE prepared by kernel. - Communicate information between user space tools using initrd. But which method to use will depend on what information we want to exchange between two kernels. For example, re-entry points can be on stack or in ELF NOTE. Backup page map probably can be communicated using initrd as only user space need to access that (ELF Core headers can be put in a memory area which is not swapped during transition from kernel A to B. This way kernel B never needs to know that kernel A had done some swapping of pages?). So far I have understood only following. 1. We need to pass around entry/re-entry points between kernels. 2. We need to pass backup pages map from kernel A to kernel B, so that user space tool can do filtering. 3. We need to pass address of ELF core headers from kernel A to kernel B so that a valid vmcore of kernel A can be exported. - For first time boot of kernel B, address of ELF core header is passed through command line. - For re-entry into B, ELF core header address can be passed using some register, or on stack or using kernel ELF NOTE. What else? What information do we need to communicate from kernel B to kernel A or from kernel C to kernel A? I am sure that you have told it in the past. Just that I don't recollect it. Thanks Vivek --
| Parag Warudkar | BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0] |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Yinghai Lu | Re: [GIT *] Allow request_firmware() to be satisfied from in-kernel, use it in mor... |
| Linus Torvalds | Linux 2.6.27-rc8 |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Ismail | Re: [ANNOUNCE] GIT 1.5.3-rc4 |
| Toby White | Using Filemerge.app as a git-diff viewer |
| Wincent Colaiuta | Re: [ANNOUNCE] GIT 1.5.4 |
| Jeff Quast | Re: OpenBSD speed on desktops |
| Richard Stallman | Real men don't attack straw men |
| Daniel | GPRS/EDGE modems to use with a notebook |
| Jake Conk | Setting up ccd RAID 1 Howto OpenBSD 4.1 |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jeff Garzik | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH 20/31]: pkt_sched: Perform bulk of qdisc destruction in RCU. |
