lkml.org 
[lkml]   [2000]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] free_filps locking?
Tim Waugh wrote:
>
> I've been looking at an oops that happened on 2.2.12-20smp (i386) on a
> four-processor SMP machine. It turns out that in remove_filp,
> file->f_next and file->f_pprev are both NULL.
>
> I wonder if it could be a race between insert_file_free and
> get_empty_filp, but it seems very odd that I'm the only one to see this
> race! Here's the patch I think might help (I haven't tried it yet):
>

This code should be protected by lock_kernel().

Do you use iBCS or any other unusual module? Perhaps a module doesn't
call lock_kernel().

--
Manfred

-
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.050 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site