1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys
Bill Paul a1788fb41e Small timer cleanups:
- Use the dh_inserted member of the dispatch header in the Windows
  timer structure to indicate that the timer has been "inserted into
  the timer queue" (i.e. armed via timeout()). Use this as the value
  to return to the caller in KeCancelTimer(). Previously, I was using
  callout_pending(), but you can't use that with timeout()/untimeout()
  without creating a potential race condition.

- Make ntoskrnl_init_timer() just a wrapper around ntoskrnl_init_timer_ex()
  (reduces some code duplication).

- Drop Giant when entering if_ndis.c:ndis_tick() and
  subr_ntorkrnl.c:ntoskrnl_timercall(). At the moment, I'm forced to
  use system callwheel via timeout()/untimeout() to handle timers rather
  than the callout API (struct callout is too big to fit inside the
  Windows struct KTIMER, so I'm kind of hosed). Unfortunately, all
  the callouts in the callwhere are not marked as MPSAFE, so when
  one of them fires, it implicitly acquires Giant before invoking the
  callback routine (and releases it when it returns). I don't need to
  hold Giant, but there's no way to stop the callout code from acquiring
  it as long as I'm using timeout()/untimeout(), so for now we cheat
  by just dropping Giant right away (and re-acquiring it right before
  the routine returns so keep the callout code happy). At some point,
  I will need to solve this better, but for now this should be a suitable
  workaround.
2004-04-30 20:51:55 +00:00
..
alpha MFamd64: implement the PG_UNMANAGED flag on vm_pages. 2004-04-26 17:49:05 +00:00
amd64 Hide FLT_EVAL_METHOD and DECIMAL_DIG in pre-C99 compilation 2004-04-25 02:36:29 +00:00
arm Remove advertising clause from University of California Regent's license, 2004-04-05 21:29:41 +00:00
boot Convert block comments into C-style that is understood by cpp(1). 2004-04-29 18:58:38 +00:00
cam The opt_da.h file doesn't exist anymore since the DA_OLD_QUIRKS option 2004-04-19 13:38:10 +00:00
coda
compat Small timer cleanups: 2004-04-30 20:51:55 +00:00
conf Remove the sio EBus attachment, which never worked with an unpatched 2004-04-30 17:25:47 +00:00
contrib Remove warnings from vendor files. This takes some files off the vendor 2004-04-14 18:12:29 +00:00
crypto
ddb Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
dev Small timer cleanups: 2004-04-30 20:51:55 +00:00
fs Do not drop Giant around the poll method yet, we're not ready for it. 2004-04-12 21:52:52 +00:00
geom Kernel bits of GEOM Gate. 2004-04-30 16:08:12 +00:00
gnu Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
i4b
i386 - The i8254 uses IRQ 0, not IRQ 8. Correct i8254_intsrc to reference the 2004-04-27 20:03:26 +00:00
ia64 Hide FLT_EVAL_METHOD and DECIMAL_DIG in pre-C99 compilation 2004-04-25 02:36:29 +00:00
isa - The i8254 uses IRQ 0, not IRQ 8. Correct i8254_intsrc to reference the 2004-04-27 20:03:26 +00:00
isofs/cd9660 Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
kern Checkpoint commit for an alternative WIP kernel module loader that isn't 2004-04-30 16:32:40 +00:00
libkern Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
modules Remove the source file for the sio(4) EBus attachment here, too. 2004-04-30 18:28:26 +00:00
net Give jail(8) the feature to allow raw sockets from within a 2004-04-26 19:46:52 +00:00
net80211 Resolve the issue of whether frames have FCS or not. Frame data does not 2004-04-05 22:13:21 +00:00
netatalk This commit does two things: 2004-04-25 09:24:52 +00:00
netatm
netgraph Fix a memory leak in ng_get_string_token. A dynamically-allocated 2004-04-29 01:37:11 +00:00
netinet Give jail(8) the feature to allow raw sockets from within a 2004-04-26 19:46:52 +00:00
netinet6 fix the change of interface in nd6_storelladdr for multicast 2004-04-26 20:31:46 +00:00
netipsec Fix a debugging printf snafu. 2004-04-20 14:53:35 +00:00
netipx
netkey
netnatm
netncp
netsmb
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
nfsclient Let the NFS client notice a file's size changing as a modification. 2004-04-14 23:23:55 +00:00
nfsserver Don't send the available space as is in the FSSTAT call. Under 2004-04-12 13:02:21 +00:00
opencrypto
pc98 Add the commented out rue(4) entry. 2004-04-29 08:33:26 +00:00
pccard
pci Push down the responsibility for zeroing a physical page from the 2004-04-24 20:53:55 +00:00
posix4
powerpc Hide FLT_EVAL_METHOD and DECIMAL_DIG in pre-C99 compilation 2004-04-25 02:36:29 +00:00
rpc Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
security
sparc64 Some cleanups to the nexus code: 2004-04-30 19:50:51 +00:00
sys Keep track of threads waiting in kse_release() to avoid a race 2004-04-28 20:36:53 +00:00
tools Correct $FreeBSD$ style. 2004-04-16 05:22:11 +00:00
ufs Revert previous change to this file because it breaks some 2004-04-29 15:10:42 +00:00
vm Zero the physical page only if it is invalid and not prezeroed. 2004-04-25 07:58:59 +00:00
Makefile