login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
1
Re: [GIT, RFC] Killing the Big Kernel Lock
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Arnd Bergmann
Subject:
Re: [GIT, RFC] Killing the Big Kernel Lock
Date: Thursday, April 1, 2010 - 1:50 am
On Thursday 01 April 2010, Roland Dreier wrote:
quoted text
> Looking at your tree, I see you have commit 753dd249 ("perf_event: use > nonseekable_open") that does: > > > --- a/kernel/perf_event.c > > +++ b/kernel/perf_event.c > > @@ -2515,6 +2515,8 @@ static int perf_fasync(int fd, struct file *filp, int on) > > } > > > > static const struct file_operations perf_fops = { > > + .open = nonseekable_open, > > + .llseek = no_llseek, > > .release = perf_release, > > .read = perf_read, > > .poll = perf_poll, > > But if I understand this correctly, the assignment to .open is at best > useless -- these file_operations are only used via anon_inode_getfd() > and so there is no possible path that can call the .open method. Or am > I missing something?
You're right. I did not consider this. Arnd --
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: [GIT, RFC] Killing the Big Kernel Lock
, Andrew Morton
, (Wed Mar 24, 2:07 pm)
[GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Wed Mar 24, 2:40 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Roland Dreier
, (Wed Mar 24, 2:53 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Wed Mar 24, 2:59 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Alan Cox
, (Wed Mar 24, 3:10 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Ingo Molnar
, (Wed Mar 24, 3:23 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Wed Mar 24, 3:25 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Thu Mar 25, 3:26 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Jiri Kosina
, (Thu Mar 25, 5:55 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Thu Mar 25, 6:06 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Thu Mar 25, 6:38 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Dan Carpenter
, (Thu Mar 25, 6:40 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Thu Mar 25, 7:14 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Stefan Richter
, (Fri Mar 26, 4:47 pm)
[PATCH] firewire: char device files are not seekable (BKL ...
, Stefan Richter
, (Sat Mar 27, 2:16 am)
[PATCH] ieee1394: char device files are not seekable (BKL ...
, Stefan Richter
, (Sat Mar 27, 2:20 am)
[PATCH RFC] DVB: add dvb_generic_nonseekable_open, dvb_gen ...
, Stefan Richter
, (Sat Mar 27, 3:40 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Sat Mar 27, 7:37 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Stefan Richter
, (Sun Mar 28, 5:27 am)
[PATCH RFC v2] DVB: add dvb_generic_nonseekable_open, dvb_ ...
, Stefan Richter
, (Sun Mar 28, 7:47 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Sun Mar 28, 1:04 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Sun Mar 28, 1:05 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Sun Mar 28, 1:11 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Sun Mar 28, 1:15 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Sun Mar 28, 1:33 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Sun Mar 28, 2:34 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Andi Kleen
, (Sun Mar 28, 2:58 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Sun Mar 28, 4:18 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Sun Mar 28, 4:24 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Sun Mar 28, 4:38 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock II
, Andi Kleen
, (Sun Mar 28, 6:07 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Mon Mar 29, 4:04 am)
Re: [GIT, RFC] Killing the Big Kernel Lock II
, Arnd Bergmann
, (Mon Mar 29, 4:48 am)
Re: [GIT, RFC] Killing the Big Kernel Lock II
, Andi Kleen
, (Mon Mar 29, 5:30 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, John Kacur
, (Mon Mar 29, 5:45 am)
Re: [GIT, RFC] Killing the Big Kernel Lock II
, Arnd Bergmann
, (Mon Mar 29, 7:43 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Mon Mar 29, 10:59 am)
Re: [GIT, RFC] Killing the Big Kernel Lock II
, Andi Kleen
, (Mon Mar 29, 1:11 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Mon Mar 29, 2:18 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Roland Dreier
, (Tue Mar 30, 10:22 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Roland Dreier
, (Wed Mar 31, 3:11 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Wed Mar 31, 3:20 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Thu Apr 1, 1:50 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Jan Blunck
, (Thu Apr 8, 1:45 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Arnd Bergmann
, (Thu Apr 8, 2:27 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Frederic Weisbecker
, (Thu Apr 8, 2:30 pm)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Jan Blunck
, (Fri Apr 9, 4:02 am)
Re: [GIT, RFC] Killing the Big Kernel Lock
, Stefan Richter
, (Sat Apr 10, 8:13 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [patch] e1000=y && e1000e=m regression fix
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Eli Cohen
Re: LRO num of frags limit
Boaz Harrosh
how to use KBUILD_EXTRA_SYMBOLS
Pekka Enberg
Re: [PATCH] include/linux/slab.h: new KFREE() macro.
git
:
Bill Lear
cpio command not found
Jing Xue
Re: git rm --cached
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Michael S. Tsirkin
git-kill: rewrite history removing a commit
Johannes Sixt
Re: How to pull remote branch with specified commit id?
linux-netdev
:
Johann Baudy
Packet mmap: TX RING and zero copy
Stephen Hemminger
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Balazs Scheidler
Re: [PATCH 5/9] tproxy: allow non-local binds of IPv6 sockets if IP_TRANSPARENT is...
David Miller
Re: [net-next PATCH 2/2] qlge: Version change to v1.00.00.27
openbsd-misc
:
Bryan Irvine
Re: DVD burn error: No space left on device
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Skylar Hawk
Re: asus eee 1201n - acpitz0 critical temperature 255C (5282K), shutting down
git-commits-head
:
Linux Kernel Mailing List
Linux 2.6.34-rc4
Linux Kernel Mailing List
x86 boot: only pick up additional EFI memmap if add_efi_memmap flag
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
[ALSA] hda-codec - Add support for VIA VT1708B HD audio codec
Linux Kernel Mailing List
ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range
Colocation donated by:
Syndicate