login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
March
»
9
Re: [rfc][patch] futex: restartable futex_wait?
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Nick Piggin
Subject:
Re: [rfc][patch] futex: restartable futex_wait?
Date: Thursday, March 8, 2007 - 10:10 pm
On Thu, Mar 08, 2007 at 06:29:02PM +0100, Ingo Molnar wrote:
quoted text
> > * Nick Piggin <npiggin@suse.de> wrote: > > > Hi Ingo, > > > > I'm seeing an LTP test fail for ltp test sigaction_16_24. Basically, > > it tests whether the SA_RESTART flag works for the sem_wait operation. > > > > I see sem_wait is implemented with futex_wait, so I wonder whether we > > can make it restartable? Am I going about it the right way? (Seems to > > fix the testcase here). > > i think that's quite right. I'm wondering why this never came up before? > But your fix is not complete i think: > > > + restart->arg2 = time; > > + return -ERESTART_RESTARTBLOCK; > > + } > > 'time' here is relative, so the restarted syscall will do a /full/ wait > again.
But it has been modified by schedule_timeout? -
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:
[rfc][patch] futex: restartable futex_wait?
, Nick Piggin
, (Wed Mar 7, 8:33 am)
Re: [rfc][patch] futex: restartable futex_wait?
, Ingo Molnar
, (Thu Mar 8, 10:29 am)
Re: [rfc][patch] futex: restartable futex_wait?
, Thomas Gleixner
, (Thu Mar 8, 4:02 pm)
Re: [rfc][patch] futex: restartable futex_wait?
, Nick Piggin
, (Thu Mar 8, 10:10 pm)
Re: [rfc][patch] futex: restartable futex_wait?
, Nick Piggin
, (Thu Mar 8, 10:15 pm)
Re: [rfc][patch] futex: restartable futex_wait?
, Thomas Gleixner
, (Fri Mar 9, 2:38 am)
Re: [rfc][patch] futex: restartable futex_wait?
, Nick Piggin
, (Fri Mar 9, 5:24 am)
Re: [rfc][patch] futex: restartable futex_wait?
, Thomas Gleixner
, (Fri Mar 9, 6:10 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mathieu Desnoyers
[PATCH 01/10] local_t : architecture independant extension
Ingo Molnar
Re: 2.6.20-rc6-mm3
monstr
[PATCH 46/56] microblaze_v2: headers files entry.h current.h mman.h registers.h se...
alan
Re: Versioning file system
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
git
:
Andy Parkins
git-fetch fails with error code 128
Johannes Sixt
Re: [PATCH v2 04/13] Teach rebase interactive the mark command
Yakov Lerner
Re: Autoconf/Automake
Miklos Vajna
Re: [IRC/patches] Failed octopus merge does not clean up
Johannes Sixt
Re: [msysGit] [PATCH 01/12] Fake reencoding success under NO_ICONV instead of retu...
linux-netdev
:
jamal
[net-next-2.6 PATCH 1/7] xfrm: introduce basic mark infrastructure
jamal
[net-next-2.6 PATCH 0/7] xfrm by MARK
Timo Teräs
ip xfrm policy semantics
Jeff Garzik
Re: [PATCH 1/5] sky2: phy setup changes
Ken-ichirou MATSUZAWA
Re: [PATCH] don't touch bridge sysfs in container.
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
V4L/DVB (13840): smsusb: Add ISDB-T firmware for Hauppauge WinTV-Nova-T-MiniStick
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
openbsd-misc
:
Marco Peereboom
Re: Defending OpenBSD Performance
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Damon Schultz
Routing iTunes sharing across subnets using OpenBSD
Ashraf Cotu
Je sur comptable a la banque BCB je vais virée $6.million a la etranger
Chris Black
Re: carp, 2 router
Colocation donated by:
Syndicate