login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
16
Re: + futex-runtime-enable-pi-and-robust-functionality.patch added to -mm tree
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Thomas Gleixner <tglx@...>
To: Heiko Carstens <heiko.carstens@...>
Cc: <linux-kernel@...>, <mm-commits@...>, <buytenh@...>, <mingo@...>, <riku.voipio@...>, <stable@...>, <schwidefsky@...>
Subject:
Re: + futex-runtime-enable-pi-and-robust-functionality.patch added to -mm tree
Date: Saturday, February 16, 2008 - 9:48 am
On Sat, 16 Feb 2008, Heiko Carstens wrote:
quoted text
> > Well, NULL pointer dereferencing is supposed to fail, isn't it ? > > I wasn't sure that this is true for all architectures, but...
It's an requirement for futex support.
quoted text
> > > Indeed it does fail with an Oops on s390 since we enable low address > > > protection in the kernel so we get an exception if something within the > > > kernel writes to the first 512 bytes of the kernel address space. > > > Otherwise it would have silently passed the test... > > > > NULL pointer dereferencing faults on all architectures, at least it > > should, but we explicitely disable pagefaults and recover via the > > extable fixup, which is in S390 as well. That returns -EFAULT and > > signals that there is a working implementation, while those which have > > no support return -ENOSYS, which keeps the robust/pi stuff disabled. > > ...one of our exception table entries has an off-by-one bug. > Never mind, I'll go and fix our own stuff instead ;)
Maybe we should do such tests on all exception table protected assembler constructs :) Thanks, tglx --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Heiko Carstens
, (Sat Feb 16, 8:42 am)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Andrew Morton
, (Mon Feb 18, 9:00 am)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Heiko Carstens
, (Mon Feb 18, 9:18 am)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Heiko Carstens
, (Mon Feb 18, 9:10 am)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Thomas Gleixner
, (Sat Feb 16, 9:05 am)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Heiko Carstens
, (Sat Feb 16, 9:41 am)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Thomas Gleixner
, (Sat Feb 16, 9:48 am)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Heiko Carstens
, (Sat Feb 16, 10:04 am)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Thomas Gleixner
, (Sat Feb 16, 10:29 am)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Benjamin Herrenschmidt
, (Wed Mar 26, 11:32 pm)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Benjamin Herrenschmidt
, (Wed Mar 26, 11:48 pm)
Re: + futex-runtime-enable-pi-and-robust-functionality.patch...
, Josh Boyer
, (Thu Mar 27, 8:03 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Benjamin Herrenschmidt
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Daniel Walker
Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andrew Morton
-mm merge plans for 2.6.23
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Hannes Eder
[PATCH 01/43] drivers/net/at1700.c: fix sparse warning: symbol shadows an earlier ...
Gerrit Renker
[PATCH 16/37] dccp: API to query the current TX/RX CCID
Herbert Xu
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
933 guests
online.
Online users
maheshdm
strcmp
Syndicate