login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
13
Re: [PATCH 3/8] IPMI: Run to completion fixes
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH 3/8] IPMI: Run to completion fixes
Date: Wednesday, February 13, 2008 - 4:20 pm
On Wed, 13 Feb 2008 10:23:42 -0600 Corey Minyard <minyard@acm.org> wrote:
quoted text
> From: Corey Minyard <cminyard@mvista.com> > > The "run_to_completion" mode was somewhat broken. Locks need to be > avoided in run_to_completion mode, and it shouldn't be used by normal > users, just internally for panic situations. > > This patch removes locks in run_to_completion mode and removes the > user call for setting the mode. The only user was the poweroff > code, but it was easily converted to use the polling interface. > > + /* > + * Spin until our message is done. > + */ > + while (atomic_read(&dummy_count) > 0) { > + ipmi_poll_interface(user); > + barrier(); > + }
we'd normally use cpu_relax() here. --
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 3/8] IPMI: Run to completion fixes
, Corey Minyard
, (Wed Feb 13, 9:23 am)
Re: [PATCH 3/8] IPMI: Run to completion fixes
, Andrew Morton
, (Wed Feb 13, 4:20 pm)
Re: [PATCH 3/8] IPMI: Run to completion fixes
, Corey Minyard
, (Wed Feb 13, 5:20 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11407] suspend: unable to handle kernel paging request
Christoph Lameter
Re: [bug] SLUB + mm/slab.c boot crash in -rc9
Jörn
Re: [00/41] Large Blocksize Support V7 (adds memmap support)
Jeremy Fitzhardinge
Re: [2.6.25] compat VDSO option not disabling
Rafael J. Wysocki
[Bug #11551] Semi-repeatable hard lockup on 2.6.27-rc6
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Frans Pop
'git gc --aggressive' effectively unusable
Stephan Beyer
Re: git sequencer prototype
Lynn Lin
Re: clearcase migration to git
Johannes Schindelin
Re: [PATCH 2/3] unpack-trees: fix path search bug in verify_absent
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Andi Kleen
Re: [ANNOUNCE]: First release of nftables
David Miller
Re: [PATCH] IPv6: preferred lifetime of address not getting updated
openbsd-misc
:
nixlists
Re: Which laptops do the developers use?
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Henning Brauer
Re: pf: reassemble tcp
Sam Fourman Jr.
Re: Help with Altell PC6700
git-commits-head
:
Linux Kernel Mailing List
sparc64: Fix sun4u execute bit check in TSB I-TLB load.
Linux Kernel Mailing List
init: Open /dev/console from rootfs
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
x86 boot: only pick up additional EFI memmap if add_efi_memmap flag
Linux Kernel Mailing List
udp: fix for unicast RX path optimization
Colocation donated by:
Syndicate