On 2011/05/16 11:37, Eivind E wrote: > If I start a program with this patch (usually I just use top), > then gdb top `pgrep top`, then bt, the machine hangs.
there is a newer diff; I won't post the whole thing but in
uvm_map.c around line 5954, replace this:
KASSERT(start >= srcmap->min_offset && end <= srcmap->max_offset);
with this:
if ((start & PAGE_MASK) != 0 || (end & PAGE_MASK) != 0 || end < start)
return EINVAL;
if (start < srcmap->min_offset || end > srcmap->max_offset)
return EINVAL;
