Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/uvm



Module Name:    src
Committed By:   atatat
Date:           Fri Dec 20 18:21:14 UTC 2002

Modified Files:
        src/sys/uvm: uvm_amap.c uvm_amap.h uvm_amap_i.h

Log Message:
Properly set page references counts at the start of the newly
allocated ppref data to zero in the case of an amap that has empty
space at the front.

Don't set anything in the ppref array if "len" is zero.

Many thanks to Sami Kantoluoto for providing gdb access to a machine
that would reliably crash with problems related to the above, and to
Stephan Thesing for corroborating that the patch properly addressed
the problem.

Note that the ar_pageoff (and related variables) types must be changed
soon.  The use of "int" here is not theoretically sufficient.


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 src/sys/uvm/uvm_amap.c
cvs rdiff -r1.20 -r1.21 src/sys/uvm/uvm_amap.h
cvs rdiff -r1.19 -r1.20 src/sys/uvm/uvm_amap_i.h

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




Home | Main Index | Thread Index | Old Index