Commit Graph

162669 Commits

Author SHA1 Message Date
pooka
a3e1355fe5 Use new puffs features to provide correct caller info instead of
sometimes returning stale data.
2007-10-21 14:36:35 +00:00
pooka
be98071c8c Always provide caller information from the kernel based on curlwp.
(but don't deprecate the old puffs_cid interface just yet)
2007-10-21 14:28:05 +00:00
pooka
cc72c593dd typo in comment 2007-10-21 14:26:15 +00:00
briggs
83967b2fba Use AAC_PREALLOCATE_FIBS with the softc as a parameter to catch up with
revision 1.10 of aacvar.h.
2007-10-21 12:59:33 +00:00
wiz
9aad9251b5 openssl-0.9.8f out. 2007-10-21 11:06:27 +00:00
yamt
46b951d6aa remove lwp argument from nfs_reconnect and always use &lwp0
because who triggers a reconnect doesn't really matter here.  PR/37145.
2007-10-21 08:23:19 +00:00
pooka
8543b6baeb Add option -r to specify maximum number of active read requests
for each node.  Setting this to a small number can be used to
improve interactive performance on low-bandwidth links when performing
bulk data reads.  Of course I could also open separate pipes for
bulk and other, but this was quicker and less intrusive and doesn't
require authenticating twice.
2007-10-20 19:14:27 +00:00
minskim
fdb3f2ed81 The man page for rcs2log(1) is not installed when MKCVS=no. 2007-10-20 15:47:27 +00:00
briggs
1687b85a45 Preallocate all of our FIBs. This needs more work, but currently avoids
a case where we could need more FIBs and try to allocate them inside an
interrupt handler, which is sub-par--a problem pointed out ages ago by ad@.
2007-10-20 01:46:30 +00:00
briggs
644890e99d If we're printing totals, don't do all the work of allocating and
copying down the vnodes.
2007-10-20 01:38:45 +00:00
xtraeme
eccf5885ea performance fix: in the workqueue handler only refresh the sensor once,
not multiple times for the same sensor and clear its state after all
events were processed.
2007-10-20 00:12:35 +00:00
pavel
99f7676452 The control registers (notably CR3 and CR4) are 64-bit on amd64 (see
"AMD64 Architecture Programmer's Manual"). Declare the variables
holding them as vaddr_t, otherwise the upper bits are lost.

(CR0 is actually 64-bit too, but the upper bits are unused, so I am
not changing it now.)

Should fix the reboot caused by X11. From Arto Huusko in
PR port-amd64/37043.
2007-10-19 21:34:56 +00:00
bjs
acac55ab19 First round of DRM improvements: switch to mutex(9), make use of &
operator consistent in locking macros, use mb(9) for memory barrier ops
(to be replaced with bus_space_barrier(9) at a later date; this is not
necessary for x86 but might be for e.g. mips).


More to come.  Try it out!  It's a lot more stable now just with the
mutex(9) changes.
2007-10-19 20:53:47 +00:00
christos
8de47c09e3 - do some CSE.
- pass lint
2007-10-19 19:28:57 +00:00
njoly
a478f23b9e Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.
2007-10-19 18:52:09 +00:00
christos
3e94d8f384 Handle 2 digit years, from Anon Ymous 2007-10-19 15:59:55 +00:00
christos
e2347743fc kill _NETBSD_TOOLS. 2007-10-19 15:58:52 +00:00
christos
93c52e3c71 I am now convinced of the error of my ways, and I am checking for all the
decls mtree is using.
2007-10-19 15:56:53 +00:00
pooka
cf6e3aa4f9 When doing a read operation, don't copy the whole kernel buffer to
userspace, since it doesn't contain any information yet.  I should
still rework this more so this is just a quickie to get the read/write
style interface more up to speed with the ioctl version.
2007-10-19 14:38:45 +00:00
jmmv
4f0f9d66ad Mark old versions of libpthread_dbg as obsolete so that they get cleaned
during an update build.  (Hi ad@!)
2007-10-19 13:16:51 +00:00
njoly
a4213fb81e Add httpd.debug 2007-10-19 13:11:23 +00:00
pooka
95419baf2f comment polish 2007-10-19 13:04:06 +00:00
pavel
eb133809df Remove /usr/share/sendmail and subdirectories under it from the obsolete
list. I already removed the files under /usr/share/sendmail from the
obsolete list in src/distrib/sets/lists/misc/mi rev. 1.145, but forgot
about the directories. This avoids "postinstall check obsolete" failing
needlessly.
2007-10-19 12:32:32 +00:00
ad
a2a3828545 machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
ad
1ba4d2957a Add a dummy bus.h that pulls in machine/bus.h. In the future we may
want to put MI defs here.
2007-10-19 11:49:22 +00:00
ad
45fa3176c7 Merge from vmlocking: add CPU_INFO_ITERATOR. 2007-10-19 11:41:27 +00:00
dogcow
96d14f0973 If you're going to use device_t, may as well include sys/device.h; unb0rks
the build for sparc{,64}.
2007-10-19 08:57:50 +00:00
dogcow
4f2396661b It's always nice to prototype functions before using them. 2007-10-19 08:50:07 +00:00
nisimura
b6b2432db3 - fix an error when retriving two 16bit halves of 29bit stat value.
- port3 counters are found exist and in fact working as 0x102/0x105.
2007-10-19 07:25:02 +00:00
nisimura
c1578f1153 fix an editorial error. 2007-10-19 05:11:07 +00:00
nisimura
6c83afd245 change the description reflecting recent driver modifications. 2007-10-19 04:57:48 +00:00
nisimura
1de52faec2 - add multicast Rx hash table feature.
- distinguish 8842 from 8841. 8842 now keeps media selection "auto"
and indicates "up 100baseTX-FDX flow" when either of two ports has
a valid link.  There is no provision to see and control the two this
moment and their media selections remain in "auto" all the time. This
arrangement is considered acceptable since 8842's external ports are
connected with the internal EMAC via managed 3 port Ethernet switch.
- 8841 behaves a plain stanadrd 10/100 EMAC with standard media
selection feature.
- gather MIB statistics counter values with evcnt(8) framework.
- increase Tx/Rx DMA DMA burst transfer size from 16 to 32.
2007-10-19 04:41:30 +00:00
manu
57c0ea0775 Add SPLITNET_{INCLUDR_LOCAL}_CIDR to hook scripts 2007-10-19 03:37:18 +00:00
dogcow
cf74c1eb07 obsolete csh.a, bring in csh.ap. (hi, thor!) 2007-10-19 03:00:33 +00:00
joerg
649a2156ea Convert to device_t/softc split. Use aprint API. 2007-10-18 23:54:54 +00:00
ad
e4b5ba4d6d vmlocking: update status. 2007-10-18 23:50:10 +00:00
minskim
11b36d4969 Remove the MKUUCP entry as uucp is no longer in src. 2007-10-18 22:39:02 +00:00
macallan
a741bccaba cleanup, various fixes and TAS3001 / Tumbler support
from Marco Trillo in PR37076
2007-10-18 22:03:09 +00:00
garbled
5c6f84b03f Fix some minor issues in ofppc to make it complete ofwoea_initppc() and
sync up with 1.6 of ofwboot.
2007-10-18 21:12:54 +00:00
joerg
6c51962b6c Calling device_private once is enough. Reported by macallan@ 2007-10-18 21:08:18 +00:00
garbled
30dc55f8a8 Bump version 2007-10-18 19:59:32 +00:00
garbled
9898e70302 Update the bootloader to work with the ofwoea_initppc code used by macppc 2007-10-18 19:58:54 +00:00
skrll
016efc036d Remove get_psw/set_psw - they're not needed and can cause problems. 2007-10-18 18:55:10 +00:00
joerg
d238692c3e Initialise the callbacks for tty.t_rstrt_ch in ttymalloc
as all drivers but Sun/SPARC's kd.c use the same arguments.
Separate callout_reset into callout_schedule and the initial
callout_setfunc using that.
2007-10-18 18:54:56 +00:00
ad
bc89ba23ac Make the dir indexes less ugly (horizontal rules were out of place). 2007-10-18 18:53:59 +00:00
tls
54aef6aada Rename "csh.a" (the appendix of the document) to csh.ap: the .a suffix
is a bit of a nuisance when using cvs import and export and, of course,
clashes with .a for library archive as well.
2007-10-18 18:26:31 +00:00
joerg
e4a56b252c Use aprint API for output and convert to device_t/softc separation. 2007-10-18 18:09:52 +00:00
he
a9cf29f812 A build for sun2 reveals that we also need -lcrypt, as auth-bozo.c
otherwise gets an unsatisfied reference to crypt().
2007-10-18 17:43:02 +00:00
hannken
df70316e3f Ffs_blkfree() and ffs_freefile() take a devvp that may be a regular file whencalled from snapshot creation. Be sure to use the right mount.
Ok: Andrew Doran <ad@netbsd.org>
2007-10-18 17:39:04 +00:00
pooka
b372e0c23c Fix wrong argument order which just happened to work by luck. 2007-10-18 17:07:30 +00:00