Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:28 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.23: +15 -3
lines
Diff to previous 1.23 (colored) next main 1.24 (colored)
sync with head
Revision 1.23.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:33 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.23: +15 -3
lines
Diff to previous 1.23 (colored) next main 1.24 (colored)
merge to -current.
Revision 1.26 / (download) - annotate - [select for diffs], Sat Feb 11 23:16:17 2012 UTC (3 months, 1 week ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
HEAD
Changes since 1.25: +3 -3
lines
Diff to previous 1.25 (colored)
Add a posix_spawn syscall, as discussed on tech-kern. Based on the summer of code project by Charles Zhang, heavily reworked later by me - all bugs are likely mine. Ok: core, releng.
Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 25 14:04:09 2012 UTC (4 months ago) by christos
Branch: MAIN
Changes since 1.24: +4 -4
lines
Diff to previous 1.24 (colored)
Add locking, requested by yamt. Note that locking is not used everywhere for these.
Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 25 00:28:36 2012 UTC (4 months ago) by christos
Branch: MAIN
Changes since 1.23: +14 -2
lines
Diff to previous 1.23 (colored)
As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE
on EPIPE for all file descriptor types:
- provide O_NOSIGPIPE for open,kqueue1,pipe2,dup3,fcntl(F_{G,S}ETFL) [NetBSD]
- provide SOCK_NOSIGPIPE for socket,socketpair [NetBSD]
- provide SO_NOSIGPIPE for {g,s}seckopt [NetBSD/FreeBSD/MacOSX]
- provide F_{G,S}ETNOSIGPIPE for fcntl [MacOSX]
Revision 1.23 / (download) - annotate - [select for diffs], Mon Oct 31 21:31:29 2011 UTC (6 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.22: +6 -3
lines
Diff to previous 1.22 (colored)
PR/45545 Yui NARUSE: pipe2's return value is wrong
Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 26 16:42:42 2011 UTC (11 months ago) by christos
Branch: MAIN
Changes since 1.21: +62 -23
lines
Diff to previous 1.21 (colored)
* Arrange for interfaces that create new file descriptors to be able to
set close-on-exec on creation (http://udrepper.livejournal.com/20407.html).
- Add F_DUPFD_CLOEXEC to fcntl(2).
- Add MSG_CMSG_CLOEXEC to recvmsg(2) for unix file descriptor passing.
- Add dup3(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
- Add pipe2(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
- Add flags SOCK_CLOEXEC, SOCK_NONBLOCK to the socket type parameter
for socket(2) and socketpair(2).
- Add new paccept(2) syscall that takes an additional sigset_t to alter
the sigmask temporarily and a flags argument to set SOCK_CLOEXEC,
SOCK_NONBLOCK.
- Add new mode character 'e' to fopen(3) and popen(3) to open pipes
and file descriptors for close on exec.
- Add new kqueue1(2) syscall with a new flags argument to open the
kqueue file descriptor with O_CLOEXEC, O_NONBLOCK.
* Fix the system calls that take socklen_t arguments to actually do so.
* Don't include userland header files (signal.h) from system header files
(rump_syscallargs.h).
* Bump libc version for the new syscalls.
Revision 1.20.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:20 2011 UTC (11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.20: +3 -3
lines
Diff to previous 1.20 (colored) next main 1.21 (colored)
Catchup with rmind-uvmplock merge.
Revision 1.21 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:56 2011 UTC (11 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.20: +3 -3
lines
Diff to previous 1.20 (colored)
Welcome to 5.99.53! Merge rmind-uvmplock branch: - Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock. - Simplify locking in some pmap(9) modules by removing P->V locking. - Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs). - Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns. - Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues. Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:36 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.19: +5 -11
lines
Diff to previous 1.19 (colored) next main 1.20 (colored)
Sync with HEAD.
Revision 1.17.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:09 2011 UTC (13 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.17.4.2: +3 -9
lines
Diff to previous 1.17.4.2 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)
sync with head
Revision 1.20 / (download) - annotate - [select for diffs], Sun Apr 10 15:45:33 2011 UTC (13 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.19: +5 -11
lines
Diff to previous 1.19 (colored)
- Add O_CLOEXEC to open(2)
- Add fd_set_exclose() to encapsulate uses of FIO{,N}CLEX, O_CLOEXEC, F{G,S}ETFD
- Add a pipe1() function to allow passing flags to the fd's that pipe(2)
opens to ease implementation of linux pipe2(2)
- Factor out fp handling code from open(2) and fhopen(2)
Revision 1.17.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:21 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.17.4.1: +21 -8
lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored)
sync with head
Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 18 01:18:48 2010 UTC (17 months, 1 week ago) by rmind
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.18: +19 -7
lines
Diff to previous 1.18 (colored)
do_posix_fadvise: fix and improve previous change - add a comment with some rationale and handle few range overflows. Per report/discussion with yamt@.
Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:43 2010 UTC (18 months, 2 weeks ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.17: +6 -5
lines
Diff to previous 1.17 (colored) next main 1.18 (colored)
Sync with HEAD.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 27 02:58:04 2010 UTC (18 months, 4 weeks ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base4
Changes since 1.17: +6 -5
lines
Diff to previous 1.17 (colored)
do_posix_fadvise: check for a negative length; truncate the offset and round the end-offset, not vice-versa. Thanks to jakllsch@ for debug info.
Revision 1.17.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:09 2010 UTC (2 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
Change struct uvm_object::vmobjlock to be dynamically allocated with mutex_obj_alloc(). It allows us to share the locks among UVM objects.
Revision 1.2.2.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:19 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.2.3: +11 -7
lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)
sync with head
Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 28 18:24:44 2009 UTC (2 years, 6 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211,
jym-xensuspend-nbase
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.16: +11 -7
lines
Diff to previous 1.16 (colored)
Make flock(2) more robust to invalid operation, such as (LOCK_EX|LOCK_SH).
Revision 1.10.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:35 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.10.2.1: +39 -7
lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)
Sync with HEAD.
Revision 1.2.2.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:31 2009 UTC (2 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.2.2: +39 -7
lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)
sync with head
Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 10 23:48:10 2009 UTC (2 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Changes since 1.15: +28 -4
lines
Diff to previous 1.15 (colored)
do_posix_fadvise: - deactivate pages on POSIX_FADV_DONTNEED. - more sanity checks. fix a panic in genfs_getpages introduced by the previous (rev.1.15).
Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 10 01:56:34 2009 UTC (2 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.14: +10 -2
lines
Diff to previous 1.14 (colored)
do_posix_fadvise: on POSIX_FADV_WILLNEED, start prefeching of object's pages.
Revision 1.14 / (download) - annotate - [select for diffs], Sun May 31 22:15:13 2009 UTC (2 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.13: +5 -5
lines
Diff to previous 1.13 (colored)
do_posix_fadvise: turn some KASSERTs into CTASSERTs.
Revision 1.13 / (download) - annotate - [select for diffs], Sun May 24 21:41:26 2009 UTC (3 years ago) by ad
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
More changes to improve kern_descrip.c. - Avoid atomics in more places. - Remove the per-descriptor mutex, and just use filedesc_t::fd_lock. It was only being used to synchronize close, and in any case we needed to take fd_lock to free the descriptor slot. - Optimize certain paths for the <NDFDFILE case. - Sprinkle more comments and assertions. - Cache more stuff in filedesc_t. - Fix numerous minor bugs spotted along the way. - Restructure how the open files array is maintained, for clarity and so that we can eliminate the membar_consumer() call in fd_getfile(). This is mostly syntactic sugar; the main functional change is that fd_nfiles now lives alongside the open file array. Some measurements with libmicro: - simple file syscalls are like close() are between 1 to 10% faster. - some nice improvements, e.g. poll(1000) which is ~50% faster.
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:57 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.10: +6 -4
lines
Diff to previous 1.10 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:48 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.2.1: +24 -18
lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)
sync with head.
Revision 1.7.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:00 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.7.2.2: +6 -4
lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
Sync with HEAD.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 28 21:42:19 2009 UTC (3 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored)
sys_fcntl: use FD_CLOEXEC, instead of magic number '1'.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 4 18:11:24 2009 UTC (3 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.10: +5 -3
lines
Diff to previous 1.10 (colored)
Fix the posix_fadvise return value... finally. Tested martin on sparc64/m68k and me on hppa.
Revision 1.7.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:56 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.7.2.1: +3 -3
lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)
Sync with HEAD.
Revision 1.7.4.1 / (download) - annotate - [select for diffs], Mon Feb 2 02:53:51 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b
Changes since 1.7: +8 -3
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
Pull up following revision(s) (requested by ad in ticket #341): sys/kern/sys_descrip.c: revision 1.8 Prevent a potential deadlock from a multithreaded process doing: t1 dup2(0, 1) t2 dup2(1, 0)
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 22 14:38:35 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored)
malloc -> kmem_alloc
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:39 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.7: +9 -4
lines
Diff to previous 1.7 (colored)
Sync with HEAD.
Revision 1.1.6.7 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.6.6: +7 -2
lines
Diff to previous 1.1.6.6 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Sync with HEAD.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:52 2009 UTC (3 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.8: +3 -3
lines
Diff to previous 1.8 (colored)
merge christos-time_t
Revision 1.1.4.3 / (download) - annotate - [select for diffs], Sat Dec 27 23:14:24 2008 UTC (3 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.1.4.2: +8 -3
lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
merge with head.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 21 10:25:00 2008 UTC (3 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: christos-time_t-nbase,
christos-time_t-base
Changes since 1.7: +8 -3
lines
Diff to previous 1.7 (colored)
Prevent a potential deadlock from a multithreaded process doing: t1 dup2(0, 1) t2 dup2(1, 0)
Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Nov 1 21:22:27 2008 UTC (3 years, 6 months ago) by christos
Branch: christos-time_t
Changes since 1.1.4.1: +16 -24
lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)
Sync with head.
Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:28 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.5: +4 -4
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
Sync with HEAD.
Revision 1.1.6.6 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:53 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.6.5: +2 -2
lines
Diff to previous 1.1.6.5 (colored) to branchpoint 1.1 (colored)
Sync with HEAD.
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:57 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.3.2.1: +3 -3
lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
Revision 1.3.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:43 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.3: +11 -12
lines
Diff to previous 1.3 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 15 18:12:56 2008 UTC (3 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
netbsd-5-base,
netbsd-5-0-RC1,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
Replace intptr_t with uintptr_t in few more places. OK by <matt>.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 31 20:55:55 2008 UTC (3 years, 8 months ago) by njoly
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
Make dup(2) return the correct error value, not 0.
Revision 1.3.4.2 / (download) - annotate - [select for diffs], Thu Jul 3 18:38:12 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.3.4.1: +7 -7
lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Sync with head.
Revision 1.1.6.5 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:20 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.6.4: +5 -5
lines
Diff to previous 1.1.6.4 (colored) to branchpoint 1.1 (colored)
Sync with HEAD.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 2 16:45:20 2008 UTC (3 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.4: +7 -7
lines
Diff to previous 1.4 (colored)
Change {ff,fd}_exclose and ff_allocated to bool. Change exclose arg to
fd_dup to bool. Switch assignments from 1/0 to true/false.
This make alpha kernels compile. Bump kern to 4.99.69 since structure
changed.
Revision 1.1.6.4 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:14 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.6.3: +3 -4
lines
Diff to previous 1.1.6.3 (colored) to branchpoint 1.1 (colored)
Sync with HEAD.
Revision 1.3.4.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:39 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.3: +5 -6
lines
Diff to previous 1.3 (colored)
Sync with head.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 23 11:26:53 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.3: +5 -6
lines
Diff to previous 1.3 (colored)
sys_fcntl: use l_fd, not p_fd.
Revision 1.1.6.3 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:11 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.6.2: +4 -11
lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored)
Sync with HEAD.
Revision 1.1.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:10 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.1: +6 -13
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
sync with head.
Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:27 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2: +2 -9
lines
Diff to previous 1.2 (colored)
sync with head.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:04 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl
Changes since 1.2: +2 -9
lines
Diff to previous 1.2 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:24 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.1: +6 -6
lines
Diff to previous 1.1 (colored)
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since we no longer need to guard against access from hardware interrupt handlers. Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the child process share the parent's lock so that signal state may be kept in sync. Partially addresses PR kern/37437.
Revision 1.1.6.2 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:04 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.6.1: +682 -0
lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)
Sync with HEAD.
Revision 1.1.4.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:47:01 2008 UTC (4 years, 1 month ago) by christos
Branch: christos-time_t
Changes since 1.1: +3 -3
lines
Diff to previous 1.1 (colored)
Welcome to the time_t=long long dev_t=uint64_t branch.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:02 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.2.1: +682 -0
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
sync with head.
Revision 1.1.6.1, Fri Mar 21 21:53:35 2008 UTC (4 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1: +0 -682
lines
FILE REMOVED
file sys_descrip.c was added on branch mjf-devfs2 on 2008-04-03 12:43:04 +0000
Revision 1.1.2.1, Fri Mar 21 21:53:35 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1: +0 -682
lines
FILE REMOVED
file sys_descrip.c was added on branch yamt-lazymbuf on 2008-03-24 09:39:02 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 21 21:53:35 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-lazymbuf,
mjf-devfs2,
christos-time_t
File descriptor changes, discussed on tech-kern: - Redo reference counting to be sane. LWPs accessing files take a short term reference on the local file descriptor. This is the most common case. While a file is in a process descriptor table, a reference is held to the file. The file reference count only changes during control operations like open() or close(). Code that comes at files from an unusual direction (i.e. foreign to the process) like procfs or sysctl takes a reference on the file (f_count), and not on a descriptor. - Remove knowledge of reference counting and locking from most code that deals with files. - Make the usual case of file descriptor lookup lockless. - Make kqueue MP and MT safe. PR kern/38098, PR kern/38137. - Fix numerous file handling bugs, and bugs in the descriptor code that affected multithreaded processes. - Split descriptor system calls out into sys_descrip.c. - A few stylistic changes: KNF, remove unused casts now that caddr_t is gone. Replace dumb gotos with loop control in a few places. - Don't do redundant pointer passing (struct proc, lwp, filedesc *) unless the routine is likely to be inlined. Most of the time it's about the current process.