[lkml]   [1999]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 3Dfx module broken on 2.2.3

    Yes, it is broken. There were two changes to mm/mmap.c:

    a) in do_mmap()
    vma->vm_file = file;

    b) in do_munmap()

    errno = -EINVAL; instead of 0, because Single UNIX v2 says so.

    I have just checked that it is *not* b) that breaks it (thank heaven - for
    b) was my patch :)

    It appears that a /dev/3dfx usage count (file->f_count) is incremented but
    not decremented. So I am suspicious of a) - perhaps there should be a
    corresponding file->f_count-- in do_munmap() ?

    I am trying to fix it now - will let you know if any luck.


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

     \ /
      Last update: 2005-03-22 13:50    [W:0.019 / U:50.204 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site