cvs commit: src/sys/vm vm_map.c
Andrew Gallatin
gallatin at FreeBSD.org
Tue Sep 30 18:21:38 PDT 2003
gallatin 2003/09/30 18:21:37 PDT
FreeBSD src repository
Modified files: (Branch: RELENG_4)
sys/vm vm_map.c
Log:
Fix a bug which was introduced in version 1.187.2.16 of
sys/vm/vm_map.c and affects the unwiring memory:
The map entries are processed in a loop, checking to make sure the
entry is wired and asserting it has a wired count. However, another
loop was inserted more-or-less in the middle of the of the unwiring
path. This loop picks up the "entry" loop variable from the first loop
without first setting it to start_entry. Naturally, the second loop
is never entered and the pages backing the entries are never unwired.
This can lead to a leak of wired pages.
Reviewed by: alc
Approved by: re (murray)
Revision Changes Path
1.187.2.21 +1 -0 src/sys/vm/vm_map.c
More information about the cvs-src
mailing list