lkml.org 
[lkml]   [2012]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] ia64: populate the cmpxchg header with appropriate code
From
On Thu, Apr 12, 2012 at 2:52 PM, Tony Luck <tony.luck@intel.com> wrote:
> IA64 doesn't return a -EFAULT when we poke at the supposedly invalid user
> address of "NULL" because we map a special page to catch prefetch references

Leaping to conclusions ... fail :-(

If I change the address from NULL to something that isn't mapped ... I
still don't
get -EFAULT.

Looking more closely at futex_atomic_cmpxchg_inatomic() for the
error case.

-Tony


\
 
 \ /
  Last update: 2012-04-13 18:09    [W:0.037 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site