lkml.org 
[lkml]   [2003]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.0-test3-mm1: scheduling while atomic (ext3?)
From
Date
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> Put the likely(pos) in the asm/prefetch for Athlon until someone can
out what is going on with some specific Athlons, 2.6 and certain
> kernels (notably 4G/4G)

You can use the same workaround as x86-64. add an exception handler and
just jump back. Advantage is that it is completely outside the fast path.

But note you also have to add runtime sorting of __ex_table when you
do this, otherwise the __ex_table becomes unsorted when someone uses
list_for_each (which does prefetch) in a __init function

(all code is available in x86-64, just needs to be ported over)

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.032 / U:1.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site