login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
9
Re: [patch] eventfd/kaio integration fix
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Davide Libenzi <davidel@...>
Cc: <linux-kernel@...>, <zach.brown@...>, <jroberson@...>
Subject:
Re: [patch] eventfd/kaio integration fix
Date: Wednesday, April 9, 2008 - 3:08 pm
On Wed, 9 Apr 2008 11:45:47 -0700 (PDT) Davide Libenzi <davidel@xmailserver.org> wrote:
quoted text
> Jeff Roberson discovered a race when using kaio eventfd based > notifications. This patch fixes the race by moving the notification inside > the spinlocked section of kaio.
Missing information. What are the consequences of this race, when it occurs?
quoted text
> The operation is safe since eventfd > spinlock and kaio one are unrelated.
Yes, it's safe from that perspective. However with this patch applied, we will no longer run eventfd_signal() if kiocbIsCancelled(iocb). Convincing is needed, please? --
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:
[patch] eventfd/kaio integration fix
, Davide Libenzi
, (Wed Apr 9, 2:45 pm)
Re: [patch] eventfd/kaio integration fix
, Oliver Pinter
, (Sun Apr 13, 8:29 am)
Re: [patch] eventfd/kaio integration fix
, Davide Libenzi
, (Sun Apr 13, 6:57 pm)
Re: [patch] eventfd/kaio integration fix
, Oliver Pinter
, (Mon Apr 14, 1:56 pm)
Re: [patch] eventfd/kaio integration fix
, Davide Libenzi
, (Mon Apr 14, 2:02 pm)
Re: [patch] eventfd/kaio integration fix
, Andrew Morton
, (Wed Apr 9, 3:08 pm)
Re: [patch] eventfd/kaio integration fix
, Davide Libenzi
, (Wed Apr 9, 3:19 pm)
Re: [patch] eventfd/kaio integration fix
, Jeff Roberson
, (Wed Apr 9, 3:33 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
[patch 12/13] syslets: x86: optimized copy_uatom()
Greg Kroah-Hartman
[PATCH 017/196] aoechr: Convert from class_device to device
Yinghai Lu
Re: 2.6.26, PAT and AMD family 6
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
683 guests
online.
Online users
strcmp
f0restridge
Syndicate