[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080321.145712.198736315.davem@davemloft.net>
Date: Fri, 21 Mar 2008 14:57:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: clameter@....com
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [11/14] vcompound: Fallbacks for order 1 stack allocations on
IA64 and x86
From: Christoph Lameter <clameter@....com>
Date: Fri, 21 Mar 2008 10:40:18 -0700 (PDT)
> On Fri, 21 Mar 2008, David Miller wrote:
>
> > I would be very careful with this especially on IA64.
> >
> > If the TLB miss or other low-level trap handler depends upon being
> > able to dereference thread info, task struct, or kernel stack stuff
> > without causing a fault outside of the linear PAGE_OFFSET area, this
> > patch will cause problems.
>
> Hmmm. Does not sound good for arches that cannot handle TLB misses in
> hardware. I wonder how arch specific this is? Last time around I was told
> that some arches already virtually map their stacks.
I'm not saying there is a problem, I'm saying "tread lightly"
because there might be one.
The thing to do is to first validate the way that IA64
handles recursive TLB misses occuring during an initial
TLB miss, and if there are any limitations therein.
That's the kind of thing I'm talking about.
--
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