Commit Graph

201578 Commits

Author SHA1 Message Date
sjg 43c87c739c ApplyModifiers: if we parse a variable in the modifier list,
do not consider it a nested modifier set, unless it is followed by
endc, a ':' or end of string.
2011-06-03 21:10:42 +00:00
dyoung 272b9fa3d1 Don't sleep until memory becomes available.
Use kmem_zalloc() instead of kmem_alloc() + bzero().

During initialization, try to get all of the memory we need for the
vestigial time-wait structures before we set any of the structures up,
and if any single allocation fails, release all of the memory.

This should help low-memory hosts.  A much better fix postpones
allocating any memory until vtw is enabled through the sysctl.
2011-06-03 20:01:00 +00:00
spz 8f42c2dddc Import bind 9.7.3-P1 2011-06-03 19:45:13 +00:00
jruoho 5ad6ddef1f Add locking to account improbable but possible race between the notify
handler and sysmon_envsys(9)'s refresh routine.
2011-06-03 18:50:36 +00:00
rmind 3b0ab829be Sync (mostly, not fully) uvm_km(9) and uvm_map(9) man pages with reality. 2011-06-03 18:43:38 +00:00
jruoho 308501aab6 Remove unnecessary (due SME_DISABLE_REFRESH) locking. 2011-06-03 18:40:41 +00:00
rmind 3df4c27d37 Revert maxdmap/maxsmap constification, as it causes problems on some
sparc models.  Reported by tsutsui@.
2011-06-03 17:58:18 +00:00
dyoung 42fedb3481 Defer scheduling vtw_tick() and setting the vtw hooks until
vtw_control() is called.  In this way, vtw_tick() will be re-scheduled
repeatedly while vtw is in use.

Pay tcp_vtw_was_enabled no attention in vtw_earlyinit(), since it's
always going to be 0 during initialization.
2011-06-03 17:11:34 +00:00
tsutsui 7eb0284e74 - remove simple_lock(9) and use atomic_ops(3) to account pmap reference count,
perrequest from rmind@
- while here no need to export struct pmap on sun2/sun3/sun3x

No particular problem for a week on hp300 and sun3x kernels with disabled
tcp_vtw which has been broken for a month on low memory machines.
2011-06-03 17:03:52 +00:00
pgoyette 5647caf8d0 Keep printf() happy - cast the max name length to type int 2011-06-03 16:35:35 +00:00
tsutsui c22ffc3803 Split device_t/softc of i82586. No crash on TME emulating sun2. 2011-06-03 16:28:40 +00:00
nonaka 66224643cd fix output format for long module name. 2011-06-03 15:34:46 +00:00
plunky 82bbedc657 INCLUDEDIR and LIBEXECDIR only need to be defined for the
pcc front end
2011-06-03 13:31:25 +00:00
cegger 462a6f12c8 fix crash by NULL pointer dereferencing I get everytime
right after this message:

bge0: discarding oversize frame (len=-4)
2011-06-03 09:51:40 +00:00
jruoho 224e9f9368 Flush CPU caches before entering S1, as noted in the specifications. 2011-06-03 09:15:02 +00:00
plunky f56267db07 sterilise the environment before running configure 2011-06-03 08:56:39 +00:00
wiz d5982f0fd8 Sort errors. 2011-06-03 08:07:48 +00:00
wiz 203a6ec972 Sort SEE ALSO. 2011-06-03 08:06:54 +00:00
matt d5f8a855d3 -CFATTACH_DECL(foo, sizeof(struct device),
+CFATTACH_DECL_NEW(foo, 0,
2011-06-03 07:39:30 +00:00
matt a8c167fabd device_t, cfdata_t, device_private, device_xname cleanup
CFATTACH_DECL_NEW for struct device only devices
bump SYMTAB_SPACE for EB7500ATX
2011-06-03 07:35:37 +00:00
matt 96e8eba4fc Missed needed use of device_private 2011-06-03 07:21:32 +00:00
matt 3ea787b27c CFATTACH_DECL -> CFATTACH_DECL_NEW for 'struct device' devices.
change to device_t, cfdata_t.  Use device_private()
2011-06-03 07:08:48 +00:00
jruoho 0df0be27b8 Add some fundamental checks for memset(3). Prompted by a recent nasty
bug in the Google Android libc.
2011-06-03 06:39:52 +00:00
jruoho 7a7aafd699 Note STANDARDS and use more markup. 2011-06-03 05:50:07 +00:00
jruoho c16aba3d13 Test also setdomainname(3). 2011-06-03 05:42:09 +00:00
yamt ea2d998dd1 correct the section number of membar_producer. noted by wiz@ 2011-06-03 04:33:31 +00:00
christos 0fa0719a9a forgot _NEW again. 2011-06-03 03:21:12 +00:00
christos 817999e9d9 CFATTACH_DECL_NEW 2011-06-03 03:20:39 +00:00
christos 88655ce235 CFATTACH_DECL_NEW 2011-06-03 03:05:21 +00:00
christos 0cdde954ce forgot _NEW 2011-06-03 03:02:36 +00:00
christos a9190d7f6d forgot the _NEW part 2011-06-03 03:02:12 +00:00
christos 40babd3eb8 CFATTACH_DECL_NEW 2011-06-03 03:01:23 +00:00
christos ae8fd9fd91 CFATTACH_DECL_NEW 2011-06-03 02:48:33 +00:00
christos d27a3b5952 more CFATTACH_DECL_NEW fixes 2011-06-03 02:33:27 +00:00
matt 0d242d5fa3 CFATTACH_DECL_NEW, device_t, cfdata_t 2011-06-03 00:52:22 +00:00
matt dbaed33ad8 Covert to CFATTACH_DECL_NEW, device_t, cfdata_t 2011-06-03 00:16:27 +00:00
cherry d4d24841ac Add note about cherry-xenmp branch 2011-06-02 22:15:22 +00:00
dsl 2ab3977571 Fix type in comment
(before I replace the 'l' with 'curlwp')
2011-06-02 18:54:43 +00:00
dsl 53bfd680f2 Add C stubs to allow prints early in the boot code. 2011-06-02 18:53:00 +00:00
dsl 27a83e750f Put all the 'CFLAGS+= -Dxxx' together. 2011-06-02 18:48:55 +00:00
dsl ba7daa4cde Replace the trapframe fields for segment registers with two uint16_t
fields - one of which is an explicit pad.
2011-06-02 18:46:51 +00:00
haad b08f594364 Fix simple typo which made stripe target not working very at all. Issue
found by mhitch@.
2011-06-02 17:49:40 +00:00
phx ed377eee5f Add PPCBoot version from DS-207 and CS-407e. 2011-06-02 16:41:32 +00:00
tsutsui ff2f721f5c Split device_t/softc of all ad1848 variants properly. Compile test only.
Please check all attribute users in all files.* on device_t/softc split.

XXX: not sure if gus(4) needs device_t in ad1848_isa_softc
2011-06-02 14:12:24 +00:00
nonaka 26a17089a0 fix compile failure. 2011-06-02 12:51:52 +00:00
jruoho 577c48bd00 Cleanup. 2011-06-02 12:42:27 +00:00
jruoho 2fc2edcdfd Few naive tests for sethostname(3). 2011-06-02 12:15:33 +00:00
jruoho b14fc1879c A simple test for mincore(2). 2011-06-02 10:48:55 +00:00
jruoho 0901655f4f Use .Ss and -offset indent. 2011-06-02 09:02:39 +00:00
jruoho b4ab399621 Note USE_FORT. 2011-06-02 08:58:34 +00:00