Displaying 7 results from an estimated 7 matches for "kernel_map_pages".
2007 Apr 18
2
[patch 1/9] Guest page hinting: unused / free pages.
...ux-2.6/mm/page_alloc.c 2006-09-01 12:49:33.000000000 +0200
+++ linux-2.6-patched/mm/page_alloc.c 2006-09-01 12:49:35.000000000 +0200
@@ -515,6 +515,7 @@ static void __free_pages_ok(struct page
reserved += free_pages_check(page + i);
if (reserved)
return;
+ page_set_unused(page, order);
kernel_map_pages(page, 1 << order, 0);
local_irq_save(flags);
@@ -798,6 +799,7 @@ static void fastcall free_hot_cold_page(
page->mapping = NULL;
if (free_pages_check(page))
return;
+ page_set_unused(page, 0);
kernel_map_pages(page, 1, 0);
@@ -885,6 +887,7 @@ again:
put_cpu();
VM_BUG_O...
2007 Apr 18
2
[patch 1/9] Guest page hinting: unused / free pages.
...ux-2.6/mm/page_alloc.c 2006-09-01 12:49:33.000000000 +0200
+++ linux-2.6-patched/mm/page_alloc.c 2006-09-01 12:49:35.000000000 +0200
@@ -515,6 +515,7 @@ static void __free_pages_ok(struct page
reserved += free_pages_check(page + i);
if (reserved)
return;
+ page_set_unused(page, order);
kernel_map_pages(page, 1 << order, 0);
local_irq_save(flags);
@@ -798,6 +799,7 @@ static void fastcall free_hot_cold_page(
page->mapping = NULL;
if (free_pages_check(page))
return;
+ page_set_unused(page, 0);
kernel_map_pages(page, 1, 0);
@@ -885,6 +887,7 @@ again:
put_cpu();
VM_BUG_O...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...< PG_error | 1 << PG_readahead |
1 << PG_referenced | 1 << PG_arch_1 |
- 1 << PG_fs_misc | 1 << PG_mappedtodisk);
+ 1 << PG_fs_misc | 1 << PG_mappedtodisk |
+ 1 << PG_writable );
set_page_private(page, 0);
set_page_refcounted(page);
kernel_map_pages(page, 1 << order, 1);
diff -urpN linux-2.6/mm/page-discard.c linux-2.6-patched/mm/page-discard.c
--- linux-2.6/mm/page-discard.c 2006-09-01 12:50:24.000000000 +0200
+++ linux-2.6-patched/mm/page-discard.c 2006-09-01 12:50:24.000000000 +0200
@@ -81,7 +81,7 @@ void __page_make_volatile(struct p...
2007 Apr 18
0
[patch 6/9] Guest page hinting: writable page table entries.
...< PG_error | 1 << PG_readahead |
1 << PG_referenced | 1 << PG_arch_1 |
- 1 << PG_fs_misc | 1 << PG_mappedtodisk);
+ 1 << PG_fs_misc | 1 << PG_mappedtodisk |
+ 1 << PG_writable );
set_page_private(page, 0);
set_page_refcounted(page);
kernel_map_pages(page, 1 << order, 1);
diff -urpN linux-2.6/mm/page-discard.c linux-2.6-patched/mm/page-discard.c
--- linux-2.6/mm/page-discard.c 2006-09-01 12:50:24.000000000 +0200
+++ linux-2.6-patched/mm/page-discard.c 2006-09-01 12:50:24.000000000 +0200
@@ -81,7 +81,7 @@ void __page_make_volatile(struct p...
2013 Oct 06
40
[xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
Greetings,
I got the below dmesg and the first bad commit is
commit cf39c8e5352b4fb9efedfe7e9acb566a85ed847c
Merge: 3398d25 23b7eaf
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Wed Sep 4 17:45:39 2013 -0700
Merge tag ''stable/for-linus-3.12-rc0-tag'' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull Xen updates from Konrad
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi,
This is a set of updates for the firstfloor patch queue.
Quick rundown:
revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch
separate-module-percpu-space.patch
Update the module percpu accounting patch
fix-ff-allow-percpu-variables-to-be-page-aligned.patch
Make sure the percpu memory allocation is page-aligned
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi,
This is a set of updates for the firstfloor patch queue.
Quick rundown:
revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch
separate-module-percpu-space.patch
Update the module percpu accounting patch
fix-ff-allow-percpu-variables-to-be-page-aligned.patch
Make sure the percpu memory allocation is page-aligned