Skip to contentSkip to conversation

fix reclaim memory incorrectly

PATCH Xu, Anthony 1 participant 1 message Feb 28, 2006

lore
Share & tools
lore
#0 lore raw

Sorry, it's a wrong patch, please desert this patch.
Since I have been working on IA64, I consider PAGE_SIZE as 16KB by default.
In IA32, PAGE_SIZE is 4KB which is same with EFI page size, so there should be
no issue.

Thanks,
-Anthony

Quoted 18 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Xu, Anthony
Sent: 2006年2月28日 15:42
To: [email protected]
Subject: [Xen-devel] [PATCH]fix reclaim memory incorrectly

Keir,
Below code segment may reclaim extra page (the last page which may be partially used by other user).

   init_domheap_pages(
       _image_start, (_image_start+image_len+PAGE_SIZE-1) & PAGE_MASK);

Signed-off-by Anthony Xu <[email protected]>

Thanks,
-Anthony