Re: [PATCH] Make LIST_POISON less deadly
From: Andi Kleen
Date: Tue May 20 2008 - 08:04:39 EST
Avi Kivity wrote:
> Andi Kleen wrote:
>>> Makes sense. I'll send out v3.
>>> Is there a similar range on i386?
>> Don't think so. Address space is too precious here.
>> What you could probably do is to unmap one fixed page in some range
>> that is always split to 4K pages anyways and use that. Perhaps somewhere
>> in the 640k-1MB range. But if you're unlucky this might require a
>> variable, not a constant.
> I guess a fixmap would work for this. But then the offsets added to
> that page would need to be limited to 4K.
You could make a 3 page fixmap and point to the middle page. 3 because
negative offsets are also especially importants for list_heads due to
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/