tmpfs double kunmap

tmpfs double kunmap

Post by Hugh Dickin » Tue, 16 Jul 2002 23:20:07




failure path duplicates kunmap, causing oops holding kmap_lock.

Patch against 2.4.19-rc1, applies at offset to 2.4.19-rc1-ac3,
applies at offset to 2.5.25 but I'll send Linus and Dave later.

--- 2.4.19-rc1/mm/shmem.c       Mon Jun 24 19:14:58 2002

 fail_write:
        status = -EFAULT;
        ClearPageUptodate(page);
-       kunmap(page);
        goto unlock;
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. tmpfs: [ID 610955 kern.warning] WARNING: tmp_memalloc: tmpfs over memory limit

Is there some kind of memory limit setting in /etc/system or
something?  This is the error I'm getting when my /tmp gets over about
70% full.  I've just never heard of this before, could someone explain
please.  Below is my vfstab if it matters at all...

#device         device          mount           FS      fsck    mount
 mount
#to mount       to fsck         point           type    pass    at
boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr          ufs     1       yes  
 -
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c0t0d0s1       -       -       swap    -       no      -
/dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1    
 no      -
/dev/dsk/c0t0d0s4       /dev/rdsk/c0t0d0s4      /usr    ufs     1    
 no      -
/dev/dsk/c0t0d0s3       /dev/rdsk/c0t0d0s3      /var    ufs     1    
 no      -
/dev/md/dsk/d0          /dev/md/rdsk/d0         /export/home    ufs  
 2       yes     logging
/dev/dsk/c0t0d0s5       /dev/rdsk/c0t0d0s5      /opt    ufs     2    
 yes     -
/dev/dsk/c1t15d0s7      /dev/rdsk/c1t15d0s7     /export/spool   ufs  
 2       yes     -
/dev/dsk/c1t2d0s7       /dev/rdsk/c1t2d0s7      /export ufs     2    
 yes     -
swap    -       /tmp    tmpfs   -       yes     -

2. Shutting my modem up!

3. 2.4.19pre4 preempt: BUG: kunmap while in_interrupt()

4. game rpms for Redhat-6.2

5. float vs double vs double float

6. Handler

7. Double quotes within double quotes (no apostrophes)

8. Oops on 2.4.17-pre6 at boot time

9. formatting an old double-sided double-density 5.25 floppy???

10. UNIX double vs. DOS Doubles

11. double sqrt (double)

12. tmpfs -- where's the M to R?

13. Strange "df -k" output for /tmpfs