Re: [PATCH 1/1] mm: Prevent dereferencing non-allocated per_cpu variables

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>, Andi Kleen <ak@...>, <travis@...>
Cc: Christoph Lameter <clameter@...>, <linux-mm@...>, <linux-kernel@...>
Date: Tuesday, November 27, 2007 - 6:01 pm

On 27 Nov 2007 at 13:50, travis@sgi.com wrote:


actually, it's not that remote, it happens every time
NR_CPUS > num_possible_cpus(). i ran into this myself
on a dual core box with NR_CPUS=4. due to my rewrite
of the i386 per-cpu segment handling, i actually got
a NULL deref where the vanilla kernel would be accessing
the area of [__per_cpu_start, __per_cpu_end] for each
non-possible CPU (which doesn't crash per se but is
still not correct somehow i think).

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/1] mm: Prevent dereferencing non-allocated per_..., , (Tue Nov 27, 6:01 pm)
Re: [PATCH 1/1] mm: Prevent dereferencing non-allocated per_..., Christoph Lameter, (Tue Nov 27, 7:22 pm)
Re: [PATCH 1/1] mm: Prevent dereferencing non-allocated per_..., Christoph Lameter, (Tue Nov 27, 8:09 pm)
Re: [PATCH 1/1] mm: Prevent dereferencing non-allocated per_..., Christoph Lameter, (Tue Nov 27, 8:15 pm)
Re: [PATCH 1/1] mm: Prevent dereferencing non-allocated per_..., Christoph Lameter, (Tue Nov 27, 7:15 pm)