Source-Changes archive

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

Re: CVS commit: src/sys/kern



On Sun, Dec 07, 2008 at 02:21:04AM +0000, Christoph Egger wrote:

> Log Message:
> Spans may never overlap. Overlapping spans mean memory corruption
> when used by kmem(9), for example.
> Do sanity checks to detect such spans on DEBUG kernels.

Cool!

One problem: vm->vm_lock isn't held at some points where you call
vmem_check_sanity(), so it could crash or return false positives.

Andrew


Home | Main Index | Thread Index | Old Index