Displaying 10 results from an estimated 10 matches for "_linux_page_states_h".
2007 Apr 18
2
[patch 1/9] Guest page hinting: unused / free pages.
...no users)
*/
diff -urpN linux-2.6/include/linux/page-states.h linux-2.6-patched/include/linux/page-states.h
--- linux-2.6/include/linux/page-states.h 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6-patched/include/linux/page-states.h 2006-09-01 12:49:35.000000000 +0200
@@ -0,0 +1,32 @@
+#ifndef _LINUX_PAGE_STATES_H
+#define _LINUX_PAGE_STATES_H
+
+/*
+ * include/linux/page-states.h
+ *
+ * (C) Copyright IBM Corp. 2005, 2006
+ *
+ * Authors: Martin Schwidefsky <schwidefsky@de.ibm.com>
+ * Hubertus Franke <frankeh@watson.ibm.com>
+ * Himanshu Raj <rhim@cc.gatech.edu>
+ */
+
+...
2007 Apr 18
2
[patch 1/9] Guest page hinting: unused / free pages.
...no users)
*/
diff -urpN linux-2.6/include/linux/page-states.h linux-2.6-patched/include/linux/page-states.h
--- linux-2.6/include/linux/page-states.h 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6-patched/include/linux/page-states.h 2006-09-01 12:49:35.000000000 +0200
@@ -0,0 +1,32 @@
+#ifndef _LINUX_PAGE_STATES_H
+#define _LINUX_PAGE_STATES_H
+
+/*
+ * include/linux/page-states.h
+ *
+ * (C) Copyright IBM Corp. 2005, 2006
+ *
+ * Authors: Martin Schwidefsky <schwidefsky@de.ibm.com>
+ * Hubertus Franke <frankeh@watson.ibm.com>
+ * Himanshu Raj <rhim@cc.gatech.edu>
+ */
+
+...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...+ 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
+++ linux-2.6-patched/mm/fremap.c 2006-09-01 12:50:24.000000000 +0200
@@ -80,6 +80,7 @@ int install_page(struct mm_struct *mm, s
flush_icache_page(vma, page);
pte_va...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...+ 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
+++ linux-2.6-patched/mm/fremap.c 2006-09-01 12:50:24.000000000 +0200
@@ -80,6 +80,7 @@ int install_page(struct mm_struct *mm, s
flush_icache_page(vma, page);
pte_va...
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.
...nline void page_make_volatile(struct page *page, unsigned int offset)
+{
+ extern void __page_make_volatile(struct page *, unsigned int offset);
+ if (!page_host_discards())
+ return;
+ if (likely(!test_bit(PG_discarded, &page->flags)))
+ __page_make_volatile(page, offset);
+}
+
#endif /* _LINUX_PAGE_STATES_H */
diff -urpN linux-2.6/mm/filemap.c linux-2.6-patched/mm/filemap.c
--- linux-2.6/mm/filemap.c 2006-09-01 12:49:33.000000000 +0200
+++ linux-2.6-patched/mm/filemap.c 2006-09-01 12:49:36.000000000 +0200
@@ -118,7 +118,7 @@ extern u32 readahead_debug_level;
* sure the page is locked and that nobody...
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
...nline void page_make_volatile(struct page *page, unsigned int offset)
+{
+ extern void __page_make_volatile(struct page *, unsigned int offset);
+ if (!page_host_discards())
+ return;
+ if (likely(!test_bit(PG_discarded, &page->flags)))
+ __page_make_volatile(page, offset);
+}
+
#endif /* _LINUX_PAGE_STATES_H */
diff -urpN linux-2.6/mm/filemap.c linux-2.6-patched/mm/filemap.c
--- linux-2.6/mm/filemap.c 2006-09-01 12:49:33.000000000 +0200
+++ linux-2.6-patched/mm/filemap.c 2006-09-01 12:49:36.000000000 +0200
@@ -118,7 +118,7 @@ extern u32 readahead_debug_level;
* sure the page is locked and that nobody...