search for: wire_count

Displaying 3 results from an estimated 3 matches for "wire_count".

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
...< 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 | pgeflag; + if (oldpte) { + if ((oldpte & PG_G) || (cpu_class > CPUCLASS_386)) { + invlpg((vm_offset_t) up + i * PAG...
2013 Jul 22
2
stopping amd causes a freeze
Occasionally stopping amd freezes my system. It's a rare occurrence, and I haven't found a reliable way to reproduce it. It's also a real freeze, so there's no way to get into the debugger or grab a core dump. I only can perform the 4 seconds hard shutdown to revive the system. I run amd through sysutils/automounter, which is a scripting solution that generates an amd.map file