Displaying 6 results from an estimated 6 matches for "__page_reset_writable".
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...te_t pte)
+{
+	extern void __page_check_writable(struct page *, pte_t);
+	if (!page_host_discards() || !pte_write(pte) ||
+	    test_bit(PG_writable, &page->flags))
+		return;
+	__page_check_writable(page, pte);
+}
+
+static inline void page_reset_writable(struct page *page)
+{
+	extern void __page_reset_writable(struct page *);
+	if (!page_host_discards() || !test_bit(PG_writable, &page->flags))
+		return;
+	__page_reset_writable(page);
+}
+
 #endif /* _LINUX_PAGE_STATES_H */
diff -urpN linux-2.6/mm/fremap.c linux-2.6-patched/mm/fremap.c
--- linux-2.6/mm/fremap.c	2006-09-01 12:49:33.000000000 +0200...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...te_t pte)
+{
+	extern void __page_check_writable(struct page *, pte_t);
+	if (!page_host_discards() || !pte_write(pte) ||
+	    test_bit(PG_writable, &page->flags))
+		return;
+	__page_check_writable(page, pte);
+}
+
+static inline void page_reset_writable(struct page *page)
+{
+	extern void __page_reset_writable(struct page *);
+	if (!page_host_discards() || !test_bit(PG_writable, &page->flags))
+		return;
+	__page_reset_writable(page);
+}
+
 #endif /* _LINUX_PAGE_STATES_H */
diff -urpN linux-2.6/mm/fremap.c linux-2.6-patched/mm/fremap.c
--- linux-2.6/mm/fremap.c	2006-09-01 12:49:33.000000000 +0200...
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