Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Todd Vierling <tv@netbsd.org>
List: source-changes
Date: 10/17/2000 01:02:19
Module Name:	syssrc
Committed By:	tv
Date:		Mon Oct 16 22:02:18 UTC 2000

Modified Files:
	syssrc/sys/uvm [netbsd-1-5]: uvm_map.c

Log Message:
Pullup 1.82 [thorpej]:
- Change SAVE_HINT() to take a "check" value.  This value is compared
  to the contents of the hint in the map, and the hint saved in the
  map only if the two values match.  When an unconditional save is
  required, the "check" value passed should be map->hint (and the
  compiler will optimize the test away).  When deleting a map entry,
  the new SAVE_HINT() will only change the hint if the entry being
  deleted was the hint value (thus preserving any meaningful hint
  that may have been there previously, rather than stomping on it).
- Add a missing hint update when deleting the map entry in
  uvm_map_entry_unlink().  This is the fix for kern/11125, from
  ITOH Yasufumi <itohy@netbsd.org>.


To generate a diff of this commit:
cvs rdiff -r1.77.2.1 -r1.77.2.2 syssrc/sys/uvm/uvm_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.