login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
7
Re: AIM7 40% regression with 2.6.26-rc1
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Zhang, Yanmin
Subject:
Re: AIM7 40% regression with 2.6.26-rc1
Date: Wednesday, May 7, 2008 - 12:05 am
On Wed, 2008-05-07 at 08:28 +0200, Ingo Molnar wrote:
quoted text
> * Ingo Molnar <mingo@elte.hu> wrote: > > > > 3) Caller of lock_kernel are sys_fcntl/vfs_ioctl/tty_release/chrdev_open. > > > > that's one often-forgotten BKL site: about 1000 ioctls are still > > running under the BKL. The TTY one is hurting the most. [...] > > although it's an unlocked_ioctl() now in 2.6.26, so all the BKL locking > has been nicely pushed down to deep inside the tty code. > > > [...] To make sure it's only that BKL acquire/release that hurts, > > could you try the hack patch below, does it make any difference to > > performance? > > if you use a serial console you will need the updated patch below.
I tested it on my 8-core stoakley. The result is 4% worse than the one of pure 2.6.26-rc1. Still not good.
quoted text
> > Ingo > > ----------------------> > Subject: no: tty bkl > From: Ingo Molnar <mingo@elte.hu> > Date: Wed May 07 08:21:22 CEST 2008 > > Signed-off-by: Ingo Molnar <mingo@elte.hu> > --- > drivers/char/tty_io.c | 5 +++-- > drivers/serial/serial_core.c | 2 +- > 2 files changed, 4 insertions(+), 3 deletions(-) > > Index: linux/drivers/char/tty_io.c > =================================================================== > --- linux.orig/drivers/char/tty_io.c > +++ linux/drivers/char/tty_io.c > @@ -2844,9 +2844,10 @@ out: > > static int tty_release(struct inode *inode, struct file *filp) > { > - lock_kernel(); > + /* DANGEROUS - can crash your kernel! */ > +// lock_kernel(); > release_dev(filp); > - unlock_kernel(); > +// unlock_kernel(); > return 0; > } > > Index: linux/drivers/serial/serial_core.c > =================================================================== > --- linux.orig/drivers/serial/serial_core.c > +++ linux/drivers/serial/serial_core.c > @@ -1241,7 +1241,7 @@ static void uart_close(struct tty_struct > struct uart_state *state = tty->driver_data; > struct uart_port *port; > > - BUG_ON(!kernel_locked()); > +// BUG_ON(!kernel_locked()); > > if (!state || !state->port) > return; >
--
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:
AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Mon May 5, 10:48 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 4:18 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Tue May 6, 4:44 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 5:09 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 9:23 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Tue May 6, 9:36 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Alan Cox
, (Tue May 6, 9:39 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 9:42 am)
Re: AIM7 40% regression with 2.6.26-rc1
, J. Bruce Fields
, (Tue May 6, 9:44 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Alan Cox
, (Tue May 6, 9:45 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 9:51 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Tue May 6, 10:21 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Tue May 6, 10:31 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Tue May 6, 10:39 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Tue May 6, 10:42 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Tue May 6, 10:45 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Tue May 6, 10:49 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Tue May 6, 11:07 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Tue May 6, 1:28 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Tue May 6, 7:11 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Tue May 6, 8:41 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Tue May 6, 8:59 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Tue May 6, 9:46 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Tue May 6, 11:26 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Tue May 6, 11:28 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Tue May 6, 11:49 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 12:05 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andi Kleen
, (Wed May 7, 4:00 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 4:46 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andi Kleen
, (Wed May 7, 5:21 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Alan Cox
, (Wed May 7, 6:59 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Alan Cox
, (Wed May 7, 7:35 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 7:36 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andi Kleen
, (Wed May 7, 7:57 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 8:00 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 8:02 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 8:19 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Wed May 7, 8:31 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 9:20 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 9:22 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 9:35 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 9:38 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 9:55 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 10:05 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 10:08 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 10:14 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Wed May 7, 10:16 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 10:22 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 10:24 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 10:25 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 10:27 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 10:31 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 10:36 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 10:47 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 10:49 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 10:55 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 10:59 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 11:02 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 11:17 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 11:17 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 11:27 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 11:43 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 11:49 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 12:01 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 12:09 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Wed May 7, 12:24 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 12:44 pm)
Oi. NFS people. Read this.
, Matthew Wilcox
, (Wed May 7, 1:00 pm)
Re: Oi. NFS people. Read this.
, Trond Myklebust
, (Wed May 7, 3:10 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 7:44 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 8:24 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 8:29 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 8:34 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 9:08 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Wed May 7, 9:17 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Wed May 7, 9:37 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Wed May 7, 11:43 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Andrew Morton
, (Wed May 7, 11:48 pm)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Thu May 8, 12:14 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Thu May 8, 12:39 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Thu May 8, 1:44 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Thu May 8, 2:21 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Ingo Molnar
, (Thu May 8, 2:29 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Zhang, Yanmin
, (Thu May 8, 2:30 am)
[patch] speed up / fix the new generic semaphore code (fix ...
, Ingo Molnar
, (Thu May 8, 5:01 am)
Re: [patch] speed up / fix the new generic semaphore code ...
, Ingo Molnar
, (Thu May 8, 5:28 am)
Re: [patch] speed up / fix the new generic semaphore code ...
, Matthew Wilcox
, (Thu May 8, 6:20 am)
Re: [patch] speed up / fix the new generic semaphore code ...
, Arjan van de Ven
, (Thu May 8, 6:56 am)
Re: [patch] speed up / fix the new generic semaphore code ...
, Ingo Molnar
, (Thu May 8, 7:43 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Linus Torvalds
, (Thu May 8, 7:58 am)
Re: [patch] speed up / fix the new generic semaphore code ...
, Ingo Molnar
, (Thu May 8, 8:01 am)
[git pull] scheduler fixes
, Ingo Molnar
, (Thu May 8, 8:10 am)
Re: [git pull] scheduler fixes
, Adrian Bunk
, (Thu May 8, 8:33 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Thu May 8, 8:41 am)
Re: [patch] speed up / fix the new generic semaphore code ...
, Linus Torvalds
, (Thu May 8, 9:02 am)
Re: [patch] speed up / fix the new generic semaphore code ...
, Linus Torvalds
, (Thu May 8, 11:30 am)
Re: [git pull] scheduler fixes
, Adrian Bunk
, (Thu May 8, 12:42 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Ingo Molnar
, (Thu May 8, 1:19 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Linus Torvalds
, (Thu May 8, 1:27 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Ingo Molnar
, (Thu May 8, 2:45 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Ingo Molnar
, (Thu May 8, 3:02 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Linus Torvalds
, (Thu May 8, 3:55 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Linus Torvalds
, (Thu May 8, 4:07 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Linus Torvalds
, (Thu May 8, 4:14 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Alan Cox
, (Thu May 8, 4:16 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Alan Cox
, (Thu May 8, 4:27 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Linus Torvalds
, (Thu May 8, 4:33 pm)
Re: Oi. NFS people. Read this.
, J. Bruce Fields
, (Thu May 8, 6:43 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Ingo Molnar
, (Thu May 8, 11:50 pm)
Re: [patch] speed up / fix the new generic semaphore code ...
, Andi Kleen
, (Fri May 9, 1:29 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 4:03 am)
Re: AIM7 40% regression with 2.6.26-rc1
, Matthew Wilcox
, (Sun May 11, 4:11 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 4:14 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 4:48 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 5:50 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 5:52 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 6:01 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 6:02 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 6:06 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 6:26 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 6:45 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 6:54 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 7:00 am)
Re: [git pull] scheduler fixes
, Sven Wegener
, (Sun May 11, 7:10 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 7:18 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 7:22 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 7:32 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 7:42 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 7:46 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 7:48 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Sun May 11, 8:19 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Sun May 11, 8:29 am)
Re: [git pull] scheduler fixes
, Linus Torvalds
, (Sun May 11, 9:47 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Tue May 13, 7:11 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Tue May 13, 7:21 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Tue May 13, 7:42 am)
Re: [git pull] scheduler fixes
, Matthew Wilcox
, (Tue May 13, 8:28 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Tue May 13, 10:13 am)
Re: [git pull] scheduler fixes
, Linus Torvalds
, (Tue May 13, 10:22 am)
Re: [git pull] scheduler fixes
, Ingo Molnar
, (Tue May 13, 2:05 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
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
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate