Commit Graph

165917 Commits

Author SHA1 Message Date
ad
6d827ae10e Correct previous. 2008-01-17 10:28:24 +00:00
ad
1e584185b2 Correct test of v_usecount. 2008-01-17 10:27:43 +00:00
ad
33b917a83d smbfs_reclaim: fix a broken assertion. 2008-01-17 10:25:01 +00:00
ad
abb6491738 mfs_close: remove a broken assertion. 2008-01-17 10:24:05 +00:00
yamt
c692b68517 pmap_sync_pv:
- fix "need_shootdown" in the case of retry.
	- add some comments.
2008-01-17 10:19:50 +00:00
yamt
a134cc30b5 pmap_clear_attrs: remove a redundant assignment 2008-01-17 10:17:07 +00:00
yamt
2c871b8070 - add a cpu_info pointer argument to percpu_callback_t.
- unexport percpu_zero.
- add some comments.
2008-01-17 09:01:57 +00:00
yamt
6f81e85c11 - reduce the number of atomic ops in some cases.
- reduce code duplications.
- fix the "pte == 0" assersion failure in pmap_tlb_shootdown.
2008-01-17 08:49:52 +00:00
jklos
0123f42896 10 gigabit Chelsio cards now compile and work, although not very well yet. 2008-01-17 06:03:21 +00:00
lukem
14c9fc8ffa Remove unnecessary references to config_time.h. 2008-01-17 01:56:02 +00:00
lukem
8b267ec022 Use BUILDSYMLINKS from <bsd.files.mk> instead of custom copy rules
for config_time.h and athhal_options.h.

Note: we still copy param.c because I'm told that we should still support
people editing that on a per-compile basis.
2008-01-17 01:13:01 +00:00
christos
3e0495561a try to use programs from base (from anon ymous) sudo -> su 2008-01-17 00:37:46 +00:00
lukem
114e456e17 Ensure kdc starts after syslogd and ntpdate. 2008-01-16 23:58:26 +00:00
lukem
e26888b7e9 Only pull in <sys/cdefs.h> on NetBSD, to fix build on Solaris 10.
Tweak replacement definition of __dead.
2008-01-16 23:23:25 +00:00
pooka
9f5abca72f Comment out the puffs_executor hacks for now, they have races.
The issue should be solved in another fashion anyway.
2008-01-16 23:17:43 +00:00
pooka
614c59fcb2 Cache a number of execution contexts instead of re-initializing
them every time.  Speeds up pure in-memory file systems such as
sysctlfs or dtfs quite a bit.  For actual I/O-workhorses the result
is of course less tasty.
2008-01-16 21:29:59 +00:00
seanb
56143d3b3c - Set progname before dereference. 2008-01-16 19:18:06 +00:00
chuck
50278d718a fix clock accounting problem in i8254_get_timecount that caused
the auich auich_calibrate() function to get the wrong ac97 freq
(may cause audio to play at wrong speed on some systems).  this
error was inadvertently introduced in rev 1.98 of the old
src/sys/arch/i386/isa/clock.c (2006/09/03) and manifests itself
on systems that do not use an alternate timecounter (e.g. ACPI-Fast).

the basic problem is that the code that handled when the i8254
counter wrapped was firing in cases when it shouldn't have,
causing the counter to run fast.   a more detailed discussion
can be found here:
  http://mail-index.netbsd.org/tech-kern/2008/01/15/0001.html
  http://mail-index.netbsd.org/tech-kern/2008/01/16/0000.html
2008-01-16 18:38:24 +00:00
ad
48546d78ad Always set up lkm_map. 2008-01-16 18:30:22 +00:00
ad
1ada21e131 Add a cast for kauth_authorize_system.. 2008-01-16 18:29:18 +00:00
ad
a2134a7a24 - Include lkm_map if !LKM. XXX
- Add a comment about dependencies.
2008-01-16 18:28:32 +00:00
ad
2b407cc921 Don't pull in sys/vnode.h 2008-01-16 16:00:42 +00:00
ad
5080b2dad0 Pull in my modules code for review/test/hacking. 2008-01-16 13:22:29 +00:00
jmcneill
f4e9b2430e Don't assume that sizeof(long) == sizeof(int); makes bktr work on amd64. 2008-01-16 13:08:54 +00:00
ad
3cc206f1df Regen. 2008-01-16 12:35:37 +00:00
ad
bbc79e58a6 Pull in my modules code for review/test/hacking. 2008-01-16 12:34:50 +00:00
is
257a88e757 Move from workqueue to an explicit kthread for setting the multicast
filter, as suggested by cube@. Actual code review by cube@.
This way, a backport of the fix to netbsd-4 is possible.
2008-01-16 12:33:54 +00:00
hubertf
76e0b9a57a Code cleanup:
- Removed case '?' before default in switch
 - Don't forget to close opened decriptors when malloc() fails
 - Hold vfork() result in variable with pid_t type (instead of int)

