search for: page_set_volatil

Displaying 13 results from an estimated 13 matches for "page_set_volatil".

Did you mean: page_set_volatile
2009 Mar 27
16
[patch 0/6] Guest page hinting version 7.
Greetings, the circus is back in town -- another version of the guest page hinting patches. The patches differ from version 6 only in the kernel version, they apply against 2.6.29. My short sniff test showed that the code is still working as expected. To recap (you can skip this if you read the boiler plate of the last version of the patches): The main benefit for guest page hinting vs. the
2009 Mar 27
16
[patch 0/6] Guest page hinting version 7.
Greetings, the circus is back in town -- another version of the guest page hinting patches. The patches differ from version 6 only in the kernel version, they apply against 2.6.29. My short sniff test showed that the code is still working as expected. To recap (you can skip this if you read the boiler plate of the last version of the patches): The main benefit for guest page hinting vs. the
2009 Mar 27
16
[patch 0/6] Guest page hinting version 7.
Greetings, the circus is back in town -- another version of the guest page hinting patches. The patches differ from version 6 only in the kernel version, they apply against 2.6.29. My short sniff test showed that the code is still working as expected. To recap (you can skip this if you read the boiler plate of the last version of the patches): The main benefit for guest page hinting vs. the
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...2006-09-01 12:50:23.000000000 +0200 +++ linux-2.6-patched/include/linux/page-states.h 2006-09-01 12:50:24.000000000 +0200 @@ -40,7 +40,7 @@ #define page_host_discards() (0) #define page_set_unused(_page,_order) do { } while (0) #define page_set_stable(_page,_order) do { } while (0) -#define page_set_volatile(_page) do { } while (0) +#define page_set_volatile(_page,_writable) do { } while (0) #define page_set_stable_if_present(_page) (1) #define page_discarded(_page) (0) @@ -63,6 +63,12 @@ * from the LRU list and the radix tree of its mapping. * page_discard uses page_unmap_all to re...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...2006-09-01 12:50:23.000000000 +0200 +++ linux-2.6-patched/include/linux/page-states.h 2006-09-01 12:50:24.000000000 +0200 @@ -40,7 +40,7 @@ #define page_host_discards() (0) #define page_set_unused(_page,_order) do { } while (0) #define page_set_stable(_page,_order) do { } while (0) -#define page_set_volatile(_page) do { } while (0) +#define page_set_volatile(_page,_writable) do { } while (0) #define page_set_stable_if_present(_page) (1) #define page_discarded(_page) (0) @@ -63,6 +63,12 @@ * from the LRU list and the radix tree of its mapping. * page_discard uses page_unmap_all to re...
2007 Jun 28
6
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.
2007 Jun 28
6
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
After way to many months here is the fifth version of the guest page hinting patches. Compared to version four a few improvements have been added: - Avoid page_host_discards() calls outside of page-states.h - The discard list is now implemented via the page_free_discarded hook and architecture specific code. - PG_state_change page flag has been replaced with architecture specficic
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
After way to many months here is the fifth version of the guest page hinting patches. Compared to version four a few improvements have been added: - Avoid page_host_discards() calls outside of page-states.h - The discard list is now implemented via the page_free_discarded hook and architecture specific code. - PG_state_change page flag has been replaced with architecture specficic
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
...* Indicates to the host that the page content is of no interest * to the guest. The host can "forget" the page content and replace * it with a page containing zeroes. * - page_set_stable: * Indicate to the host that the page content is needed by the guest. + * - page_set_volatile: + * Make the page discardable by the host. Instead of writing the + * page to the hosts swap device, the host can remove the page. + * A guest that accesses such a discarded page gets a special + * discard fault. + * - page_set_stable_if_present: + * The page state is set to s...
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
...* Indicates to the host that the page content is of no interest * to the guest. The host can "forget" the page content and replace * it with a page containing zeroes. * - page_set_stable: * Indicate to the host that the page content is needed by the guest. + * - page_set_volatile: + * Make the page discardable by the host. Instead of writing the + * page to the hosts swap device, the host can remove the page. + * A guest that accesses such a discarded page gets a special + * discard fault. + * - page_set_stable_if_present: + * The page state is set to s...
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...& ESSA_CSTATE_MASK) == ESSA_CSTATE_ZERO; +} + static inline void page_set_unused(struct page *page, int order) { int i; @@ -52,4 +68,27 @@ static inline void page_set_stable(struc for (i = 0; i < (1 << order); i++) page_essa(page + i, ESSA_SET_STABLE); } + +static inline void page_set_volatile(struct page *page, int writable) +{ + if (!MACHINE_HAS_ESSA) + return; + if (writable) + page_essa(page, ESSA_SET_PVOLATILE); + else + page_essa(page, ESSA_SET_VOLATILE); +} + +static inline int page_set_stable_if_present(struct page *page) +{ + int rc; + + if (!MACHINE_HAS_ESSA || PageReserved...
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...& ESSA_CSTATE_MASK) == ESSA_CSTATE_ZERO; +} + static inline void page_set_unused(struct page *page, int order) { int i; @@ -52,4 +68,27 @@ static inline void page_set_stable(struc for (i = 0; i < (1 << order); i++) page_essa(page + i, ESSA_SET_STABLE); } + +static inline void page_set_volatile(struct page *page, int writable) +{ + if (!MACHINE_HAS_ESSA) + return; + if (writable) + page_essa(page, ESSA_SET_PVOLATILE); + else + page_essa(page, ESSA_SET_VOLATILE); +} + +static inline int page_set_stable_if_present(struct page *page) +{ + int rc; + + if (!MACHINE_HAS_ESSA || PageReserved...