Menu

#157 up_write() should be up_read()

open
None
3
2006-11-26
2005-05-11
No

While trying to fix errors from patching a 2.4.30
kernel with openMosix 2.4.26 patches, I stumbled upon
an error in the file hpc/comm.c. In the function
dirty_all_remote_pages() there's a call (at the end) to
up_write() which should be a call to up_read(). It
messes up the lock counts and makes the 2.4.30 kernel
generate warnings about it. The 2.4.26 kernel has the
same problem, but doesn't complain about it.

Discussion

  • Florian Delizy

    Florian Delizy - 2006-11-26

    Logged In: YES
    user_id=1283799
    Originator: NO

    2.4 bug

     
  • Florian Delizy

    Florian Delizy - 2006-11-26
    • assigned_to: nobody --> mosheb
     
  • Florian Delizy

    Florian Delizy - 2006-11-26
    • priority: 5 --> 3
     

Log in to post a comment.