Sent ages ago by Slava Semushin <php-coder@altlinux.ru> in private mail.
2008-01-16 11:43:34 +00:00
ad
a068899f90 vmlocking2 was merged. 2008-01-16 10:26:14 +00:00
ad
bf01c1fd6b union_putpages: fix a locking botch. 2008-01-16 10:10:18 +00:00
xtraeme
2f5c51ed31 Bump date now that MATH_EMULATE has been removed. 2008-01-16 09:57:41 +00:00
ad
dfe83e08ca Remove options MATH_EMULATE. 2008-01-16 09:37:04 +00:00
tls
2a6850b9a9 Fix PR37377 from Devon O'Dell: num_menus can be referenced without being
emitted if dynamic menus are not enabled.
2008-01-16 09:21:33 +00:00
skrll
5255986037 Zero dumppcb before doing a snapshot directly into dumppcb.
OK'd by martin.
2008-01-16 08:00:29 +00:00
dogcow
5058ecbe4e cargo-cult copy cpu_offline_md; fixes compile on i386/x86_64 2008-01-16 02:08:49 +00:00
pooka
3a433fe13b Use PROT_NONE page to protect bottom of stack from overrun 2008-01-16 00:29:42 +00:00
joerg
6bb3711bf4 Convert to generic TODR.
XXX Is this file used at all?
2008-01-15 23:15:59 +00:00
njoly
f5183fca22 Regen. 2008-01-15 22:40:14 +00:00
njoly
5cec0f492f compat linux (and linux32) uid16 functions cleanup and fixes.
- Move uid16 functions to their own file linux_uid16.c, included by
  needed archs (arm, i386 and m68k).
- Add new MI types linux_{u,g}id16_t.
- Add macros to handle linux_uid16_t and uid_t conversions.
- Add linux_sys_getres{uid,gid}16 syscalls, to fix an overflow with
  bad sizes given to copyout when linux_sys_getres{uid,gid} are used.
- Update arm syscall table to use more uid16 functions.
2008-01-15 22:38:34 +00:00
dyoung
609d13b264 Create tags for mca, too. 2008-01-15 22:26:02 +00:00
dyoung
7b2bde237b Change software interrupts initialization, and add an #include, to
help ADM5120 support compile in -current again.
2008-01-15 22:22:37 +00:00
drochner
c8ecc0ca60 vga_post_init(): allow the memory mapped to the emulator VM to be
physically non-contiguous, and do some cosmetics
approved by joerg
2008-01-15 22:15:13 +00:00
yamt
c9192ec6fc update comments 2008-01-15 22:08:33 +00:00
christos
9d6619f2e6 Remove ricoh hack; FreeBSD does not seem to do it, and it was a remnant from
the branch. Things should work properly now.
2008-01-15 21:55:24 +00:00
christos
20f21ddc4a fix locking botch; vunmark() needs the mountvnode lock, and the loop invariant
is to exit with the mountvnode lock held.
2008-01-15 21:30:46 +00:00
macallan
142b38d84e work around yet another PGX32/Raptor firmware bug
from Peter Bex
2008-01-15 21:02:27 +00:00
christos
e451ddaaa8 - Make the msdos and non-msdos cpp handling use the same variable $RPCGEN_CPP
instead of one using $CPP and the other using $RPCGENCPP, following suit with
  RDIST_RSH, CVS_RSH, etc. and document it.
- make the msdos environment variable take precedence over path search.
2008-01-15 20:04:48 +00:00
bouyer
3fcec0e820 Allocate one more L2 slot in xen_pmap_bootstrap() for i386.
pmap_bootstrap()/init386() wants to map a few additionnal things after
first_avail that we didn't account for, before pmap_growkernel() is
used/functionnal, and if the loaded kernel is close to the end of
the last L2 slot we loose. Should fix port-xen/37761 by YAMAMOTO Takashi.

Fix a XENPRINTF() so that low debug builds again.
2008-01-15 19:55:53 +00:00
jmcneill
379c0e1a15 Workaround potential crash in acpidump, from Yorick Hardy. 2008-01-15 19:08:00 +00:00
ad
af6be237a6 Use vp->v_rdev. 2008-01-15 18:51:43 +00:00