Displaying 6 results from an estimated 6 matches for "pg_state_chang".
Did you mean:
pg_state_change
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
...ge reference grabbed from a page
table cannot be used to access the page content. A page_make_stable
needs to be done first and if that fails the page needs to get discarded.
That removes the page table entry as well.
Two new page flags are added. To guard against concurrent page state
updates the PG_state_change flag is used. It prevents that a transition
to the stable state can "overtake" a transition to volatile state.
If page_make_volatile has already done the 10 checks it will issue
the state change primitive. If in the meantime on of the conditions has
changed the user that requires the pag...
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
...ge reference grabbed from a page
table cannot be used to access the page content. A page_make_stable
needs to be done first and if that fails the page needs to get discarded.
That removes the page table entry as well.
Two new page flags are added. To guard against concurrent page state
updates the PG_state_change flag is used. It prevents that a transition
to the stable state can "overtake" a transition to volatile state.
If page_make_volatile has already done the 10 checks it will issue
the state change primitive. If in the meantime on of the conditions has
changed the user that requires the pag...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...(pte, ptl);
diff -urpN linux-2.6/include/linux/page-flags.h linux-2.6-patched/include/linux/page-flags.h
--- linux-2.6/include/linux/page-flags.h 2006-09-01 12:50:23.000000000 +0200
+++ linux-2.6-patched/include/linux/page-flags.h 2006-09-01 12:50:24.000000000 +0200
@@ -107,6 +107,7 @@
#define PG_state_change 21 /* HV page state is changing. */
#define PG_discarded 22 /* HV page has been discarded. */
+#define PG_writable 23 /* HV page is mapped writable. */
/*
* Manipulation of page state flags
@@ -267,6 +268,10 @@
#define TestSetPageDiscarded(page) \
test_and_set_bit(PG_discarded, &(...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...(pte, ptl);
diff -urpN linux-2.6/include/linux/page-flags.h linux-2.6-patched/include/linux/page-flags.h
--- linux-2.6/include/linux/page-flags.h 2006-09-01 12:50:23.000000000 +0200
+++ linux-2.6-patched/include/linux/page-flags.h 2006-09-01 12:50:24.000000000 +0200
@@ -107,6 +107,7 @@
#define PG_state_change 21 /* HV page state is changing. */
#define PG_discarded 22 /* HV page has been discarded. */
+#define PG_writable 23 /* HV page is mapped writable. */
/*
* Manipulation of page state flags
@@ -267,6 +268,10 @@
#define TestSetPageDiscarded(page) \
test_and_set_bit(PG_discarded, &(...
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
...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 primitives. s390 now uses PG_arch_1 and avoids to waste
another page flag (it still uses two additional bits).
- Add calls to make pages volatile when pages are moved from the
active to the inactive list and set max_buffer_heads to...
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
...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 primitives. s390 now uses PG_arch_1 and avoids to waste
another page flag (it still uses two additional bits).
- Add calls to make pages volatile when pages are moved from the
active to the inactive list and set max_buffer_heads to...