login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
September
»
10
Re: [PATCH 1/1] block: Range check cpu in blk_cpu_to_group
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jens Axboe
Subject:
Re: [PATCH 1/1] block: Range check cpu in blk_cpu_to_group
Date: Friday, September 10, 2010 - 3:07 am
On 09/09/2010 07:41 PM, Brian King wrote:
quoted text
> While testing CPU DLPAR, the following problem was discovered. > We were DLPAR removing the first CPU, which in this case was > logical CPUs 0-3. CPUs 0-2 were already marked offline and > we were in the process of offlining CPU 3. After marking > the CPU inactive and offline in cpu_disable, but before the > cpu was completely idle (cpu_die), we ended up in __make_request > on CPU 3. There we looked at the topology map to see which CPU > to complete the I/O on and found no CPUs in the cpu_sibling_map. > This resulted in the block layer setting the completion cpu > to be NR_CPUS, which then caused an oops when we tried to > complete the I/O. > > Fix this by sanity checking the value we return from blk_cpu_to_group > to be a valid cpu value. > > Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Thanks Brian, applied. -- Jens Axboe --
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 1/1] block: Range check cpu in blk_cpu_to_group
, Brian King
, (Thu Sep 9, 10:41 am)
Re: [PATCH 1/1] block: Range check cpu in blk_cpu_to_group
, Jens Axboe
, (Fri Sep 10, 3:07 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Oleg Nesterov
Re: init's children list is long and slows reaping children.
kogiidena
[PATCH 1/1] leds: LED Bitpattern Trigger
Stefan Richter
Re: [patch 00/04] RFC: Staging tree (drivers/staging)
David Miller
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
[ARM] dma: use new dmabounce_sync_for_xxx() for dma_sync_single_xxx()
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Jacob Yocom-Piatt
Re: Same shit all over again
Colocation donated by:
Syndicate