Commit Graph

161019 Commits

Author SHA1 Message Date
tron 956bb0b58f Remove entries for import of Postfix 2.3.5 and 2.4.1. Both have been
pulled up into the "netbsd-4" branch.
2007-08-05 14:27:08 +00:00
ad f81cdc19cf cpu_index doesn't need to be a cpuid_t, since it's a cardinal 2007-08-05 13:57:25 +00:00
jmmv f5d7807725 Add the __COPYRIGHT and __RCSID tags. 2007-08-05 13:52:44 +00:00
ad 5b2aca96b9 Current convention is to name/number objects after ci->ci_cpuid, so do
that when creating the kthreads. We may want to change this.
2007-08-05 13:47:25 +00:00
jmmv 348921e110 Move 'options FONT_VT220L8x16' to a common place for all kernels so that
the user needn't remember to add this option to get a font that is almost
identical (but fixed!) to the built-in one.
2007-08-05 13:37:31 +00:00
yamt 5621cabda9 add cpuctl.debug. 2007-08-05 12:46:02 +00:00
ad 17be89c2d5 - trace_enter/trace_exit/ktrace don't need kernel_lock.
- Use a RISC-style copyin optimised for pulling system call arguments.
  In tests I have done on Intel hardware this removes any measurable
  advantage to passing the syscall arguments in registers.
2007-08-05 10:56:52 +00:00
ad ebb5b4b828 Don't rely on the ci_self150 hack. 2007-08-05 10:51:03 +00:00
ad 9d841d6e31 - Remove crud.
- Don't use the ci_self150 hack.
2007-08-05 10:50:26 +00:00
tron c00e7b9809 Remove entry for recent mpt(4) changes because they have been pulled up. 2007-08-05 10:29:05 +00:00
pooka 4d42eff4e1 In uao_get(), drop object lock only after dropswap to avoid KASSERT panic.
Should fix tmpfs problem reported by riz on current-users.  yamt ok.
2007-08-05 10:19:23 +00:00
ad 2818ab2bd1 - Align assembly routines on 32-byte boundaries.
- Don't bother doing anything special for CPUVAR() when !MULTIPROCESSOR.
2007-08-05 09:56:48 +00:00
yamt 1f0f803e45 use kpause rather than lbolt. 2007-08-05 09:40:39 +00:00
dsieger 8438931b2b From Zafer Aydogan: Fix a typo: s/distination/destination/ 2007-08-05 09:31:24 +00:00
macallan 0591adcde1 fix another typo, now wsfb on ofb should work properly 2007-08-05 04:36:18 +00:00
macallan 84b4b152a9 fix typo - fbsize is /height/ * stride. Doh. 2007-08-05 03:23:02 +00:00
rmind c8c024369c Improve per-CPU support for the workqueue(9):
- Make structures CPU-cache friendly, as suggested and explained
   by Andrew Doran.  CACHE_LINE_SIZE definition is invented.
 - Use current CPU if NULL is passed to the workqueue_enqueue().
 - Implemented MI CPU index, which could be used as an index of array.
   Removed linked-lists usage for work queues.

The roundup2() function avoids division, but works only with power of 2.

Reviewed by: <ad>, <yamt>, <tech-kern>
2007-08-05 01:19:17 +00:00
rmind f6bcdcfe0c Forgot to mention import of TCP socket buffers autosizing.. 2007-08-05 00:21:58 +00:00
jnemeth 1c35d39ad7 PR/36732 - Jim Bernard -- delete /usr/libexec/uucp/uucico from list of shells 2007-08-05 00:10:37 +00:00
macallan 42284ad7c0 add shadow fb support
now genfb is actually usable even on slow PCI framebuffers. Yay Jared :)
2007-08-04 23:51:37 +00:00
ad 7fef85939a Note libpthread changes. 2007-08-04 23:30:05 +00:00
tron 2a7b5e659f Fix some KNF glitches pointed out by Garrett D'Amore. 2007-08-04 22:01:06 +00:00
tsutsui 72e8fd4495 Make clockintr() return 1 since it's always handled so that
clock interrupt is properly acounted by evcnt(9) in isa_irq.S.
2007-08-04 20:14:21 +00:00
kristerw d0d36b6101 Update includes so that this builds for USE_FORT=no too. 2007-08-04 19:37:52 +00:00
ad 7bf06aa722 Make libpthread_dbg build again. 2007-08-04 18:54:12 +00:00
degroote bc4183bb27 Call wpi_stop at the beginning of wpi_init so we are sure that wpi is really
stopped (in particular interrupt are disabled).
2007-08-04 18:24:24 +00:00
tsutsui 79f82cdd0a Fix a typo in a debug printf message. 2007-08-04 16:31:21 +00:00
reed 3a6e61c6ab Remove "that" from a long calendar entry that wrapped over two lines.
While there remove a "that" from another entry too.
2007-08-04 15:14:05 +00:00
ad 15c28fd2d8 Update. 2007-08-04 13:46:04 +00:00
ad a014cf23cb Fix error in previous. 2007-08-04 13:43:46 +00:00
ad 50fa8db4e4 Some significant performance improvements, and a fix for a race with pthread
detach/join.

