Displaying 4 results from an estimated 4 matches for "clearpageforeign".
2006 Mar 14
1
[Xen-ia64-devel] RE: RE: Linux PG_arch_1 conflict
...t;#define PageForeign(page) \
> (page->mapping == &xen_ia64_foreign_dummy_mapping)
>
>#define SetPageForeign(page, dtor) do { \
> set_page_private((page), (unsigned long)dtor); \
> (page)->mapping = &xen_ia64_foreign_dummy_mapping; \
>} while (0)
>
>#define ClearPageForeign(page) do { \
> (page)->mapping = NULL; \
> set_page_private((page), 0); \
>} while (0)
>
>#define PageForeignDestructor(page) \
> ( (void (*) (struct page *)) page_private((page)) )
>
Hi, Isaku,
(page)->mapping is used to keep special destructor since that foreign page...
2006 Mar 14
0
RE: [Xen-ia64-devel] RE: RE: Linux PG_arch_1 conflict
...n_ia64_foreign_dummy_mapping)
>> >
>> >#define SetPageForeign(page, dtor) do { \
>> > set_page_private((page), (unsigned long)dtor); \
>> > (page)->mapping = &xen_ia64_foreign_dummy_mapping; \
>> >} while (0)
>> >
>> >#define ClearPageForeign(page) do { \
>> > (page)->mapping = NULL; \
>> > set_page_private((page), 0); \
>> >} while (0)
>> >
>> >#define PageForeignDestructor(page) \
>> > ( (void (*) (struct page *)) page_private((page)) )
>> >
>>
>> Hi, Isaku...
2007 Jan 10
1
[PATCH] linux/i386: allow CONFIG_HIGHPTE on i386 (take 2)
...!pte_write(*virt_to_ptep(va)))
+ BUG_ON(HYPERVISOR_update_va_mapping(
+ va, pfn_pte(pfn, PAGE_KERNEL), 0));
+ } else {
+ struct mmuext_op op;
+
+ op.cmd = MMUEXT_UNPIN_TABLE;
+ op.arg1.mfn = pfn_to_mfn(pfn);
+ BUG_ON(HYPERVISOR_mmuext_op(&op, 1, NULL, DOMID_SELF) < 0);
+ }
ClearPageForeign(pte);
set_page_count(pte, 1);
Index: sle10-sp1-2007-01-10/include/asm-i386/mach-xen/asm/pgalloc.h
===================================================================
--- sle10-sp1-2007-01-10.orig/include/asm-i386/mach-xen/asm/pgalloc.h 2007-01-10 13:33:54.000000000 +0100
+++ sle10-sp1-2007-01-10/...
2007 Mar 20
62
RFC: [0/2] Remove netloop by lazy copying in netback
Hi Keir:
These two patches remove the need for netloop by performing the
copying in netback and only if it is necessary. The rationale
is that most packets will be processed without delay allowing
them to be freed without copying at all. So instead of copying
every packet destined to dom0 we''ll only copy those that linger
longer than a specified amount of time (currently 0.5s).
As it