lkml.org 
[lkml]   [2000]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Oops in 2.2.15pre7
Date
From
> >         restore_flags(flags);
> > kfree(fa);
> > return 1;
> >
> > is safe even SMP since the cli/restore_flags means that we cannot be part
> > way down a queue walk when the entry is freed.
> >
>
> I didn't check the code, but save_flags()+cli() is rarely SMP safe:
> if you call cli() with disable local interrupts, then cli() is a nop.

The list is never altered during an interrupt. It is walked during interrupts


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.083 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site