lkml.org 
[lkml]   [2008]   [Apr]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 8 Apr 2008 00:12:10 +0200
FromAndi Kleen <>
SubjectRe: BUG: using smp_processor_id() during suspend with 2.6.25-rc8
On Tue, Apr 08, 2008 at 12:04:39AM +0200, Jiri Kosina wrote:
> On Tue, 8 Apr 2008, Andi Kleen wrote:
> 
> > > It is not safe to call smp_processor_id() in cases we are not sure 
> > > someone will not reschedule us.
> > We are sure. Machine checks always run with interrupts off.
> 
> I know. However preempt_count is a little bit inconsistent in such cases 
> though.

And? interrupts off beats preempt count anyways.

Why did you write the patch? Was there a (incorrect) warning triggered?

-Andi


\
 
 \ /
  Last update: 2008-04-08 00:11    [from the cache]
©2003-2008