[lkml]   [2005]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH/RFC] Futex mmap_sem deadlock

    On Tue, 22 Feb 2005, Andrew Morton wrote:
    > However the pte can get unmapped by memory reclaim so we could still take a
    > minor fault, and hit the same deadlock, yes?

    You _could_ fix that by getting the pagetable spinlock, I guess. Which
    check_user_page_readable() assumes you'd be holding anyway (not holding it
    would appear to be a bug).

    At which point you might as well just walk the tables by hand and just do
    the read that way. Of course, then you have virtual aliasing issues etc.

    Insane, but possible.

    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: 2009-11-18 23:46    [W:0.018 / U:15.612 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site