Commit Graph

165891 Commits

Author SHA1 Message Date
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
ad
b2b4fb0d7d pmap_do_tlb_shootdown: simplify queue management. 2008-01-15 18:48:51 +00:00
ad
da388edb64 Make it compile. 2008-01-15 18:46:23 +00:00
rmind
855e8f35f6 sched_slept: Revert inclusion of PRI_HIGHEST_TS into the range.
Reported by <drochner>.
2008-01-15 18:41:37 +00:00
ad
02098ba8d6 Use vp->v_rdev, don't look at the union. 2008-01-15 18:11:25 +00:00
njoly
88ba2df42e Add schedctl.debug 2008-01-15 16:33:48 +00:00
rmind
78e6c5f3f6 Remove PRI_DEFAULT, which was left previously..
Note: nice(1) is only for historical purposes, schedctl(8) should be used.
2008-01-15 16:14:19 +00:00
ad
d7ea82e9f0 Fix i486 support which has been broken for the last 9 months. 2008-01-15 16:11:29 +00:00
joerg
0c3d816871 Introduce optional cpu_offline_md to execute MD actions at the end of
cpu_offline. Use this on amd64/i386 to force a FPU save. As this was
triggered by npxsave_cpu/fpusave_cpu not working for a different CPU,
remove the cpu_info argument and adjust npxsave_*/fpusave_* to use bool
for the save.

OK ad@
2008-01-15 14:50:07 +00:00
ad
73e694f404 Don't use the block device to read crashdumps, if possible. 2008-01-15 14:26:41 +00:00
chs
416c26d3b8 enable the code to compute the HPT size from totalphysmem
(instead of always using just 1 page).
this gives a hefty performance boost.
2008-01-15 14:25:21 +00:00
ad
eba222df68 ... and make kvm_dump_inval() work on the raw device. 2008-01-15 14:16:30 +00:00
ad
a7a2d171df Handle reading from raw disk devices. 2008-01-15 13:57:41 +00:00
joerg
622b391c8f Revert last and explicitly cast to paddr_t instead to fix the warning. 2008-01-15 13:57:32 +00:00
hubertf
5e527e9f98 Create /cdrom and add an entry to fstab
Discussed & OK'd in October 2007 on tech-install
2008-01-15 12:09:24 +00:00
yamt
62982e0e06 pmap_unmap_ptp: save some hypercalls for xen. 2008-01-15 12:00:01 +00:00
yamt
1788a8e60c - use cpu-local temporary mapping for P->V operations and kill pmap_main_lock.
fixes a part of PR/37193 from Andrew Doran.
- use pmap_stats_update_bypte in some more places.

some comments and fixes from Andrew Doran and Manuel Bouyer.
2008-01-15 11:12:03 +00:00
martin
8409a2d11e Rename cpuset_t for now to sparc64_cpuset_t, to avoid a name clash with
<sys/pset.h>. Mid-term we should probably convert to the MI cpuset_t.
2008-01-15 10:35:33 +00:00
skrll
916073a231 Store a sensbile PCB_PC value in snapshot - the return point.
This helps gdb somewhat.

OK'd by martin.
2008-01-15 10:04:39 +00:00
martin
1ae6b7fd19 #ifdef COMPAT_20 the ioctls only available conditionally. Patch from
Geoff Wing.
2008-01-15 09:25:26 +00:00
martin
ba6b42e583 avoid warning on a too large constant 2008-01-15 09:14:43 +00:00
yamt
183f0fa9f2 sys__pset_bind: don't leave pset busy. 2008-01-15 09:11:29 +00:00
rmind
f5c269bd3e - Estimate cache-hotness in all states, except LSIDL;
- Include PRI_HIGHEST_TS value into the increasion range,
  it was missed previously by mistake;
- More KASSERTs to handle invalid priorities of threads;
- Remove PRI_DEFAULT;
- Misc;
2008-01-15 04:16:27 +00:00
rmind
15b5efefb3 Regen syscalls. 2008-01-15 03:44:57 +00:00
rmind
5c71a4d49f Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
2008-01-15 03:37:10 +00:00
jmcneill
cdd511a2fb For WSDISPLAY_GINFO, depth should be sc->bits_per_pixel, not
sc->color_depth. While we're here, implement WSDISPLAYIO_LINEBYTES.
2008-01-15 02:00:49 +00:00
drochner
69ac8d9d9e fix some PCI config space offsets to be 32-bit aligned, the code
did already do the right bit shifting
2008-01-15 00:27:58 +00:00