[lkml]   [2011]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] arm: cmpxchg syscall should data abort if page not write or not young
    Dear Russell King,

    On Mon, Mar 14, 2011 at 6:40 PM, Russell King - ARM Linux
    <> wrote:
    > On Mon, Mar 14, 2011 at 06:28:36PM +0800, Po-Yu Chuang wrote:
    >> From: Po-Yu Chuang <>
    >> If the page to cmpxchg is user mode read only (not write)
    >> or invalid (not young), we should simulate a data abort first.
    > No.  If it is not young then it should be made young.  Age is an effect
    > of accesses.  It's not a permission.

    OK, I will rethink about the not young part.
    Thanks for your pointer.

    I will resubmit a v2 which contains only the read only check.
    It fixes a problem we met with futex.

    best regards,
    Po-Yu Chuang
    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: 2011-03-15 04:11    [W:0.039 / U:2.848 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site