[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4832BE47.2070209@firstfloor.org>
Date: Tue, 20 May 2008 14:04:23 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Avi Kivity <avi@...ranet.com>
CC: Andrew Morton <akpm@...l.org>, Ingo Molnar <mingo@...e.hu>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Make LIST_POISON less deadly
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
list_entry
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists