login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
6
Re: [NFS] 2.6.23-rc1-mm2
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Trond Myklebust
Subject:
Re: [NFS] 2.6.23-rc1-mm2
Date: Monday, August 6, 2007 - 9:24 am
On Mon, 2007-08-06 at 13:05 +0200, Marc Dietrich wrote:
quoted text
> Hi, > > Am Monday 06 August 2007 08:24 schrieb Johannes Berg: > > On Fri, 2007-08-03 at 21:21 +0400, Oleg Nesterov wrote: > > > To avoid a possible confusion: it is still OK if work->func() flushes > > > its own workqueue, so strictly speaking this trace is false positive, > > > but it would be very nice if we can get rid of this practice. > > > > I just had a thought: we could get rid of this warning by using a > > read-lock here. That way, flushing from within a work function (which > > would be seen as read-after-read recursive lock) won't trigger this > > warning. Patch below. This would, however, also get rid of any warnings > > for run_workqueue recursion. Which again we may or may not want, the > > code inidicates that it should be allowed up to a depth of three. > > > > However, the question whether we should allow flush_workqueue from > > within a struct work is mainly an API policy issue; it doesn't hurt to > > flush a workqueue from within a work, but it is probably nearer the > > intent to use targeted cancel_work_sync() or such. OTOH, one could > > imagine situations where multiple different work structs are on that > > workqueue belonging to the same subsystem and then the general > > flush_scheduled_work() call is the only way to guarantee nothing is on > > scheduled at a given point... I don't feel qualified to make the > > decision for or against allowing this use of the API at this point. > > > > Marc, do you have an easy way to trigger this warning? Could you verify > > that it goes away with the patch below applied? > > just booting into X is enough. > > I applied the patch, but now I get: > > ================================= > [ INFO: inconsistent lock state ] > 2.6.23-rc1-mm2 #4 > --------------------------------- > inconsistent {softirq-on-W} -> {in-softirq-W} usage. > swapper/0 [HC0[0]:SC1[1]:HE1:SE0] takes: > (rpc_credcache_lock){-+..}, at: [<c01dc487>] _atomic_dec_and_lock+0x17/0x60 > {softirq-on-W} state was registered at: > [<c013e870>] __lock_acquire+0x650/0x1030 > [<c013f2b1>] lock_acquire+0x61/0x80 > [<c02db9ac>] _spin_lock+0x2c/0x40 > [<c01dc487>] _atomic_dec_and_lock+0x17/0x60 > [<dced55fd>] put_rpccred+0x5d/0x100 [sunrpc] > [<dced56c1>] rpcauth_unbindcred+0x21/0x60 [sunrpc] > [<dced3fd4>] a0 [sunrpc] > [<dcecefe0>] rpc_call_sync+0x30/0x40 [sunrpc] > [<dcedc73b>] rpcb_register+0xdb/0x180 [sunrpc] > [<dced65b3>] svc_register+0x93/0x160 [sunrpc] > [<dced6ebe>] __svc_create+0x1ee/0x220 [sunrpc] > [<dced7053>] svc_create+0x13/0x20 [sunrpc] > [<dcf6d722>] nfs_callback_up+0x82/0x120 [nfs] > [<dcf48f36>] nfs_get_client+0x176/0x390 [nfs] > [<dcf49181>] nfs4_set_client+0x31/0x190 [nfs] > [<dcf49983>] nfs4_create_server+0x63/0x3b0 [nfs] > [<dcf52426>] nfs4_get_sb+0x346/0x5b0 [nfs] > [<c017b444>] vfs_kern_mount+0x94/0x110 > [<c0190a62>] do_mount+0x1f2/0x7d0 > [<c01910a6>] sys_mount+0x66/0xa0 > [<c0104046>] syscall_call+0x7/0xb > [<ffffffff>] 0xffffffff > irq event stamp: 5277830 > hardirqs last enabled at (5277830): [<c017530a>] kmem_cache_free+0x8a/0xc0 > hardirqs last disabled at (5277829): [<c01752d2>] kmem_cache_free+0x52/0xc0 > softirqs last enabled at (5277798): [<c0124173>] __do_softirq+0xa3/0xc0 > softirqs last disabled at (5277817): [<c01241d7>] do_softirq+0x47/0x50 > > other info that might help us debug this: > no locks held by swapper/0. > > stack backtrace: > [<c0104fda>] show_trace_log_lvl+0x1a/0x30 > [<c0105c02>] show_trace+0x12/0x20 > [<c0105d15>] dump_stack+0x15/0x20 > [<c013ccc3>] print_usage_bug+0x153/0x160 > [<c013d8b9>] mark_lock+0x449/0x620 > [<c013e824>] __lock_acquire+0x604/0x1030 > [<c013f2b1>] lock_acquire+0x61/0x80 > [<c02db9ac>] _spin_lock+0x2c/0x40 > [<c01dc487>] _atomic_dec_and_lock+0x17/0x60 > [<dced55fd>] put_rpccred+0x5d/0x100 [sunrpc] > [<dcf6bf83>] nfs_free_delegation_callback+0x13/0x20 [nfs] > [<c012f9ea>] __rcu_process_callbacks+0x6a/0x1c0 > [<c012fb52>] rcu_process_callbacks+0x12/0x30 > [<c0124218>] tasklet_action+0x38/0x80 > [<c0124125>] __do_softirq+0x55/0xc0 > [<c01241d7>] do_softirq+0x47/0x50 > [<c0124605>] irq_exit+0x35/0x40 > [<c0112463>] smp_apic_timer_interrupt+0x43/0x80 > [<c0104a77>] apic_timer_interrupt+0x33/0x38 > [<c02690df>] cpuidle_idle_call+0x6f/0x90 > [<c01023c3>] cpu_idle+0x43/0x70 > [<c02d8c27>] rest_init+0x47/0x50 > [<c03bcb6a>] start_kernel+0x22a/0x2b0 > [<00000000>] 0x0 > =======================
That is a different matter. I assume this patch should suffice to fix the above problem. Trond
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
2.6.23-rc1-mm2
, Andrew Morton
, (Tue Jul 31, 11:09 pm)
Re: 2.6.23-rc1-mm2
, Paul Mundt
, (Tue Jul 31, 11:25 pm)
Re: 2.6.23-rc1-mm2 (vm-dont-run-touch_buffer-during-buffer ...
, Eric St-Laurent
, (Wed Aug 1, 12:36 am)
Re: 2.6.23-rc1-mm2 (vm-dont-run-touch_buffer-during-buffer ...
, Andrew Morton
, (Wed Aug 1, 12:46 am)
Re: 2.6.23-rc1-mm2
, Mike Frysinger
, (Wed Aug 1, 12:58 am)
Re: 2.6.23-rc1-mm2
, Mariusz Kozlowski
, (Wed Aug 1, 1:02 am)
Re: 2.6.23-rc1-mm2 (vm-dont-run-touch_buffer-during-buffer ...
, Eric St-Laurent
, (Wed Aug 1, 1:04 am)
Re: 2.6.23-rc1-mm2
, Andrew Morton
, (Wed Aug 1, 1:10 am)
Re: 2.6.23-rc1-mm2
, Andrew Morton
, (Wed Aug 1, 1:13 am)
Re: 2.6.23-rc1-mm2
, Paul Mundt
, (Wed Aug 1, 1:15 am)
Re: 2.6.23-rc1-mm2
, Ingo Molnar
, (Wed Aug 1, 1:16 am)
Re: 2.6.23-rc1-mm2 (vm-dont-run-touch_buffer-during-buffer ...
, Andrew Morton
, (Wed Aug 1, 1:30 am)
Re: 2.6.23-rc1-mm2
, Mike Frysinger
, (Wed Aug 1, 2:04 am)
[PATCH] prevent SSB compilation on s390 part 2
, Heiko Carstens
, (Wed Aug 1, 2:34 am)
Re: 2.6.23-rc1-mm2
, Jiri Kosina
, (Wed Aug 1, 3:23 am)
Re: 2.6.23-rc1-mm2
, Paul Mackerras
, (Wed Aug 1, 3:32 am)
unionfs compile error ( Re: 2.6.23-rc1-mm2 )
, Gabriel C
, (Wed Aug 1, 3:33 am)
Re: 2.6.23-rc1-mm2
, Gabriel C
, (Wed Aug 1, 3:56 am)
[PATCH] fix slown down printk on boot compile error
, Heiko Carstens
, (Wed Aug 1, 4:16 am)
Re: 2.6.23-rc1-mm2
, Jason Wessel
, (Wed Aug 1, 5:22 am)
Re: [PATCH] prevent SSB compilation on s390 part 2
, John W. Linville
, (Wed Aug 1, 5:24 am)
drivers/scsi/advansys.c compile error ( Re: 2.6.23-rc1-mm2 )
, Gabriel C
, (Wed Aug 1, 6:01 am)
[PATCH] drivers/scsi/advansys.c: fix advansys_board_found ...
, Eugene Teo
, (Wed Aug 1, 6:39 am)
Re: 2.6.23-rc1-mm2
, Christoph Hellwig
, (Wed Aug 1, 6:45 am)
Re: [PATCH] drivers/scsi/advansys.c: fix advansys_board_fo ...
, Gabriel C
, (Wed Aug 1, 6:54 am)
Re: [PATCH] drivers/scsi/advansys.c: fix advansys_board_fo ...
, Matthew Wilcox
, (Wed Aug 1, 6:55 am)
Re: 2.6.23-rc1-mm2
, Jason Wessel
, (Wed Aug 1, 6:57 am)
[PATCH -mm] Fix defined but not used warning in drivers/kv ...
, Gabriel C
, (Wed Aug 1, 7:23 am)
Re: [PATCH] drivers/scsi/advansys.c: fix advansys_board_fo ...
, Gabriel C
, (Wed Aug 1, 7:27 am)
Re: [PATCH] drivers/scsi/advansys.c: fix advansys_board_fo ...
, Matthew Wilcox
, (Wed Aug 1, 7:32 am)
Re: [PATCH] prevent SSB compilation on s390 part 2
, Heiko Carstens
, (Wed Aug 1, 7:43 am)
Re: [PATCH] drivers/scsi/advansys.c: fix advansys_board_fo ...
, Gabriel C
, (Wed Aug 1, 7:46 am)
Re: [PATCH] prevent SSB compilation on s390 part 2
, Michael Buesch
, (Wed Aug 1, 7:54 am)
[PATCH -mm] Fix a section mismatch warning
, Gabriel C
, (Wed Aug 1, 8:19 am)
Re: [PATCH] fix slown down printk on boot compile error
, Randy Dunlap
, (Wed Aug 1, 9:32 am)
Re: 2.6.23-rc1-mm2
, Greg KH
, (Wed Aug 1, 9:36 am)
Re: unionfs compile error ( Re: 2.6.23-rc1-mm2 )
, Andrew Morton
, (Wed Aug 1, 10:22 am)
Re: 2.6.23-rc1-mm2
, Andrew Morton
, (Wed Aug 1, 10:26 am)
Re: unionfs compile error ( Re: 2.6.23-rc1-mm2 )
, Josef Sipek
, (Wed Aug 1, 10:27 am)
Re: unionfs compile error ( Re: 2.6.23-rc1-mm2 )
, Gabriel C
, (Wed Aug 1, 10:35 am)
Re: 2.6.23-rc1-mm2
, Gabriel C
, (Wed Aug 1, 10:39 am)
Re: [PATCH -mm] Fix defined but not used warning in driver ...
, Avi Kivity
, (Wed Aug 1, 11:35 am)
Re: 2.6.23-rc1-mm2 (checks-for-80wire-cable-use-in-pata_via)
, Laurent Riffard
, (Wed Aug 1, 1:13 pm)
Re: 2.6.23-rc1-mm2
, Valdis.Kletnieks
, (Wed Aug 1, 1:30 pm)
Re: 2.6.23-rc1-mm2
, Andrew Morton
, (Wed Aug 1, 1:40 pm)
Re: 2.6.23-rc1-mm2
, Torsten Kaiser
, (Wed Aug 1, 1:52 pm)
Re: 2.6.23-rc1-mm2
, Andrew Morton
, (Wed Aug 1, 2:17 pm)
INOTIFY=n , AUDIT*=y compile error
, Gabriel C
, (Wed Aug 1, 4:40 pm)
Re: 2.6.23-rc1-mm2
, Mel Gorman
, (Wed Aug 1, 4:40 pm)
[PATCH -mm] linux-audit list is subscribers-only
, Gabriel C
, (Wed Aug 1, 4:59 pm)
Re: [PATCH -mm] linux-audit list is subscribers-only
, Randy Dunlap
, (Wed Aug 1, 6:30 pm)
Re: 2.6.23-rc1-mm2
, Torsten Kaiser
, (Wed Aug 1, 9:38 pm)
Re: 2.6.23-rc1-mm2
, Mariusz Kozlowski
, (Thu Aug 2, 2:47 am)
Re: 2.6.23-rc1-mm2
, Mariusz Kozlowski
, (Thu Aug 2, 3:14 am)
[PATCH -mm] Fix section mismatch warnings in sound/pci/hda/
, Gabriel C
, (Thu Aug 2, 6:11 am)
Re: [PATCH -mm] Fix section mismatch warnings in sound/pci ...
, Takashi Iwai
, (Thu Aug 2, 6:24 am)
Re: 2.6.23-rc1-mm2
, Andy Whitcroft
, (Thu Aug 2, 7:01 am)
Re: [linux-usb-devel] 2.6.23-rc1-mm2
, Alan Stern
, (Thu Aug 2, 7:20 am)
Re: [linux-usb-devel] 2.6.23-rc1-mm2
, Jiri Kosina
, (Thu Aug 2, 7:26 am)
Re: [linux-usb-devel] 2.6.23-rc1-mm2
, Mariusz Kozlowski
, (Thu Aug 2, 7:32 am)
Re: unionfs compile error ( Re: 2.6.23-rc1-mm2 )
, Erez Zadok
, (Thu Aug 2, 9:29 am)
Re: [PATCH -mm] Fix section mismatch warnings in sound/pci ...
, Sam Ravnborg
, (Thu Aug 2, 9:32 am)
Re: [PATCH -mm] Fix section mismatch warnings in sound/pci ...
, Takashi Iwai
, (Thu Aug 2, 10:17 am)
Re: 2.6.23-rc1-mm2: Fix crash in sysfs_hash_and_remove
, Rafael J. Wysocki
, (Thu Aug 2, 10:31 am)
Re: 2.6.23-rc1-mm2: Fix crash in sysfs_hash_and_remove
, Tejun Heo
, (Thu Aug 2, 10:34 am)
Re: 2.6.23-rc1-mm2
, Torsten Kaiser
, (Thu Aug 2, 10:44 am)
Re: 2.6.23-rc1-mm2: Fix crash in sysfs_hash_and_remove
, Eric W. Biederman
, (Thu Aug 2, 11:19 am)
Re: 2.6.23-rc1-mm2
, Kumar Gala
, (Fri Aug 3, 2:39 am)
Re: 2.6.23-rc1-mm2
, Marc Dietrich
, (Fri Aug 3, 4:00 am)
Re: 2.6.23-rc1-mm2
, Andrew Morton
, (Fri Aug 3, 9:38 am)
Re: [NFS] 2.6.23-rc1-mm2
, Trond Myklebust
, (Fri Aug 3, 10:03 am)
Re: [NFS] 2.6.23-rc1-mm2
, Oleg Nesterov
, (Fri Aug 3, 10:21 am)
Re: [NFS] 2.6.23-rc1-mm2
, Johannes Berg
, (Sun Aug 5, 11:24 pm)
Re: [NFS] 2.6.23-rc1-mm2
, Oleg Nesterov
, (Mon Aug 6, 3:53 am)
Re: [NFS] 2.6.23-rc1-mm2
, Johannes Berg
, (Mon Aug 6, 3:58 am)
Re: [NFS] 2.6.23-rc1-mm2
, Marc Dietrich
, (Mon Aug 6, 4:05 am)
Re: [NFS] 2.6.23-rc1-mm2
, Johannes Berg
, (Mon Aug 6, 4:13 am)
Re: [NFS] 2.6.23-rc1-mm2
, Trond Myklebust
, (Mon Aug 6, 9:24 am)
Re: 2.6.23-rc1-mm2
, Segher Boessenkool
, (Mon Aug 6, 12:08 pm)
Re: 2.6.23-rc1-mm2
, Segher Boessenkool
, (Mon Aug 6, 12:10 pm)
Re: 2.6.23-rc1-mm2
, Segher Boessenkool
, (Mon Aug 6, 12:12 pm)
Re: 2.6.23-rc1-mm2
, Mariusz Kozlowski
, (Mon Aug 6, 12:34 pm)
Re: 2.6.23-rc1-mm2
, Segher Boessenkool
, (Mon Aug 6, 2:25 pm)
Re: 2.6.23-rc1-mm2
, Mariusz Kozlowski
, (Mon Aug 6, 3:34 pm)
Re: 2.6.23-rc1-mm2
, Segher Boessenkool
, (Mon Aug 6, 4:12 pm)
Re: [NFS] 2.6.23-rc1-mm2
, Marc Dietrich
, (Tue Aug 7, 5:09 am)
Re: [NFS] 2.6.23-rc1-mm2
, Trond Myklebust
, (Tue Aug 7, 2:08 pm)
Re: [NFS] 2.6.23-rc1-mm2
, Oleg Nesterov
, (Tue Aug 7, 2:37 pm)
Re: [NFS] 2.6.23-rc1-mm2
, Trond Myklebust
, (Tue Aug 7, 3:05 pm)
Re: [NFS] 2.6.23-rc1-mm2
, Oleg Nesterov
, (Tue Aug 7, 3:20 pm)
Re: [NFS] 2.6.23-rc1-mm2
, Trond Myklebust
, (Tue Aug 7, 4:08 pm)
Re: [NFS] 2.6.23-rc1-mm2
, Oleg Nesterov
, (Tue Aug 7, 4:14 pm)
2.6.23-rc1-mm2: MMC_ARMMMCI compile error
, Adrian Bunk
, (Wed Aug 8, 2:31 pm)
Re: 2.6.23-rc1-mm2: MMC_ARMMMCI compile error
, Pierre Ossman
, (Thu Aug 9, 5:03 am)
[-mm patch] make pm3fb_init() static again
, Adrian Bunk
, (Tue Aug 14, 2:21 pm)
[-mm patch] fs/reiser4/plugin/: make 3 functions static
, Adrian Bunk
, (Tue Aug 14, 2:21 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mel Gorman
Re: [PATCH 1/4] vmstat: remove zone->lock from walk_zones_in_node
Guenter Roeck
Re: [lm-sensors] Location for thermal drivers
David Woodhouse
Re: RFC: Moving firmware blobs out of the kernel.
Siddha, Suresh B
Re: [PATCH 2.6.21 review I] [11/25] x86: default to physical mode on hotplug CPU k...
Peter Zijlstra
Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)
git-commits-head
:
Linux Kernel Mailing List
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
Linux Kernel Mailing List
USB: rename USB_SPEED_VARIABLE to USB_SPEED_WIRELESS
Linux Kernel Mailing List
lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param)
Linux Kernel Mailing List
[Bluetooth] Initiate authentication during connection establishment
Linux Kernel Mailing List
[POWERPC] 4xx: Add ppc40x_defconfig
linux-netdev
:
MERCEDES
Your mail id has won 950,000.00 in the MERCEDES Benz Online Promo.for claims send:
David Miller
Re: [PATCH] xen/netfront: do not mark packets of length < MSS as GSO
David Miller
Re: skb_segment() questions
Shan Wei
[RFC PATCH net-next 2/5]IPv6:netfilter: Send an ICMPv6 "Fragment Reassembly Timeou...
Stanislaw Gruszka
[PATCH 1/4] bnx2x: use smp_mb() to keep ordering of read write operations
git
:
Nicolas Sebrecht
git-svn died of signal 11 (was "3 failures on test t9100 (svn)")
Junio C Hamano
Re: [PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
Martin Langhoff
Re: [PATCH] GIT commit statistics.
Alexandre Julliard
[PATCH] gitweb: Put back shortlog instead of graphiclog in the project list.
Josh Triplett
[PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
openbsd-misc
:
Taisto Qvist XX
Re: AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics wi...
Nico Meijer
Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
Andreas Bihlmaier
Re: jetway board sensors (Fintek F71805F)
admin
Drive a 2009 car from R799p/m
Antti Harri
Re: how to create a sha256 hash
Colocation donated by:
Syndicate