rumble
80993719d2
Before bailing on ENOENT, try one more time with an appended ".o". This
...
lets us load dependencies by module name and makes 'modload foo' work when
'foo.o' is the file.
2008-01-17 22:32:49 +00:00
rumble
3d82d54236
MODCTL_LOAD and MODCTL_FORCELOAD generally pass a path (if a module name
...
is passed, it's fixed up in kobj_subr.c), so permit MAXPATHLEN arguments.
The other commands deal strictly with module names, so leave them be.
While we're here, copyinstr()'s length parameter includes NUL-termination,
so no need to subtract 1.
2008-01-17 22:30:54 +00:00
pooka
fd1f386de1
fix incorrect tick -> timespec calculation. noticed by reinoud
2008-01-17 21:05:36 +00:00
joerg
0d7c94dad4
Add a stub file that includes a bunch of kernel headers and always get
...
compiled with -g. For the initial set, netbsd on amd64 grows by around
80KB. This allows much easier use of GDB for post-mortem debugging as
it can understand the layout of data structures. The additional data can
be strip(1)ped off normally for size constraint environments.
2008-01-17 20:14:49 +00:00
ad
95e0feb94e
vrevoke: fix a couple of botches.
2008-01-17 19:23:13 +00:00
pooka
661097a9a5
Remove bogus KASSERT: we can't make any assumptions about a dirent's
...
node in unmount since it might have been freed already.
fixes PR kern/37667. per discussion with ad & simonb.
2008-01-17 18:22:52 +00:00
pooka
c142350bc6
Fix fakecc case.
...
Noticed by Pavel Jirout on current-users
2008-01-17 17:43:14 +00:00
ad
cd7be76fdb
Add a dummy vrevoke().
2008-01-17 17:31:48 +00:00
ad
4eb2a42ae6
Fix v_freelisthd assertion failure during call to vdevdone(). No calling
...
VOPs without a vnode reference!
2008-01-17 17:28:54 +00:00
jklos
740cd1ea87
More Chelsio 10 gigabit driver files to complete the ones checked in
...
yesterday.
2008-01-17 15:54:35 +00:00
njoly
d321737f6a
Add new linux_uid16.c file needed for m68k.
2008-01-17 15:10:53 +00:00
ad
f5990f1bbb
breakpoint: set up a stackframe so gdb doesn't get lost.
2008-01-17 15:01:05 +00:00
yamt
0116b931c2
sync with kernel. (make some mbuf related statistics per-cpu.)
2008-01-17 14:53:18 +00:00
yamt
44dac61d31
make some mbuf related statistics per-cpu.
2008-01-17 14:49:28 +00:00
yamt
cc868dad6c
pmap_sync_pv, pmap_map_pte: use PTE_BASE if possible.
2008-01-17 13:26:20 +00:00
ad
231d556f22
- Ignore clean vnodes in vflush(). May fix false EBUSY when unmounting.
...
- Use vrelel() where v_usecount might become 0. Could fix "vnode sez".
- Add some assertions, fix a lock leak.
2008-01-17 13:06:04 +00:00
ad
42c90ece4c
Fix dodgy tests of v_usecount.
2008-01-17 10:39:14 +00:00
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