Subject: CVS commit: syssrc
To: None <>
From: Jason R Thorpe <>
List: source-changes
Date: 10/11/2000 20:21:12
Module Name:	syssrc
Committed By:	thorpej
Date:		Wed Oct 11 17:21:12 UTC 2000

Modified Files:
	syssrc/sys/uvm: uvm_map.c

Log Message:
- 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 <>.

To generate a diff of this commit:
cvs rdiff -r1.81 -r1.82 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.