[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+8MBbKZ7AT-5oMeLqO_n0UEsHfbTjWtDV40Z5gXrm_8RdY-Kw@mail.gmail.com>
Date: Fri, 13 Apr 2012 09:07:01 -0700
From: Tony Luck <tony.luck@...el.com>
To: Émeric Maschino <emeric.maschino@...il.com>
Cc: Paul Gortmaker <paul.gortmaker@...driver.com>,
linux-ia64@...r.kernel.org, linux-kernel@...r.kernel.org,
Fenghua Yu <fenghua.yu@...el.com>,
David Howells <dhowells@...hat.com>,
Michel Lespinasse <walken@...gle.com>
Subject: Re: [PATCH] ia64: populate the cmpxchg header with appropriate code
On Thu, Apr 12, 2012 at 2:52 PM, Tony Luck <tony.luck@...el.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists