login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2009
»
April
»
16
Re: Please revert kobject_uevent UMH_NO_WAIT
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Arjan van de Ven
Subject:
Re: Please revert kobject_uevent UMH_NO_WAIT
Date: Thursday, April 16, 2009 - 2:30 pm
Greg KH wrote:
quoted text
> On Thu, Apr 16, 2009 at 09:55:29PM +0100, Hugh Dickins wrote: >> Please revert commit f520360d93cdc37de5d972dac4bf3bdef6a7f6a7 >> "kobject: don't block for each kobject_uevent". >> >> Tetsuo Handa, running a kernel with CONFIG_DEBUG_PAGEALLOC=y >> and CONFIG_UEVENT_HELPER_PATH=/sbin/hotplug, has been hitting RCU >> detected CPU stalls: it's been spinning in the loop where do_execve() >> counts up the args (but why wasn't fixup_exception working? dunno). >> >> The recent change, switching kobject_uevent_env() from UMH_WAIT_EXEC >> to UMH_NO_WAIT, is broken: the exec uses args on the local stack here, >> and an env which is kfreed as soon as call_usermodehelper() returns. >> It very much needs to wait for the exec to be done. >> >> Or keep the UMH_NO_WAIT, and complicate the code to allocate and free >> these resources correctly? No, as GregKH pointed out when making the >> commit, CONFIG_UEVENT_HELPER_PATH="" is a much better optimization - >> though some distros are still saying /sbin/hotplug in their .config, >> yet with no such binary in their initrd or their root. >> >> Or... >> >> [PATCH] revert kobject_uevent UMH_NO_WAIT >> >> Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> >> Signed-off-by: Hugh Dickins <hugh@veritas.com> > > Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Arjan van de Ven <arjan@linux.intel.com> as well not worth the hassle if this breaks too much --
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:
[2.6.30-rc1] RCU detected CPU 1 stall
, Tetsuo Handa
, (Tue Apr 7, 5:57 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Paul E. McKenney
, (Fri Apr 10, 7:22 am)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Al Viro
, (Fri Apr 10, 8:03 am)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Paul E. McKenney
, (Fri Apr 10, 8:32 am)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Tetsuo Handa
, (Fri Apr 10, 2:08 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Paul E. McKenney
, (Fri Apr 10, 4:12 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Al Viro
, (Fri Apr 10, 4:39 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Paul E. McKenney
, (Fri Apr 10, 5:48 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Tetsuo Handa
, (Sun Apr 12, 5:48 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Paul E. McKenney
, (Mon Apr 13, 12:55 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Tetsuo Handa
, (Mon Apr 13, 2:31 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Paul E. McKenney
, (Mon Apr 13, 3:47 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Hugh Dickins
, (Tue Apr 14, 10:11 am)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Tetsuo Handa
, (Tue Apr 14, 8:28 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Hugh Dickins
, (Wed Apr 15, 1:34 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Tetsuo Handa
, (Wed Apr 15, 5:46 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Hugh Dickins
, (Wed Apr 15, 10:15 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Tetsuo Handa
, (Wed Apr 15, 10:35 pm)
Re: [2.6.30-rc1] RCU detected CPU 1 stall
, Greg KH
, (Thu Apr 16, 1:37 pm)
Please revert kobject_uevent UMH_NO_WAIT
, Hugh Dickins
, (Thu Apr 16, 1:55 pm)
[PATCH] mm: pass correct mm when growing stack
, Hugh Dickins
, (Thu Apr 16, 1:58 pm)
Re: Please revert kobject_uevent UMH_NO_WAIT
, Greg KH
, (Thu Apr 16, 2:24 pm)
Re: Please revert kobject_uevent UMH_NO_WAIT
, Arjan van de Ven
, (Thu Apr 16, 2:30 pm)
Re: Please revert kobject_uevent UMH_NO_WAIT
, Will Newton
, (Thu Apr 16, 2:36 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tony Luck
Re: Hardware Error Kernel Mini-Summit
James Bottomley
Re: [PATCH -mm 1/2] scsi: remove dma_is_consistent usage in 53c700
Andrey Borzenkov
Re: [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from...
Linus Torvalds
Linux 2.6.26-rc6
Jeffrey V. Merkey
Re: Versioning file system
git
:
Morten Welinder
Re: [PATCH] use xrealloc in help.c
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Alex Riesen
Re: git exclude patterns for directory
Giuseppe Bilotta
Re: [PATCH 4/4] gitweb: show notes in commit(diff) view
Jörg Sommer
[PATCH v2 08/13] Unify the lenght of $SHORT* and the commits in the TODO list
linux-netdev
:
Andreas Sundstrom
Re: ~60k interrupts/sec for 1Gb/s iperf with r8169
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Denys Fedoryshchenko
Re: circular locking, mirred, 2.6.24.2
David Miller
Re: [PATCH -next] sfc: Use correct macro to set event bitfield
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
m68k: amiga - Mouse platform device conversion
Linux Kernel Mailing List
drivers/acpi: use kasprintf
openbsd-misc
:
frantisek holop
Re: mount ffs as msdos, system hangs
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
Colocation donated by:
Syndicate