[comp.sys.ibm.pc.rt] Patch for /sys/subr_rmap.c IBM/4.3

brunner@bullhead.uucp (07/22/89)

Subject: rminit()
Index: /sys/subr_rmap.c IBM/4.3

Description:
	There's an initialization problem with AOS 4.3BSD systems involving
	virtual memory resource map initialization which causes the system
	to panic under heavy load.
Fix:
	Apply the attached patch.


*** subr_rmap.c	Thu Jun  8 15:27:42 1989
--- subr_rmap.c.new	Wed May 31 11:13:04 1989
***************
*** 84,89 ****
--- 84,91 ----
  	 */
  	ep->m_size = size;
  	ep->m_addr = addr;
+ 	(++ep)->m_size = 0;
+ 	ep->m_addr = 0;
  }
  
  /*

Eric Brunner
uunet!ibmsupt!brunner