Displaying 2 results from an estimated 2 matches for "u_map".
Did you mean:
  _map
  
2003 Apr 20
0
4400+ cron processes causes server crash ...
Evening all ...
  One of my servers just crashed with the "pmap_new_proc: u_map allocation
failed" ...
  Looking at a ps of the vmcore file, I find:
neptune# awk '{print $11}' /tmp/ps.crash | sort | uniq -c
   1 (Xvfb)
   1 (aac0aif)
   1 (adjkerntz)
   1 (analog)
   1 (bufdaemon)
4412 (cron)
   8 (csh)
  84 (ctl_cyrusdb)
   3 (ctl_deliver)
   1 (emacs)
   1 (fi...
2003 Aug 22
3
PAE removal patch for testing
...proc */
-	if ((up = (vm_offset_t) p->p_addr) == 0) {
-		up = kmem_alloc_nofault(kernel_map, UPAGES * PAGE_SIZE);
-		if (up == 0)
+	if ((up = p->p_addr) == NULL) {
+		up = (struct user *) kmem_alloc_nofault(kernel_map,
+				UPAGES * PAGE_SIZE);
+		if (up == NULL)
 			panic("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,...