Messages in this thread | | | Date | Tue, 25 Mar 2008 19:07:00 +0100 | From | Andi Kleen <> | Subject | Re: [11/14] vcompound: Fallbacks for order 1 stack allocations on IA64 and x86 |
| |
On Tue, Mar 25, 2008 at 10:55:06AM -0700, Christoph Lameter wrote: > On Tue, 25 Mar 2008, Andi Kleen wrote: > > > Maybe sparse could be taught to check for this if it happens > > in a single function? (cc'ing Al who might have some thoughts > > on this). Of course if it happens spread out over multiple > > functions sparse wouldn't help neither. > > We could add debugging code to virt_to_page (or __pa) to catch these uses.
Hard to test all cases. Static checking would be better.
Or just not do it? I didn't think order 1 failures were that big a problem.
-Andi
| |