[lkml]   [2001]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Another VM race? (was: page_launder() bug)
On Sun, 13 May 2001, Mikulas Patocka wrote:

> CPU 0 CPU 1
> is executing the code marked is executing try_to_free_buffers on
> above with ^^^^^^^: the same page (it can be, because CPU 0
> did not lock the page)
> (page->buffers &&
> page->buffers = NULL
> MAJOR(page->buffers->b_dev) ==
> RAMDISK_MAJOR)) ===> Oops, NULL pointer dereference!
> Maybe compiler CSE optimization will eliminate the double load of
> page->buffers, but we must not rely on it. If the compiler doesn't
> optimize it, it can produce random oopses.

You're right, this should be fixed. Do you happen to have a
patch ? ;)


Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

Send all your spam to (spam digging piggy)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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