Source-Changes archive

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

Re: CVS commit: src/sys/kern

Andrew Doran wrote:
> 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.

The bug I'm about to track down happens during uao_create() called
by uvm_init(). Does the vm_lock problem matter in this very early stage?


Home | Main Index | Thread Index | Old Index