Displaying 3 results from an estimated 3 matches for "vm_page_grab".
2013 Jul 24
1
NFS deadlock on 9.2-Beta1
Two machines (NFS Server: running ZFS / Client: disk-less), both are running FreeBSD r253506. The NFS client starts to deadlock processes within a few hours. It usually gets worse from there on. The processes stay in "D" state. I haven't been able to reproduce it when I want it to happen. I only have to wait a few hours until the deadlocks occur when traffic to the client machine
2008 Nov 24
1
RELENG_7 panic under load: vm_page_unwire: invalid wire count: 0
Box with fresh RELENG_7 panic under heavy network load (more than 50k connections).
This panics seems to be senfile(2) related, because when sendfile disabled in nginx, I can't reproduce the problem.
Backtrace in all cases like this:
# kgdb kernel /spool/crash/vmcore.1
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
2003 Aug 22
3
PAE removal patch for testing
...ot;pmap_new_proc: u_map allocation failed");
-		p->p_addr = (struct user *) up;
+		p->p_addr = up;
 	}
 
-	for(i = 0; i < UPAGES; i++) {
+	ptek = (unsigned *) vtopte((vm_offset_t) up);
+
+	updateneeded = 0;
+	for(i=0;i<UPAGES;i++) {
 		/*
 		 * Get a kernel stack page
 		 */
 		m = vm_page_grab(upobj, i, VM_ALLOC_NORMAL | VM_ALLOC_RETRY);
-		ma[i] = m;
 
 		/*
 		 * Wire the page
@@ -864,12 +886,26 @@
 		m->wire_count++;
 		cnt.v_wire_count++;
 
+		oldpte = *(ptek + i);
+		/*
+		 * Enter the page into the kernel address space.
+		 */
+		*(ptek + i) = VM_PAGE_TO_PHYS(m) | PG_RW | PG_V |...