search for: dup_mm

Displaying 10 results from an estimated 10 matches for "dup_mm".

Did you mean: dup_mmap
2008 Mar 20
1
[RFC/PATCH 01/15] preparation: provide hook to enable pgstes in user pagetable
...2nd half of the page table page to virtualize the storage keys of a guest. This patch offers the s390_enable_sie function, which reorganizes the page tables of a single-threaded process to reserve space in the page table: s390_enable_sie makes sure that the process is single threaded and then uses dup_mm to create a new mm with reorganized page tables. The old mm is freed and the process has now a page status extended field after every page table. Code that wants to exploit pgstes should SELECT CONFIG_PGSTE. This patch has a small common code hit, namely making dup_mm non-static. Signed-off-by...
2011 Nov 26
2
Bug#646987: /usr/bin/xinit: xinit fails with xkbcomp could not be invoked
The function that returns ENOMEM is actually copy_mm. It returns ENOMEM when dup_mm returns 0. copy_mm receives clone_flags and task_struct * tsk. I think tsk is pointing to the new task (the process being forked). copy_mm assigns some values into *tsk, then: tsk->mm = NULL; tsk->active_mm = NULL; then we check if current process has ->mm; if not, return 0 (e...
2012 Nov 16
5
[ 3009.778974] mcelog:16842 map pfn expected mapping type write-back for [mem 0x0009f000-0x000a0fff], got uncached-minus
...3009.885895] [<ffffffff81100f16>] ? release_pages+0x196/0x1f0 [ 3009.895488] [<ffffffff8111a65c>] unmap_vmas+0x4c/0xa0 [ 3009.905134] [<ffffffff8111c8fa>] exit_mmap+0x9a/0x180 [ 3009.914706] [<ffffffff81064e72>] mmput+0x52/0xd0 [ 3009.924252] [<ffffffff810652b7>] dup_mm+0x3c7/0x510 [ 3009.933839] [<ffffffff81065fd5>] copy_process+0xac5/0x14a0 [ 3009.943430] [<ffffffff81066af3>] do_fork+0x53/0x360 [ 3009.952843] [<ffffffff810b25c7>] ? lock_release+0x117/0x250 [ 3009.962283] [<ffffffff817d26c0>] ? _raw_spin_unlock+0x30/0x60 [ 3009.971532]...
2007 Jun 26
2
RFC: multiple address spaces for one process
.../* task state */ struct linux_binfmt *binfmt; int exit_state; @@ -1712,6 +1716,19 @@ } #endif +#ifdef CONFIG_VMMHOST +extern void __exit_as(struct task_struct *); +static inline void exit_as(struct task_struct *tsk) { + if (tsk->mm_avail) + __exit_as(tsk); +} +extern struct mm_struct *dup_mm(struct task_struct *); +#else +static inline void exit_as(struct task_struct *tsk) +{ +} +#endif + #endif /* __KERNEL__ */ #endif Index: linux-2.6/kernel/exit.c =================================================================== --- linux-2.6.orig/kernel/exit.c 2007-06-13 20:30:15.000000000 -04...
2007 Jun 26
2
RFC: multiple address spaces for one process
.../* task state */ struct linux_binfmt *binfmt; int exit_state; @@ -1712,6 +1716,19 @@ } #endif +#ifdef CONFIG_VMMHOST +extern void __exit_as(struct task_struct *); +static inline void exit_as(struct task_struct *tsk) { + if (tsk->mm_avail) + __exit_as(tsk); +} +extern struct mm_struct *dup_mm(struct task_struct *); +#else +static inline void exit_as(struct task_struct *tsk) +{ +} +#endif + #endif /* __KERNEL__ */ #endif Index: linux-2.6/kernel/exit.c =================================================================== --- linux-2.6.orig/kernel/exit.c 2007-06-13 20:30:15.000000000 -04...
2017 May 21
2
Crash in CentOS 7 kernel-3.10.0-514.16.1.el7.x86_64 in Xen PV mode
...0x1e/0x30 [ 32.305004] <EOI> [ 32.305004] [<ffffffff811af916>] ? copy_pte_range+0x2b6/0x5a0 [ 32.305004] [<ffffffff811af8e6>] ? copy_pte_range+0x286/0x5a0 [ 32.305004] [<ffffffff811b24d2>] ? copy_page_range+0x312/0x490 [ 32.305004] [<ffffffff81083012>] ? dup_mm+0x362/0x680 [ 32.305004] [<ffffffff810847ae>] ? copy_process+0x144e/0x1960 [ 32.305004] [<ffffffff81084e71>] ? do_fork+0x91/0x2c0 [ 32.305004] [<ffffffff81085126>] ? SyS_clone+0x16/0x20 [ 32.305004] [<ffffffff816974d9>] ? stub_clone+0x69/0x90 [ 32.305004] [&lt...
2017 Oct 23
0
Crash in CentOS 7 kernel-3.10.0-514.16.1.el7.x86_64 in Xen PV mode
...004] <EOI> > [ 32.305004] [<ffffffff811af916>] ? copy_pte_range+0x2b6/0x5a0 > [ 32.305004] [<ffffffff811af8e6>] ? copy_pte_range+0x286/0x5a0 > [ 32.305004] [<ffffffff811b24d2>] ? copy_page_range+0x312/0x490 > [ 32.305004] [<ffffffff81083012>] ? dup_mm+0x362/0x680 > [ 32.305004] [<ffffffff810847ae>] ? copy_process+0x144e/0x1960 > [ 32.305004] [<ffffffff81084e71>] ? do_fork+0x91/0x2c0 > [ 32.305004] [<ffffffff81085126>] ? SyS_clone+0x16/0x20 > [ 32.305004] [<ffffffff816974d9>] ? stub_clone+0x69/0x90...
2008 Mar 20
34
[RFC/PATCH 00/15] kvm on big iron
This patch series introduces a backend for kvm to run on IBM System z machines that uses the mainframe's sie virtualization capability. This work runs 64bit guests on z800/z890/z900/z990/z9/z10 class machines with a 64bit linux host. Userspace will follow once we're done brushing it over. The patch queue consists of the following patches, which can be applied in sequence on top of kvm.git
2008 Mar 20
34
[RFC/PATCH 00/15] kvm on big iron
This patch series introduces a backend for kvm to run on IBM System z machines that uses the mainframe's sie virtualization capability. This work runs 64bit guests on z800/z890/z900/z990/z9/z10 class machines with a 64bit linux host. Userspace will follow once we're done brushing it over. The patch queue consists of the following patches, which can be applied in sequence on top of kvm.git
2012 Apr 10
7
[PATCH v3 1/2] xen: enter/exit lazy_mmu_mode around m2p_override calls
This patch is a significant performance improvement for the m2p_override: about 6% using the gntdev device. Each m2p_add/remove_override call issues a MULTI_grant_table_op and a __flush_tlb_single if kmap_op != NULL. Batching all the calls together is a great performance benefit because it means issuing one hypercall total rather than two hypercall per page. If paravirt_lazy_mode is set