LiteBSD/src 0204648 — sys/vm vm_object.c
Fixed deadlock in vm_object deallocate. See patch #147 from 386bsd patch-kit.
Delta | File | |
---|---|---|
+20 | -1 | sys/vm/vm_object.c |
+20 | -1 | 1 files |
Fixed deadlock in vm_object deallocate. See patch #147 from 386bsd patch-kit.
Delta | File | |
---|---|---|
+20 | -1 | sys/vm/vm_object.c |
+20 | -1 | 1 files |
Merge branch 'master' into pager_uncache.
Delta | File | |
---|---|---|
+1 | -3 | sys/mips/pic32/machdep.c |
+3 | -1 | sys/mips/conf/WIFIRE.pic32 |
+4 | -4 | 2 files |
Added debug printfs to help diagnose a crash in vp_mmap. Crash is easy to reproduce: use command "banner x; banner z; banner c".
Delta | File | |
---|---|---|
+34 | -5 | sys/vm/vnode_pager.c |
+27 | -2 | sys/vm/vm_object.c |
+11 | -2 | sys/vm/vm_mmap.c |
+6 | -0 | sys/vm/vm_fault.c |
+78 | -9 | 4 files |
Fixed unexpected pause in ttwrite.
Delta | File | |
---|---|---|
+13 | -13 | sys/kern/tty.c |
+13 | -13 | 1 files |
Function ffs() rewritten in C.
Delta | File | |
---|---|---|
+0 | -12 | sys/mips/pic32/locore.s |
+11 | -0 | sys/libkern/ffs.c |
+2 | -2 | sys/mips/include/machConst.h |
+13 | -14 | 3 files |
Enqueue and byte swap functions made inline.
Delta | File | |
---|---|---|
+0 | -50 | sys/mips/pic32/locore.s |
+43 | -6 | sys/sys/systm.h |
+15 | -5 | sys/mips/include/machConst.h |
+6 | -8 | sys/mips/include/endian.h |
+5 | -5 | sys/mips/dev/spi.c |
+69 | -74 | 5 files |
Soft interrupt control functions made inline.
Delta | File | |
---|---|---|
+125 | -4 | sys/mips/include/cpu.h |
+2 | -84 | sys/mips/include/param.h |
+1 | -47 | sys/mips/pic32/locore.s |
+128 | -135 | 3 files |
Interrupt level routines splN() made inline.
Delta | File | |
---|---|---|
+0 | -214 | sys/mips/include/pic32mz.h |
+170 | -0 | sys/mips/include/machConst.h |
+0 | -102 | sys/mips/pic32/locore.s |
+71 | -3 | sys/mips/include/param.h |
+3 | -3 | sys/mips/pic32/machdep.c |
+244 | -322 | 5 files |
Fixed bug in tlb_flush_addr. Must unmap only one page, not a pair.
Delta | File | |
---|---|---|
+42 | -36 | sys/mips/pic32/machdep.c |
+14 | -39 | sys/mips/pic32/trap.c |
+8 | -7 | sys/mips/pic32/pmap.c |
+5 | -4 | sys/mips/pic32/vm_machdep.c |
+1 | -1 | sys/mips/include/pte.h |
+70 | -87 | 5 files |
Fixed bug in tlb_update. Need to set both lo0 and lo1 at once.
Delta | File | |
---|---|---|
+21 | -47 | sys/mips/pic32/machdep.c |
+5 | -5 | sys/mips/pic32/pmap.c |
+0 | -9 | sys/mips/include/vmparam.h |
+6 | -0 | sys/mips/include/pte.h |
+2 | -2 | sys/mips/pic32/trap.c |
+1 | -1 | sys/mips/pic32/vm_machdep.c |
+35 | -64 | 1 files not shown |
+36 | -65 | 7 files |
All disklabel stuff removed.
Delta | File | |
---|---|---|
+14 | -290 | sys/sys/disklabel.h |
+60 | -191 | sbin/newfs/newfs.c |
+1 | -172 | sys/ufs/ufs/ufs_disksubr.c |
+19 | -119 | sbin/newlfs/newfs.c |
+38 | -46 | sbin/fsck/setup.c |
+27 | -38 | sys/mips/dev/sd.c |
+159 | -856 | 18 files not shown |
+184 | -948 | 24 files |
Restored CLK_TCK definition: required for clock() library function. Rootfs manifest updated.
Delta | File | |
---|---|---|
+0 | -3 | etc/rootfs.manifest |
+2 | -0 | sys/mips/include/limits.h |
+2 | -3 | 2 files |
Removed unused kernel include files. Kernel parameters modified: reduced max number of processes, vnodes and opened files. MIPS include files reindented.
Delta | File | |
---|---|---|
+0 | -208 | sys/mips/include/pmioctl.h |
+0 | -194 | sys/mips/include/mips_opcode.h |
+27 | -96 | sys/mips/pic32/machdep.c |
+25 | -62 | sys/mips/include/cpu.h |
+23 | -23 | sys/mips/include/pic32mz.h |
+23 | -23 | sys/mips/include/exec.h |
+98 | -606 | 26 files not shown |
+205 | -806 | 32 files |
Fixed crash in systat, when TERM variable not set. Cleaned up gcc warnings in libterm library. Added handlers for TLB read-inhibit, execute-inhibit, DSP, trap and watch exceptions. Fixed division by zero in vmstat.
Delta | File | |
---|---|---|
+189 | -158 | sys/mips/pic32/trap.c |
+10 | -15 | lib/libterm/termcap.c |
+5 | -5 | lib/libcurses/newwin.c |
+1 | -7 | lib/libterm/tgoto.c |
+1 | -5 | lib/libterm/tputs.c |
+4 | -0 | usr.bin/systat/main.c |
+210 | -190 | 2 files not shown |
+214 | -191 | 8 files |
Functions ldexp, modf, fabs and isinf replaced with C versions. MIPS exception codes modified to match pic32mz spec.
Delta | File | |
---|---|---|
+39 | -53 | sys/mips/include/trap.h |
+79 | -0 | lib/libc/mips/gen/modf.c |
+29 | -28 | sys/mips/pic32/trap.c |
+49 | -0 | lib/libc/mips/gen/ldexp.c |
+48 | -0 | lib/libc/mips/gen/modff.c |
+25 | -0 | lib/libc/mips/gen/isinff.c |
+269 | -81 | 3 files not shown |
+309 | -82 | 9 files |
Fixed bugs in /dev/kmem and in sysctl. Malloc statistics enabled.
Delta | File | |
---|---|---|
+2 | -13 | sys/mips/include/machConst.h |
+4 | -5 | sys/mips/pic32/mem.c |
+6 | -2 | sys/mips/pic32/sysctl.c |
+4 | -2 | sbin/dmesg/dmesg.c |
+2 | -3 | sys/sys/malloc.h |
+1 | -1 | sys/mips/pic32/machdep.c |
+19 | -26 | 6 files |
Fixed bug in sd driver: wrong size of swap partition.
Delta | File | |
---|---|---|
+73 | -44 | sys/mips/dev/sd.c |
+19 | -32 | sys/mips/pic32/sysctl.c |
+2 | -2 | share/mk-pic32/bsd.prog.mk |
+1 | -1 | usr.bin/mail/Makefile |
+95 | -79 | 4 files |
Fixed wrong return value of kvm_nlist. Vmstat modified to accept zero uptime value.
Delta | File | |
---|---|---|
+5 | -3 | lib/libkvm/kvm.c |
+2 | -2 | usr.bin/vmstat/vmstat.c |
+7 | -5 | 2 files |
Kvm library modified to use sysctl() instead of nlist() for kernel symbols.
Delta | File | |
---|---|---|
+42 | -5 | lib/libkvm/kvm.c |
+0 | -1 | sys/mips/pic32/sysctl.c |
+42 | -6 | 2 files |
Netstat cleaned up, unused kernel symbols removed.
Delta | File | |
---|---|---|
+9 | -83 | usr.bin/netstat/main.c |
+0 | -15 | sys/mips/pic32/sysctl.c |
+2 | -3 | usr.bin/netstat/Makefile |
+11 | -101 | 3 files |
Call sysctl() extended with ability to query addresses of kernel symbols.
Delta | File | |
---|---|---|
+235 | -0 | sys/mips/pic32/sysctl.c |
+0 | -39 | sys/mips/pic32/machdep.c |
+13 | -1 | sys/mips/include/cpu.h |
+6 | -6 | usr.sbin/pstat/pstat.c |
+9 | -0 | sys/mips/pic32/trap.c |
+4 | -4 | usr.bin/netstat/main.c |
+267 | -50 | 11 files not shown |
+292 | -53 | 17 files |
Cleaned warnings in NFS and other filesystems.
Delta | File | |
---|---|---|
+151 | -147 | sys/kern/kern_ktrace.c |
+150 | -129 | sys/ufs/lfs/lfs_syscalls.c |
+120 | -123 | sys/nfs/nfs_vnops.c |
+102 | -79 | sys/nfs/nfs_serv.c |
+58 | -47 | sys/ufs/lfs/lfs_balloc.c |
+48 | -24 | sys/ufs/lfs/lfs_vfsops.c |
+629 | -549 | 39 files not shown |
+962 | -787 | 45 files |
Finally fixed all gcc warnings in the kernel.
Delta | File | |
---|---|---|
+229 | -198 | sys/ufs/ffs/ffs_vfsops.c |
+178 | -166 | sys/ufs/ffs/ffs_alloc.c |
+122 | -106 | sys/dev/vn.c |
+82 | -72 | sys/mips/pic32/machdep.c |
+104 | -49 | sys/ufs/ufs/ufs_vnops.c |
+44 | -27 | sys/ufs/ufs/ufs_lookup.c |
+759 | -618 | 71 files not shown |
+1,272 | -947 | 77 files |
Fixed gcc warnings in miscfs.
Delta | File | |
---|---|---|
+92 | -91 | sys/miscfs/union/union_vfsops.c |
+45 | -10 | sys/miscfs/procfs/procfs_vnops.c |
+32 | -19 | sys/miscfs/deadfs/dead_vnops.c |
+23 | -23 | sys/miscfs/union/union_subr.c |
+31 | -10 | sys/miscfs/specfs/spec_vnops.c |
+20 | -10 | sys/miscfs/kernfs/kernfs_vnops.c |
+243 | -163 | 14 files not shown |
+336 | -202 | 20 files |
Fixed bug in splN() routines. Disabled malloc statistics. Added activation of swap-in process when no active processes remains in memory. More gcc warnings cleaned.
Delta | File | |
---|---|---|
+133 | -79 | sys/kern/vfs_syscalls.c |
+25 | -11 | sys/kern/vfs_vnops.c |
+20 | -15 | sys/kern/vfs_subr.c |
+12 | -10 | sys/mips/pic32/locore.s |
+19 | -3 | sys/sys/systm.h |
+9 | -9 | sys/kern/vfs_lookup.c |
+218 | -127 | 12 files not shown |
+277 | -150 | 18 files |
Fixing gcc warnings in the kernel (not finished yet).
Delta | File | |
---|---|---|
+396 | -352 | sys/kern/uipc_syscalls.c |
+160 | -146 | sys/kern/kern_sysctl.c |
+62 | -61 | sys/kern/kern_sig.c |
+60 | -56 | sys/kern/uipc_usrreq.c |
+54 | -47 | sys/kern/sys_generic.c |
+49 | -39 | sys/kern/tty.c |
+781 | -701 | 38 files not shown |
+1,192 | -990 | 44 files |
Done with reindenting kernel sources and includes. Fixed kernel build error.
Delta | File | |
---|---|---|
+3,027 | -3,028 | sys/vax/uba/qfont.c |
+2,769 | -2,769 | sys/vax/uba/qd.c |
+1,699 | -1,699 | sys/vax/uba/tmscp.c |
+1,644 | -1,644 | sys/vax/uba/uda.c |
+1,574 | -1,574 | sys/vax/stand/qfont.c |
+1,222 | -1,222 | sys/tahoe/vba/vd.c |
+11,935 | -11,936 | 383 files not shown |
+55,516 | -55,525 | 389 files |
Kernel tests moved to contrib directory. Most kernel sources reindented (except tahoe and vax).
Delta | File | |
---|---|---|
+3,897 | -3,897 | sys/news3400/fb/fb_mfbs.c |
+3,336 | -3,336 | sys/news3400/iodev/sd.c |
+3,075 | -3,075 | sys/sparc/sparc/locore.s |
+2,902 | -2,902 | sys/nfs/nfs_serv.c |
+2,862 | -2,862 | sys/pmax/dev/font.c |
+2,673 | -2,673 | sys/pmax/pmax/fp.s |
+18,745 | -18,745 | 947 files not shown |
+167,793 | -167,797 | 953 files |
Mips kernel: enable interrupts early at init stage. Started converting kernel sources to modern format: 4 space indent, no tabs.
Delta | File | |
---|---|---|
+2,821 | -2,821 | sys/luna68k/font/font.c |
+1,804 | -1,804 | sys/hp300/hp300/locore.s |
+1,791 | -1,791 | sys/kern/vfs_syscalls.c |
+1,756 | -1,756 | sys/hp300/hp300/pmap.c |
+1,699 | -1,699 | sys/luna68k/luna68k/pmap.c |
+1,592 | -1,592 | sys/luna68k/luna68k/locore.s |
+11,463 | -11,463 | 493 files not shown |
+96,974 | -96,973 | 499 files |
Added support for ELF format in execve() call. Modified splN() routines: must not set global interrupt enable bit. Fixed bug in UART driver: incorrect baud rate for console port. Added "make load" target to the top level makefile: upload the kernel image to chipKIT Wi-Fire board. Now the kernel is able to boot on real Wi-Fire board.
Delta | File | |
---|---|---|
+494 | -0 | sys/sys/exec_elf.h |
+225 | -134 | sys/kern/kern_exec.c |
+29 | -34 | sys/mips/pic32/locore.s |
+20 | -18 | sys/mips/pic32/machdep.c |
+9 | -8 | sys/mips/dev/uart.c |
+11 | -6 | Makefile |
+788 | -200 | 3 files not shown |
+793 | -205 | 9 files |