Displaying 4 results from an estimated 4 matches for "del_context_from_unpinned".
2007 Apr 18
2
[PATCH 12/12; UPDATED] xen-ldt
...>active_mm)
clear_LDT();
+ make_pages_writable(mm->context.ldt,
+ (mm->context.size * LDT_ENTRY_SIZE) /
+ PAGE_SIZE);
if (mm->context.size*LDT_ENTRY_SIZE > PAGE_SIZE)
vfree(mm->context.ldt);
else
kfree(mm->context.ldt);
mm->context.size = 0;
}
+ del_context_from_unpinned(mm);
}
static int read_ldt(void __user * ptr, unsigned long bytecount)
Index: linux-2.6.13/include/asm-i386/mach-default/hypervisor_hooks.h
===================================================================
--- linux-2.6.13.orig/include/asm-i386/mach-default/hypervisor_hooks.h 2005-08-08 21:16...
2007 Apr 18
2
[PATCH 12/12; UPDATED] xen-ldt
...>active_mm)
clear_LDT();
+ make_pages_writable(mm->context.ldt,
+ (mm->context.size * LDT_ENTRY_SIZE) /
+ PAGE_SIZE);
if (mm->context.size*LDT_ENTRY_SIZE > PAGE_SIZE)
vfree(mm->context.ldt);
else
kfree(mm->context.ldt);
mm->context.size = 0;
}
+ del_context_from_unpinned(mm);
}
static int read_ldt(void __user * ptr, unsigned long bytecount)
Index: linux-2.6.13/include/asm-i386/mach-default/hypervisor_hooks.h
===================================================================
--- linux-2.6.13.orig/include/asm-i386/mach-default/hypervisor_hooks.h 2005-08-08 21:16...
2007 Apr 18
0
[PATCH 12/12] xen-ldt
...>active_mm)
clear_LDT();
+ make_pages_writable(mm->context.ldt,
+ (mm->context.size * LDT_ENTRY_SIZE) /
+ PAGE_SIZE);
if (mm->context.size*LDT_ENTRY_SIZE > PAGE_SIZE)
vfree(mm->context.ldt);
else
kfree(mm->context.ldt);
mm->context.size = 0;
}
+ del_context_from_unpinned(mm);
}
static int read_ldt(void __user * ptr, unsigned long bytecount)
Index: linux-2.6.13/include/asm-i386/mach-default/hypervisor_hooks.h
===================================================================
--- linux-2.6.13.orig/include/asm-i386/mach-default/hypervisor_hooks.h 2005-08-08 21:12...
2007 Apr 18
0
[PATCH 12/12] xen-ldt
...>active_mm)
clear_LDT();
+ make_pages_writable(mm->context.ldt,
+ (mm->context.size * LDT_ENTRY_SIZE) /
+ PAGE_SIZE);
if (mm->context.size*LDT_ENTRY_SIZE > PAGE_SIZE)
vfree(mm->context.ldt);
else
kfree(mm->context.ldt);
mm->context.size = 0;
}
+ del_context_from_unpinned(mm);
}
static int read_ldt(void __user * ptr, unsigned long bytecount)
Index: linux-2.6.13/include/asm-i386/mach-default/hypervisor_hooks.h
===================================================================
--- linux-2.6.13.orig/include/asm-i386/mach-default/hypervisor_hooks.h 2005-08-08 21:12...