search for: config_page_st

Displaying 14 results from an estimated 14 matches for "config_page_st".

2007 Apr 18
2
[patch 4/9] Guest page hinting: volatile swap cache.
...00 +0200 +++ linux-2.6-patched/include/linux/pagemap.h 2006-09-01 12:50:23.000000000 +0200 @@ -85,6 +85,13 @@ unsigned find_get_pages_contig(struct ad unsigned find_get_pages_tag(struct address_space *mapping, pgoff_t *index, int tag, unsigned int nr_pages, struct page **pages); +#if defined(CONFIG_PAGE_STATES) +extern struct page * find_get_page_nodiscard(struct address_space *mapping, + unsigned long index); +#else +#define find_get_page_nodiscard(mapping, index) find_get_page(mapping, index) +#endif + /* * Returns locked page at given index in given cache, creating it if needed. */ d...
2007 Apr 18
2
[patch 4/9] Guest page hinting: volatile swap cache.
...00 +0200 +++ linux-2.6-patched/include/linux/pagemap.h 2006-09-01 12:50:23.000000000 +0200 @@ -85,6 +85,13 @@ unsigned find_get_pages_contig(struct ad unsigned find_get_pages_tag(struct address_space *mapping, pgoff_t *index, int tag, unsigned int nr_pages, struct page **pages); +#if defined(CONFIG_PAGE_STATES) +extern struct page * find_get_page_nodiscard(struct address_space *mapping, + unsigned long index); +#else +#define find_get_page_nodiscard(mapping, index) find_get_page(mapping, index) +#endif + /* * Returns locked page at given index in given cache, creating it if needed. */ d...
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
0
[patch 7/9] Guest page hinting: minor fault optimization.
...x/pagemap.h 2006-09-01 12:50:24.000000000 +0200 +++ linux-2.6-patched/include/linux/pagemap.h 2006-09-01 12:50:25.000000000 +0200 @@ -49,6 +49,11 @@ static inline void mapping_set_gfp_mask( #define page_cache_get(page) get_page(page) #define page_cache_release(page) put_page(page) +#if defined(CONFIG_PAGE_STATES) +#define page_cache_release_nocheck(page) put_page_nocheck(page) +#else +#define page_cache_release_nocheck(page) put_page(page) +#endif void release_pages(struct page **pages, int nr, int cold); #ifdef CONFIG_NUMA diff -urpN linux-2.6/include/linux/swap.h linux-2.6-patched/include/linux/s...
2007 Apr 18
0
[patch 7/9] Guest page hinting: minor fault optimization.
...x/pagemap.h 2006-09-01 12:50:24.000000000 +0200 +++ linux-2.6-patched/include/linux/pagemap.h 2006-09-01 12:50:25.000000000 +0200 @@ -49,6 +49,11 @@ static inline void mapping_set_gfp_mask( #define page_cache_get(page) get_page(page) #define page_cache_release(page) put_page(page) +#if defined(CONFIG_PAGE_STATES) +#define page_cache_release_nocheck(page) put_page_nocheck(page) +#else +#define page_cache_release_nocheck(page) put_page(page) +#endif void release_pages(struct page **pages, int nr, int cold); #ifdef CONFIG_NUMA diff -urpN linux-2.6/include/linux/swap.h linux-2.6-patched/include/linux/s...
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...*sp; asm("la %0,0(15)" : "=&d" (sp)); sp; }) @@ -734,6 +735,9 @@ void __init trap_init(void) pgm_check_table[0x1C] = &space_switch_exception; pgm_check_table[0x1D] = &hfp_sqrt_exception; pgm_check_table[0x40] = &do_monitor_call; +#if defined(CONFIG_PAGE_STATES) + pgm_check_table[0x1a] = &do_discard_fault; +#endif if (MACHINE_IS_VM) { #ifdef CONFIG_PFAULT diff -urpN linux-2.6/arch/s390/mm/fault.c linux-2.6-patched/arch/s390/mm/fault.c --- linux-2.6/arch/s390/mm/fault.c 2006-09-01 12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/mm/fau...
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...*sp; asm("la %0,0(15)" : "=&d" (sp)); sp; }) @@ -734,6 +735,9 @@ void __init trap_init(void) pgm_check_table[0x1C] = &space_switch_exception; pgm_check_table[0x1D] = &hfp_sqrt_exception; pgm_check_table[0x40] = &do_monitor_call; +#if defined(CONFIG_PAGE_STATES) + pgm_check_table[0x1a] = &do_discard_fault; +#endif if (MACHINE_IS_VM) { #ifdef CONFIG_PFAULT diff -urpN linux-2.6/arch/s390/mm/fault.c linux-2.6-patched/arch/s390/mm/fault.c --- linux-2.6/arch/s390/mm/fault.c 2006-09-01 12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/mm/fau...
2007 Apr 18
2
[patch 1/9] Guest page hinting: unused / free pages.
...INUX_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> + */ + +#if defined(CONFIG_PAGE_STATES) +#include <asm/page-states.h> +#else + +/* Guest page hinting architecture primitives: + * - page_set_unused: + * 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 co...
2007 Apr 18
2
[patch 1/9] Guest page hinting: unused / free pages.
...INUX_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> + */ + +#if defined(CONFIG_PAGE_STATES) +#include <asm/page-states.h> +#else + +/* Guest page hinting architecture primitives: + * - page_set_unused: + * 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 co...
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
....6/mm/Makefile 2006-09-01 12:49:33.000000000 +0200 +++ linux-2.6-patched/mm/Makefile 2006-09-01 12:50:14.000000000 +0200 @@ -28,3 +28,4 @@ obj-$(CONFIG_MEMORY_HOTPLUG) += memory_h obj-$(CONFIG_FS_XIP) += filemap_xip.o obj-$(CONFIG_MIGRATION) += migrate.o obj-$(CONFIG_SMP) += allocpercpu.o +obj-$(CONFIG_PAGE_STATES) += page-discard.o diff -urpN linux-2.6/mm/memory.c linux-2.6-patched/mm/memory.c --- linux-2.6/mm/memory.c 2006-09-01 12:49:33.000000000 +0200 +++ linux-2.6-patched/mm/memory.c 2006-09-01 12:49:36.000000000 +0200 @@ -1058,6 +1058,7 @@ int get_user_pages(struct task_struct *t if (write)...
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
....6/mm/Makefile 2006-09-01 12:49:33.000000000 +0200 +++ linux-2.6-patched/mm/Makefile 2006-09-01 12:50:14.000000000 +0200 @@ -28,3 +28,4 @@ obj-$(CONFIG_MEMORY_HOTPLUG) += memory_h obj-$(CONFIG_FS_XIP) += filemap_xip.o obj-$(CONFIG_MIGRATION) += migrate.o obj-$(CONFIG_SMP) += allocpercpu.o +obj-$(CONFIG_PAGE_STATES) += page-discard.o diff -urpN linux-2.6/mm/memory.c linux-2.6-patched/mm/memory.c --- linux-2.6/mm/memory.c 2006-09-01 12:49:33.000000000 +0200 +++ linux-2.6-patched/mm/memory.c 2006-09-01 12:49:36.000000000 +0200 @@ -1058,6 +1058,7 @@ int get_user_pages(struct task_struct *t if (write)...