Displaying 20 results from an estimated 132 matches for "pgalloc".
Did you mean:
kmalloc
2017 May 19
0
[PATCH 01/10] x86: remove stale prototype from arch/x86/include/asm/pgalloc.h
paravirt_alloc_pmd_clone() doesn't exist anywhere. Remove its
prototype.
Signed-off-by: Juergen Gross <jgross at suse.com>
---
arch/x86/include/asm/pgalloc.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/include/asm/pgalloc.h b/arch/x86/include/asm/pgalloc.h
index b2d0cd8288aa..71de65bb1791 100644
--- a/arch/x86/include/asm/pgalloc.h
+++ b/arch/x86/include/asm/pgalloc.h
@@ -14,8 +14,6 @@ static inline int __paravirt_pgd_alloc(struct m...
2003 Oct 07
2
Compile problem SuSE 8.2
...from /usr/src/linux/include/linux/vmalloc.h:8,
from /usr/src/linux/include/asm/io.h:47,
from /usr/src/linux/include/asm/pci.h:40,
from /usr/src/linux/include/linux/pci.h:654,
from zaptel.c:38:
/usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_page':
/usr/src/linux/include/asm/pgalloc.h:201: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [zaptel.o] Error...
2018 Feb 17
2
[PATCH] virtio_balloon: export huge page allocation statistics
Export statistics for successful and failed huge page allocations
from the virtio balloon driver. These 2 stats come directly from
the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL.
Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com>
---
drivers/virtio/virtio_balloon.c | 6 ++++++
include/uapi/linux/virtio_balloon.h | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/virtio/virtio_balloon.c b/drive...
2018 Feb 17
2
[PATCH] virtio_balloon: export huge page allocation statistics
Export statistics for successful and failed huge page allocations
from the virtio balloon driver. These 2 stats come directly from
the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL.
Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com>
---
drivers/virtio/virtio_balloon.c | 6 ++++++
include/uapi/linux/virtio_balloon.h | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/virtio/virtio_balloon.c b/drive...
2007 Apr 18
1
[PATCH 1/5] Add pagetable allocation notifiers
...) {
+ ClearPagePDE(pfn_to_page(pgd_val(pgd[i]) >> PAGE_SHIFT));
+ kmem_cache_free(pmd_cache, (void *)__va(pgd_val(pgd[i]) & PAGE_MASK));
+ }
/* in the non-PAE case, free_pgtables() clears user pgd entries */
kmem_cache_free(pgd_cache, pgd);
}
Index: linux-2.6.13/include/asm-i386/pgalloc.h
===================================================================
--- linux-2.6.13.orig/include/asm-i386/pgalloc.h 2005-08-24 09:31:05.000000000 -0700
+++ linux-2.6.13/include/asm-i386/pgalloc.h 2005-08-24 09:34:17.000000000 -0700
@@ -5,14 +5,22 @@
#include <asm/fixmap.h>
#include <l...
2007 Apr 18
1
[PATCH 1/5] Add pagetable allocation notifiers
...) {
+ ClearPagePDE(pfn_to_page(pgd_val(pgd[i]) >> PAGE_SHIFT));
+ kmem_cache_free(pmd_cache, (void *)__va(pgd_val(pgd[i]) & PAGE_MASK));
+ }
/* in the non-PAE case, free_pgtables() clears user pgd entries */
kmem_cache_free(pgd_cache, pgd);
}
Index: linux-2.6.13/include/asm-i386/pgalloc.h
===================================================================
--- linux-2.6.13.orig/include/asm-i386/pgalloc.h 2005-08-24 09:31:05.000000000 -0700
+++ linux-2.6.13/include/asm-i386/pgalloc.h 2005-08-24 09:34:17.000000000 -0700
@@ -5,14 +5,22 @@
#include <asm/fixmap.h>
#include <l...
2004 Apr 23
3
zaptel on Fedora (Core 1) RedHat Linux-2.4
...e included from /usr/src/linux-2.4/include/linux/highmem.h:5,
from /usr/src/linux-2.4/include/linux/vmalloc.h:8,
from /usr/src/linux-2.4/include/asm/io.h:47,
from /usr/src/linux-2.4/include/asm/pci.h:40,
from /usr/src/linux-2.4/include/linux/pci.h:658,
from tor2.c:33:
/usr/src/linux-2.4/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/src/linux-2.4/include/asm/pgalloc.h:79: error: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/src/linux-2.4/include/asm/pgalloc.h:90: error: `boot_cpu_data_...
2007 Jan 10
1
[PATCH] linux/i386: allow CONFIG_HIGHPTE on i386 (take 2)
...RNEL), 0));
+ } else {
+ struct mmuext_op op;
+
+ op.cmd = MMUEXT_UNPIN_TABLE;
+ op.arg1.mfn = pfn_to_mfn(pfn);
+ BUG_ON(HYPERVISOR_mmuext_op(&op, 1, NULL, DOMID_SELF) < 0);
+ }
ClearPageForeign(pte);
set_page_count(pte, 1);
Index: sle10-sp1-2007-01-10/include/asm-i386/mach-xen/asm/pgalloc.h
===================================================================
--- sle10-sp1-2007-01-10.orig/include/asm-i386/mach-xen/asm/pgalloc.h 2007-01-10 13:33:54.000000000 +0100
+++ sle10-sp1-2007-01-10/include/asm-i386/mach-xen/asm/pgalloc.h 2007-01-10 14:15:14.000000000 +0100
@@ -42,7 +42,7 @@ exte...
2007 Apr 18
2
pgd_alloc and [cd]tors
Is there any real use in having a ctor/dtor for the pgd cache? Given
that all pgd allocation happens via pgd_alloc/pgd_free, why not just
fold the [cd]tor in?
I'm asking because Xen wants pgd[3] to be unshared in the PAE case, and
it looks to me like the easiest way to handle that is by making
pgd_alloc/free pv-ops and doing the appropriate thing in the Xen code.
Would need to sort out the
2007 Apr 18
2
pgd_alloc and [cd]tors
Is there any real use in having a ctor/dtor for the pgd cache? Given
that all pgd allocation happens via pgd_alloc/pgd_free, why not just
fold the [cd]tor in?
I'm asking because Xen wants pgd[3] to be unshared in the PAE case, and
it looks to me like the easiest way to handle that is by making
pgd_alloc/free pv-ops and doing the appropriate thing in the Xen code.
Would need to sort out the
2018 Feb 27
0
[PATCH] virtio_balloon: export huge page allocation statistics
On Fri, Feb 16, 2018 at 09:44:32PM -0800, Jonathan Helman wrote:
> Export statistics for successful and failed huge page allocations
> from the virtio balloon driver. These 2 stats come directly from
> the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL.
> Signed-off-by: Jonathan Helman <jonathan.helman at oracle.com>
Any host/guest intergace changes need to be copied to
the virtio TC mailing list (subscriber-only, sorry about that):
virtio-dev at lists.oasis-open.org
> ---
> drivers/virtio/virtio_ball...
2007 Nov 16
1
paravirt_alloc_pd_clone() useful?
Do you use paravirt_alloc_pd_clone()? I seem to you remember you
mentioning that it doesn't help you very much. I'm in the process of
unifying pgalloc*, and it seems to me that it would be a bit cleaner
without needing to worry about paravirt_alloc_pd_clone()...
J
2007 Nov 16
1
paravirt_alloc_pd_clone() useful?
Do you use paravirt_alloc_pd_clone()? I seem to you remember you
mentioning that it doesn't help you very much. I'm in the process of
unifying pgalloc*, and it seems to me that it would be a bit cleaner
without needing to worry about paravirt_alloc_pd_clone()...
J
2009 Nov 18
5
[PATCH 0/3] Split up pv-ops
.../irqflags.h | 21 ++++++--
arch/x86/include/asm/mmu_context.h | 4 +-
arch/x86/include/asm/msr.h | 4 +-
arch/x86/include/asm/paravirt.h | 44 ++++++++++++++++-
arch/x86/include/asm/paravirt_types.h | 12 +++++
arch/x86/include/asm/pgalloc.h | 2 +-
arch/x86/include/asm/pgtable-3level_types.h | 2 +-
arch/x86/include/asm/pgtable.h | 2 +-
arch/x86/include/asm/processor.h | 2 +-
arch/x86/include/asm/required-features.h | 2 +-
arch/x86/include/asm/smp.h | 2 +-...
2009 Nov 18
5
[PATCH 0/3] Split up pv-ops
.../irqflags.h | 21 ++++++--
arch/x86/include/asm/mmu_context.h | 4 +-
arch/x86/include/asm/msr.h | 4 +-
arch/x86/include/asm/paravirt.h | 44 ++++++++++++++++-
arch/x86/include/asm/paravirt_types.h | 12 +++++
arch/x86/include/asm/pgalloc.h | 2 +-
arch/x86/include/asm/pgtable-3level_types.h | 2 +-
arch/x86/include/asm/pgtable.h | 2 +-
arch/x86/include/asm/processor.h | 2 +-
arch/x86/include/asm/required-features.h | 2 +-
arch/x86/include/asm/smp.h | 2 +-...
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...ux/module.h"
-#include "linux/string.h"
-#include "linux/smp_lock.h"
-#include "linux/spinlock.h"
-#include "linux/highmem.h"
-#include "asm/current.h"
-#include "asm/processor.h"
-#include "asm/unistd.h"
-#include "asm/pgalloc.h"
-#include "asm/pgtable.h"
-#include "asm/page.h"
-#include "asm/tlbflush.h"
+#include <linux/module.h>
+#include <linux/string.h>
+#include <linux/smp_lock.h>
+#include <linux/spinlock.h>
+#include <linux/highmem.h>
+#include <a...
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...ux/module.h"
-#include "linux/string.h"
-#include "linux/smp_lock.h"
-#include "linux/spinlock.h"
-#include "linux/highmem.h"
-#include "asm/current.h"
-#include "asm/processor.h"
-#include "asm/unistd.h"
-#include "asm/pgalloc.h"
-#include "asm/pgtable.h"
-#include "asm/page.h"
-#include "asm/tlbflush.h"
+#include <linux/module.h>
+#include <linux/string.h>
+#include <linux/smp_lock.h>
+#include <linux/spinlock.h>
+#include <linux/highmem.h>
+#include <a...
2007 Apr 18
0
[PATCH 1/5] Paravirt page alloc.patch
...ops.alloc_pd_clone(pfn, clonepfn, start, count)
+#define paravirt_release_pd(pfn) paravirt_ops.release_pd(pfn)
+
static inline void set_pte(pte_t *ptep, pte_t pteval)
{
paravirt_ops.set_pte(ptep, pteval);
===================================================================
--- a/include/asm-i386/pgalloc.h
+++ b/include/asm-i386/pgalloc.h
@@ -5,13 +5,31 @@
#include <linux/threads.h>
#include <linux/mm.h> /* for struct page */
-#define pmd_populate_kernel(mm, pmd, pte) \
- set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte)))
+#ifdef CONFIG_PARAVIRT
+#include <asm/paravirt.h>
+#else
+...
2007 Apr 18
0
[PATCH 1/5] Paravirt page alloc.patch
...ops.alloc_pd_clone(pfn, clonepfn, start, count)
+#define paravirt_release_pd(pfn) paravirt_ops.release_pd(pfn)
+
static inline void set_pte(pte_t *ptep, pte_t pteval)
{
paravirt_ops.set_pte(ptep, pteval);
===================================================================
--- a/include/asm-i386/pgalloc.h
+++ b/include/asm-i386/pgalloc.h
@@ -5,13 +5,31 @@
#include <linux/threads.h>
#include <linux/mm.h> /* for struct page */
-#define pmd_populate_kernel(mm, pmd, pte) \
- set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte)))
+#ifdef CONFIG_PARAVIRT
+#include <asm/paravirt.h>
+#else
+...
2007 Apr 18
0
[PATCH 1/6] Page allocation hooks for VMI backend
...ops.alloc_pd_clone(pfn, clonepfn, start, count)
+#define paravirt_release_pd(pfn) paravirt_ops.release_pd(pfn)
+
static inline void set_pte(pte_t *ptep, pte_t pteval)
{
paravirt_ops.set_pte(ptep, pteval);
===================================================================
--- a/include/asm-i386/pgalloc.h
+++ b/include/asm-i386/pgalloc.h
@@ -5,13 +5,31 @@
#include <linux/threads.h>
#include <linux/mm.h> /* for struct page */
-#define pmd_populate_kernel(mm, pmd, pte) \
- set_pmd(pmd, __pmd(_PAGE_TABLE + __pa(pte)))
+#ifdef CONFIG_PARAVIRT
+#include <asm/paravirt.h>
+#else
+...