[lkml]   [2001]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] x86 page fault handler not interrupt safe
    > Alan Cox wrote:
    > > (The current -ac fix for the double vmalloc races is below. WP test makes it
    > > more complex than is nice)
    > WP test is easy to handle. Just filter out protection violations and
    > only take the vmalloc path if the page was not found.
    > - if (address >= TASK_SIZE && !(error_code & 4))
    > + if (address >= TASK_SIZE && !(error_code & 5))

    That is nice. I hadn't thought about doing it that way. It still has the problem
    if %cr2 is corrupted by a vmalloc fault but it cleans up my other code paths


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:52    [W:0.052 / U:3.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site