login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
23
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer dereference
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mike Travis
Subject:
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer dereference
Date: Monday, June 23, 2008 - 9:58 am
Rusty Russell wrote:
quoted text
> On Monday 23 June 2008 02:29:07 Vegard Nossum wrote: >> And the (cpu < nr_cpu_ids) fails because the CPU has just been >> offlined (or failed to initialize, but it's the same thing), while >> NR_CPUS is the value that was compiled in as CONFIG_NR_CPUS (so the >> former check will always be true). >> >> I don't think it is valid to ask for a per_cpu() variable on a CPU >> which does not exist, though > > Yes it is. As long as cpu_possible(cpu), per_cpu(cpu) is valid. > > The number check should be removed: checking cpu_possible() is sufficient. > > Hope that helps, > Rusty.
I don't see a check for index being out of range in cpu_possible(). Thanks, Mike --
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:
v2.6.26-rc7: BUG: unable to handle kernel NULL pointer der ...
, Vegard Nossum
, (Sun Jun 22, 5:56 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Vegard Nossum
, (Sun Jun 22, 7:47 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Vegard Nossum
, (Sun Jun 22, 7:54 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Adrian Bunk
, (Sun Jun 22, 8:56 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Vegard Nossum
, (Sun Jun 22, 9:29 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Rusty Russell
, (Sun Jun 22, 8:26 pm)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Mike Travis
, (Mon Jun 23, 9:58 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Rusty Russell
, (Mon Jun 23, 6:36 pm)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Vegard Nossum
, (Tue Jun 24, 12:40 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Zhang, Yanmin
, (Tue Jun 24, 1:06 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Vegard Nossum
, (Tue Jun 24, 1:37 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Rusty Russell
, (Tue Jun 24, 6:14 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Mike Travis
, (Tue Jun 24, 7:44 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Rusty Russell
, (Tue Jun 24, 10:38 pm)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Mike Travis
, (Wed Jun 25, 8:06 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Zhang, Yanmin
, (Wed Jun 25, 5:59 pm)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Andrew Morton
, (Wed Jun 25, 7:15 pm)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Vegard Nossum
, (Thu Jun 26, 2:00 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Jason Wessel
, (Thu Jun 26, 5:40 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Gautham R Shenoy
, (Thu Jun 26, 5:58 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Vegard Nossum
, (Thu Jun 26, 6:59 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Rusty Russell
, (Thu Jun 26, 8:16 pm)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Ingo Molnar
, (Mon Jun 30, 4:19 am)
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL pointer ...
, Vegard Nossum
, (Thu Jul 10, 12:10 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Linus Torvalds
Re: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmas of a mergeab...
Matthew Wilcox
Re: Pull request for semaphore include changes
Benjamin Herrenschmidt
Re: [RFC PATCH 03/11] ppc: Create ops to choose between direct window and iommu ba...
git
:
Junio C Hamano
Re: pack operation is thrashing my server
Tay Ray Chuan
Re: [PATCH 02/18] http-push, http-walker: style fixes
Chris Frey
whitespace checking in git-add?
Luben Tuikov
Re: New way of tracking remote branches -- question
Kirill Smelkov
[TopGit PATCH] tg help: <something>: improve readability
git-commits-head
:
Linux Kernel Mailing List
sony-laptop: Add support for extended hotkeys
Linux Kernel Mailing List
rtl8187: use DMA-aware buffers with usb_control_msg
Linux Kernel Mailing List
[ARM] pxa/em-x270: explicitly set .gpio_cs in TDO35S SPI chip data
Linux Kernel Mailing List
epoll: clean up ep_modify
Linux Kernel Mailing List
IB/core: Add support for masked atomic operations
linux-netdev
:
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Karsten Keil
[mISDN PATCH v2 05/19] Reduce stack size in dsp_cmx_send()
Valentine Barshak
[PATCH 1/2] ibm_newemac: PowerPC 440GX EMAC PHY clock workaround
Hannes Eder
[PATCH 06/27] drivers/net/atlx: fix sparse warnings: make symbols static
Gerrit Renker
Re: [PATCH 16/37] dccp: API to query the current TX/RX CCID
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
Kamigishi Rei
Re: HEAD newfs/sysinstall issues
Julian Elischer
Re: reproducible panic in netisr
Bruce Cran
sctp panic in _mtx_lock_sleep when attempting to connect to a remote machine
韓家標 Bill Hacker
Re: ZFS honesty
Colocation donated by:
Syndicate