lkml.org 
[lkml]   [2002]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Athlon PSE/AGP Bug
    On Mon, Jan 21, 2002 at 02:19:31PM -0800, David S. Miller wrote:
    > From: Andrea Arcangeli <andrea@suse.de>
    > Date: Mon, 21 Jan 2002 17:54:10 +0100
    >
    > correct, furthmore it cannot even trigger if you invlpg with an address
    > page aligned (4mbyte aligned in this case) like we would always do in
    > linux anyways, we never use invlpg on misaligned addresses, no matter if
    > the page is a 4M or a 4k page.
    >
    > That's not true, see the ptrace() helper code. Russell King pointed
    > this out to me last week and it's on my TODO list to fix it up.

    Where? :) ptrace doesn't change pagetables, no need to flush any tlb in
    ptrace.

    Anyways if the problem is in the nvidia driver they may be really doing
    an invlpg on a misaligned 4M page address for no good reason, this
    sounds unlikely though. What's certain is that the stuff into the
    mainline kernel shouldn't really be affected for the reason you also
    said previously (we never invalidate 4M pages with invlpg). In the very
    worst case nvidia guys just need to mask the lower (not significant)
    bits before passing the address to invlpg, which is going to be a one
    liner.

    Andrea
    -
    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:15    [W:4.021 / U:0.476 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site