From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765398AbYETMEj (ORCPT ); Tue, 20 May 2008 08:04:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763158AbYETME0 (ORCPT ); Tue, 20 May 2008 08:04:26 -0400 Received: from one.firstfloor.org ([213.235.205.2]:55190 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758071AbYETMEZ (ORCPT ); Tue, 20 May 2008 08:04:25 -0400 Message-ID: <4832BE47.2070209@firstfloor.org> Date: Tue, 20 May 2008 14:04:23 +0200 From: Andi Kleen User-Agent: Thunderbird 1.5.0.12 (X11/20060911) MIME-Version: 1.0 To: Avi Kivity CC: Andrew Morton , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Make LIST_POISON less deadly References: <1211125094-32167-1-git-send-email-avi@qumranet.com> <87k5hpgqwa.fsf@basil.nowhere.org> <4832B74F.5040402@qumranet.com> <4832BABA.9040809@firstfloor.org> <4832BB6A.8010809@qumranet.com> In-Reply-To: <4832BB6A.8010809@qumranet.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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