From: Keir Fraser Subject: Re: question about DomU kernel loading Date: Fri, 24 Feb 2006 12:01:14 +0000 Message-ID: References: <1140730017.43fe28a1d2fe8@webmail.asu.edu> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1140730017.43fe28a1d2fe8@webmail.asu.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ying.U.Wang@asu.edu Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 23 Feb 2006, at 21:26, Ying.U.Wang@asu.edu wrote: > Here is my experiment: > > 1. parse xenU kernel image, extract ".text" section from the image. > 2. dump the domU memory from the dsi.v_start upto the size of ".text" > section. > 3. compare the results from step 1 and step 2. > > I found that the majority of the code are the same, but still about > 500 bytes > are different between these two in various locations. > > Could anyone tell me why are not they the same and what made the > difference? The kernel modifies itself to insert the best code sequences for the system its running on: e.g., add synchronisation primitives if the system is multiprocessor. -- Keir