- Make mutex acquire spin for a short time, as done with spinlocks.
- Make the number of spins controllable with the env var PTHREAD_NSPINS.
- Reduce the amount of time that libpthread internal spinlocks are held.
- Rely more on the barrier effects of park/unpark to avoid taking spinlocks.
- Simplify the locking around pthreads and the global queues.
- Align per-thread sync data on a 128 byte boundary.
- Offset thread stacks by a small amount to try and reduce cache thrash.
2007-08-04 13:37:48 +00:00
tsutsui b108f67c05 TAB/space cleanup. 2007-08-04 13:00:45 +00:00
tsutsui fe3cdffb4a Add ci_cpuid where it's missing. 2007-08-04 12:53:31 +00:00
jnemeth cd27c0d793 PR/36370 - Lloyd Parkes -- pckbd.fr_CA-iso8859-1 does not have share tag 2007-08-04 12:41:59 +00:00
ad c3085c5fd6 A quick hack to get things building again. Don't refer to curlwp
if !MULTIPROCESSOR.
2007-08-04 11:57:54 +00:00
ad 51d21a15b2 Note cpuctl(8). 2007-08-04 11:40:58 +00:00
ad 18af8ee9bd Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
2007-08-04 11:02:56 +00:00
ad e4f6da7b0c Mark the SysV semaphore syscalls MP safe. 2007-08-04 10:52:57 +00:00
pooka ba8a93da5b typographical fixes
from Matthew Wala in misc/36729
2007-08-04 10:45:36 +00:00
tsutsui eada7d811d ATI's ehci also requires EHCIF_DROPPED_INTR_WORKAROUND. From FreeBSD. 2007-08-04 10:36:06 +00:00
ad 9c6535a6de Add ci_cpuid where it's missing. 2007-08-04 09:49:51 +00:00
pooka 38ed0b2878 Use VSIZENOTSET only in KASSERTs 2007-08-04 09:42:58 +00:00
kiyohara 760e3329d0 Add support agp_amd64. Imported from FreeBSD. 2007-08-04 09:34:43 +00:00
kiyohara 9dc3d091e4 Regen. 2007-08-04 09:34:07 +00:00
kiyohara e42d8a086d Add support agp_amd64. Imported from FreeBSD. 2007-08-04 09:33:05 +00:00
jdc a39089a88a Add KEY_RESIZE.
Fix use after free().
2007-08-04 08:36:49 +00:00
dyoung d3086ce90d Reduce differences between sgimips/Makefile and evbmips/Makefile,
making the sgimips/Makefile 'tags' target work.
2007-08-04 05:32:39 +00:00
rumble fbb550b94d Be sure not to make requests over MAXPHYS when employing bounce buffers.
It was previously possible to round up one sector length if the start block
were not properly aligned.

Resolves PR kern/36716. This may also fix the following reported issues
on port-sgimips:
    http://mail-index.netbsd.org/port-sgimips/2005/09/12/0000.html
    http://mail-index.netbsd.org/port-sgimips/2005/09/14/0000.html

While here, be sure to put back allocated bufs, which previously appear
to have been leaked. Further, remove the dead write bounce code which never
got executed anyway.

No complaints on tech-kern.
2007-08-04 02:58:59 +00:00
jmcneill 55686c831c Note the creation of the jmcneill-pm branch. 2007-08-03 22:20:48 +00:00
wiz 96a93618fa It is probably better to use build.c in SRCS instead of build.o. 2007-08-03 21:50:27 +00:00