lkml.org 
[lkml]   [2011]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arm: cmpxchg syscall should data abort if page not write or not young
On Mon, Mar 14, 2011 at 06:28:36PM +0800, Po-Yu Chuang wrote:
> From: Po-Yu Chuang <ratbert@faraday-tech.com>
>
> 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.


\
 
 \ /
  Last update: 2011-03-14 11:43    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site