Displaying 20 results from an estimated 121 matches for "page_fault".
2019 Jun 13
0
[PATCH 17/22] mm: remove hmm_devmem_add
...ICE_PUBLIC)
-struct hmm_devmem;
-
-/*
- * struct hmm_devmem_ops - callback for ZONE_DEVICE memory events
- *
- * @free: call when refcount on page reach 1 and thus is no longer use
- * @fault: call when there is a page fault to unaddressable memory
- *
- * Both callback happens from page_free() and page_fault() callback of struct
- * dev_pagemap respectively. See include/linux/memremap.h for more details on
- * those.
- *
- * The hmm_devmem_ops callback are just here to provide a coherent and
- * uniq API to device driver and device driver should not register their
- * own page_free() or page_fault() bu...
2012 Oct 02
2
The entry of Xen's exception handler
Hi, I am trying to understand the exception handler of Xen. In
xen/arch/x86/x86_64/entry.S, the entry of the page fault handler is :
ENTRY(page_fault)
movl $TRAP_page_fault,4(%rsp)
jmp handle_exception
Here I did not get why to put the exception vector ($TRAP_page_fault) to
stack before calling handle_exception?
Thanks,
--
Xinxin
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.o...
2019 Jun 13
0
[PATCH 10/22] memremap: add a migrate callback to struct dev_pagemap_ops
...m.h b/include/linux/hmm.h
index 5761a39221a6..3c9a59dbfdb8 100644
--- a/include/linux/hmm.h
+++ b/include/linux/hmm.h
@@ -658,11 +658,6 @@ struct hmm_devmem_ops {
* chunk, as an optimization. It must, however, prioritize the faulting address
* over all the others.
*/
-typedef vm_fault_t (*dev_page_fault_t)(struct vm_area_struct *vma,
- unsigned long addr,
- const struct page *page,
- unsigned int flags,
- pmd_t *pmdp);
struct hmm_devmem {
struct completion completion;
@@ -673,7 +668,6 @@ struct hmm_devmem {
struct dev_pagemap pagemap;
const struct hmm_devmem_ops *ops;
stru...
2008 May 28
0
ia64/pv_ops: preparation: move some functions in ivt.S to avoid lack of space.
move interrupt, page_fault, non_syscall, dispatch_unaligned_handler and
dispatch_to_fault_handler to avoid lack of instructin space.
The change set 4dcc29e1574d88f4465ba865ed82800032f76418 bloated
SAVE_MIN_WITH_COVER, SAVE_MIN_WITH_COVER_R19 so that it bloated the
functions which uses those macros.
In the native case, only d...
2008 May 28
0
ia64/pv_ops: preparation: move some functions in ivt.S to avoid lack of space.
move interrupt, page_fault, non_syscall, dispatch_unaligned_handler and
dispatch_to_fault_handler to avoid lack of instructin space.
The change set 4dcc29e1574d88f4465ba865ed82800032f76418 bloated
SAVE_MIN_WITH_COVER, SAVE_MIN_WITH_COVER_R19 so that it bloated the
functions which uses those macros.
In the native case, only d...
2019 Jun 26
0
[PATCH 12/25] memremap: add a migrate_to_ram method to struct dev_pagemap_ops
...m.h b/include/linux/hmm.h
index 44a5ac738bb5..ba19c19e24ed 100644
--- a/include/linux/hmm.h
+++ b/include/linux/hmm.h
@@ -692,11 +692,6 @@ struct hmm_devmem_ops {
* chunk, as an optimization. It must, however, prioritize the faulting address
* over all the others.
*/
-typedef vm_fault_t (*dev_page_fault_t)(struct vm_area_struct *vma,
- unsigned long addr,
- const struct page *page,
- unsigned int flags,
- pmd_t *pmdp);
struct hmm_devmem {
struct completion completion;
@@ -707,7 +702,6 @@ struct hmm_devmem {
struct dev_pagemap pagemap;
const struct hmm_devmem_ops *ops;
stru...
2019 Jun 13
1
[PATCH 10/22] memremap: add a migrate callback to struct dev_pagemap_ops
...9221a6..3c9a59dbfdb8 100644
> --- a/include/linux/hmm.h
> +++ b/include/linux/hmm.h
> @@ -658,11 +658,6 @@ struct hmm_devmem_ops {
> * chunk, as an optimization. It must, however, prioritize the faulting address
> * over all the others.
> */
> -typedef vm_fault_t (*dev_page_fault_t)(struct vm_area_struct *vma,
> - unsigned long addr,
> - const struct page *page,
> - unsigned int flags,
> - pmd_t *pmdp);
>
> struct hmm_devmem {
> struct completion completion;
> @@ -673,7 +668,6 @@ struct hmm_devmem {
> struct dev_pagemap pa...
2005 Jun 04
11
kernel oops/IRQ exception when networking between many domUs
Hi,
I try to build experimental networks with Xen and stumbled over the same
problem that has been described quite well by Mark Doll in his posting
"xen_net: Failed to connect all virtual interfaces: err=-100"
here:
http://lists.xensource.com/archives/html/xen-users/2005-04/msg00447.html
As it was still present in 2.0.6, I tried 3.0-devel and found NR_PIRQS
and NR_DYNIRQS had been
2005 Jun 04
11
kernel oops/IRQ exception when networking between many domUs
Hi,
I try to build experimental networks with Xen and stumbled over the same
problem that has been described quite well by Mark Doll in his posting
"xen_net: Failed to connect all virtual interfaces: err=-100"
here:
http://lists.xensource.com/archives/html/xen-users/2005-04/msg00447.html
As it was still present in 2.0.6, I tried 3.0-devel and found NR_PIRQS
and NR_DYNIRQS had been
2006 Jun 20
1
Xen 3.0.2 FC5 Reboots
...ver from 1 gig or memory to 2. When
I start the machine it begins to load the Xen kernel and then reboots. I can
boot the machine on straight FC5 without Xen. If I put it back to 1 gig of
memory Xen will boot fine. I looked in the xend.log and didn''t see anything.
I do see some kind of page_fault error on the screen before the server
reboots.
Any ideas why it would be rebooting?
thank you.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2007 Mar 21
1
[Patch] Add VMX memory-mapped Local APIC access optimization
...ure that provides APIC TPR
virtualization in hardware. Our tests indicate it can significantly
boost the performance of such guests including 32-bit Windows XP/2003.
Moreover, with the patch, local APIC accesses other than TPR in guests
are intercepted directly as APIC_ACCESS VM exits rather than PAGE_FAULT
VM exits; this can lower the emulation cost of such accesses.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 May 23
0
Apache CGI Performance Big Degration in Dom0 vs. Native
...Unhalted core cycles) count 100000
samples % image name app name symbol name
492796 20.0510 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 do_update_va_mapping
268506 10.9251 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 ptwr_do_page_fault
81074 3.2988 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 test_all_events
72424 2.9468 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 get_page_from_l1e
66056 2.6877 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 handle_exception
61031 2.48...
2007 May 23
0
Apache CGI Performance Big Degration in Dom0 vs. Native
...Unhalted core cycles) count 100000
samples % image name app name symbol name
492796 20.0510 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 do_update_va_mapping
268506 10.9251 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 ptwr_do_page_fault
81074 3.2988 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 test_all_events
72424 2.9468 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 get_page_from_l1e
66056 2.6877 xen-syms-pae-3.0.4_13138-0.33 xen-syms-pae-3.0.4_13138-0.33 handle_exception
61031 2.48...
2019 Jul 12
2
Out of memory: kill process
...x30/0x2c0
[762303.508416] ? do_swap_page+0x3af/0x970
[762303.508417] do_swap_page+0x3af/0x970
[762303.508420] __handle_mm_fault+0x7c5/0x1210
[762303.508422] ? __switch_to_asm+0x40/0x70
[762303.508423] ? __switch_to_asm+0x34/0x70
[762303.508425] handle_mm_fault+0xfc/0x1f0
[762303.508429] __do_page_fault+0x255/0x4f0
[762303.508432] ? exit_to_usermode_loop+0x6a/0xf0
[762303.508434] ? page_fault+0x8/0x30
[762303.508435] page_fault+0x1e/0x30
[762303.508438] RIP: 0033:0x7f4f826418bf
[762303.508440] Code: 48 29 c3 49 01 c5 48 8b 43 08 48 83 e0 f8 48 3b 04 03 0f 85 df 07 00 00 48 8b 43 10 48 8b 53 18...
2011 Mar 10
8
Kernel panic with 2.6.32-30 under network activity
...ee_save_xen_pmd_val+0x11/0x1e
[469390.127173] [<ffffffff81051647>] ? do_group_exit+0x76/0x9d
[469390.127183] [<ffffffff8105dec1>] ? get_signal_to_deliver+0x318/0x343
[469390.127193] [<ffffffff8101004f>] ? do_notify_resume+0x87/0x73f
[469390.127202] [<ffffffff812fbf45>] ? page_fault+0x25/0x30
[469390.127211] [<ffffffff812fc17a>] ? error_exit+0x2a/0x60
[469390.127219] [<ffffffff8101151d>] ? retint_restore_args+0x5/0x6
[469390.127228] [<ffffffff8100e22f>] ? xen_restore_fl_direct_end+0x0/0x1
[469390.127240] [<ffffffff8119564d>] ? __put_user_4+0x1d/0x30...
2011 Mar 10
8
Kernel panic with 2.6.32-30 under network activity
...ee_save_xen_pmd_val+0x11/0x1e
[469390.127173] [<ffffffff81051647>] ? do_group_exit+0x76/0x9d
[469390.127183] [<ffffffff8105dec1>] ? get_signal_to_deliver+0x318/0x343
[469390.127193] [<ffffffff8101004f>] ? do_notify_resume+0x87/0x73f
[469390.127202] [<ffffffff812fbf45>] ? page_fault+0x25/0x30
[469390.127211] [<ffffffff812fc17a>] ? error_exit+0x2a/0x60
[469390.127219] [<ffffffff8101151d>] ? retint_restore_args+0x5/0x6
[469390.127228] [<ffffffff8100e22f>] ? xen_restore_fl_direct_end+0x0/0x1
[469390.127240] [<ffffffff8119564d>] ? __put_user_4+0x1d/0x30...
2016 May 25
3
[PATCH] x86/paravirt: Do not trace _paravirt_ident_*() functions
...>] handle_pte_fault+0x13db/0x16b0
[<ffffffff811bf4cb>] ? function_trace_call+0x15b/0x180
[<ffffffff8122ad85>] ? handle_pte_fault+0x5/0x16b0
[<ffffffff8122e322>] handle_mm_fault+0x312/0x670
[<ffffffff81231068>] ? find_vma+0x68/0x70
[<ffffffff810ab741>] __do_page_fault+0x1b1/0x4e0
[<ffffffff810aba92>] do_page_fault+0x22/0x30
[<ffffffff81cc7f68>] page_fault+0x28/0x30
[<ffffffff81574af5>] ? copy_user_enhanced_fast_string+0x5/0x10
[<ffffffff8129dec5>] ? seq_read+0x305/0x370
[<ffffffff81279668>] __vfs_read+0x28/0xe0
[<ffff...
2016 May 25
3
[PATCH] x86/paravirt: Do not trace _paravirt_ident_*() functions
...>] handle_pte_fault+0x13db/0x16b0
[<ffffffff811bf4cb>] ? function_trace_call+0x15b/0x180
[<ffffffff8122ad85>] ? handle_pte_fault+0x5/0x16b0
[<ffffffff8122e322>] handle_mm_fault+0x312/0x670
[<ffffffff81231068>] ? find_vma+0x68/0x70
[<ffffffff810ab741>] __do_page_fault+0x1b1/0x4e0
[<ffffffff810aba92>] do_page_fault+0x22/0x30
[<ffffffff81cc7f68>] page_fault+0x28/0x30
[<ffffffff81574af5>] ? copy_user_enhanced_fast_string+0x5/0x10
[<ffffffff8129dec5>] ? seq_read+0x305/0x370
[<ffffffff81279668>] __vfs_read+0x28/0xe0
[<ffff...
2016 Nov 28
1
CentOS 6.4 tcp_fatretrans_alert causes panic
...28283610] panic at ffffffff815286b8
#1 [ffff880028283690] oops_end at ffffffff8152c8a2
#2 [ffff8800282836c0] no_context at ffffffff81046c1b
#3 [ffff880028283710] __bad_area_nosemaphore at ffffffff81046ea5
#4 [ffff880028283760] bad_area_nosemaphore at ffffffff81046f73
#5 [ffff880028283770] __do_page_fault at ffffffff810476d1
#6 [ffff880028283890] do_page_fault at ffffffff8152e7be
#7 [ffff8800282838c0] page_fault at ffffffff8152bb75
[exception RIP: tcp_fastretrans_alert+2754]
RIP: ffffffff814aed62 RSP: ffff880028283970 RFLAGS: 00010246
RAX: 0000000000000002 RBX: ffff88003d22c940 RCX...
2013 Jul 01
1
[PATCH] drm/nouveau: fix locking in nouveau_crtc_page_flip
...xd7 [nouveau]
[<ffffffffa019abad>] ttm_bo_vm_fault+0x69/0x394 [ttm]
[<ffffffff8114eaed>] __do_fault+0x6e/0x496
[<ffffffff811515fb>] handle_pte_fault+0x84/0x861
[<ffffffff81152de4>] handle_mm_fault+0x1e2/0x2b1
[<ffffffff816f5fec>] __do_page_fault+0x15e/0x517
[<ffffffff816f63dc>] do_page_fault+0x37/0x6b
[<ffffffff816f3122>] page_fault+0x22/0x30
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(reservation_ww_...