Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
* vm/vm_resident.c (vm_page_external_count): Define variable.
(vm_page_grab): New argument `external'. All callers changed.
Keep track of number of externally managed pages. Don't let
non-privileged threads exceed the externally-managed page limit.
(vm_page_grab_contiguous_pages): New argument `external'. All
callers changed. Keep track of number of externally managed
pages. Don't let non-privileged threads exceed the
externally-managed page limit.
(vm_page_convert): New argument `external'. All callers changed.
(vm_page_release): New argument `external'. All callers
changed. Keep track of number of externally managed pages.
(vm_page_bootstrap): Initialize M->external.
* vm/vm_page.h (vm_page_external_limit, vm_page_external_count):
New variables.
(struct vm_page): New members `external' and `extcounted'.
* vm/vm_pageout.c (vm_pageout): Initialize vm_page_external_limit
and vm_page_external_target.
(VM_PAGE_EXTERNAL_LIMIT, VM_PAGE_EXTERNAL_TARGET): New macro.
(vm_pageout_external_target): New variable.
(vm_pageout_scan): Regard "too many externally managed pages" as a
reason to keep doing work, but if that's the only reason we're
doing work, then the only thing we do is schedule cleaning of
pages. Help keep track of the number of externally managed pages
that we care about.
* vm/vm_pageout.c (VM_PAGEOUT_BURST_WAIT): Reduce to 10ms/page.
(VM_PAGEOUT_EMPTY_WAIT): Reduce to 75 ms.
(VM_PAGE_FREE_RESERVED): Increase to 50 pages.
(VM_PAGEOUT_RESERVED_INTERNAL): Adjust to `(reserve) - 25'.
(VM_PAGEOUT_RESERVED_REALLY): Adjust to `(reserve) - 40'.
|
|
* vm/vm_resident.c (vm_page_external_count): Define variable.
(vm_page_grab): New argument `external'. All callers changed.
Keep track of number of externally managed pages. Don't let
non-privileged threads exceed the externally-managed page limit.
(vm_page_grab_contiguous_pages): New argument `external'. All
callers changed. Keep track of number of externally managed
pages. Don't let non-privileged threads exceed the
externally-managed page limit.
(vm_page_convert): New argument `external'. All callers changed.
(vm_page_release): New argument `external'. All callers
changed. Keep track of number of externally managed pages.
(vm_page_bootstrap): Initialize M->external.
* vm/vm_page.h (vm_page_external_limit, vm_page_external_count):
New variables.
(struct vm_page): New members `external' and `extcounted'.
* vm/vm_pageout.c (vm_pageout): Initialize vm_page_external_limit
and vm_page_external_target.
(VM_PAGE_EXTERNAL_LIMIT, VM_PAGE_EXTERNAL_TARGET): New macro.
(vm_pageout_external_target): New variable.
(vm_pageout_scan): Regard "too many externally managed pages" as a
reason to keep doing work, but if that's the only reason we're
doing work, then the only thing we do is schedule cleaning of
pages. Help keep track of the number of externally managed pages
that we care about.
|
|
|
|
|
|
|
|
|
|
* i386/Files: Don't mention i386/pc/Makerules,
i386/include/Makerules, or i386/util/Makerules.
|
|
|
|
* Makefile.in (all-real-archs): Delete variable.
(dist): No longer make `machine' symlink.
|
|
* Makefile.in (dist): Sanify file permissions before building tar
file.
|
|
* linux/Files: New file.
* linux/Subdirs: New file.
* Makefile.in (all-archs): Add `linux'.
(all-real-archs): New variable.
(dist): Create `machine' symlink only on
$(all-real-archs).
|
|
* i386/Subdirs: Remove i386/i386at/boot.
Sun Jun 20 18:33:59 1999 Thomas Bushnell, BSG <tb@mit.edu>
* i386/Files: Regenerated.
* i386/Subdirs: Regenerated.
|
|
* version.c (version): Updated to version 1.2.
* i386/Files: Regenerated.
* i386/Subdirs: Regenerated.
* linux/Files: New file.
* linux/Subdirs: New file.
* Makefile.in (all-archs): Add `linux'.
(all-real-archs): New variable.
(dist): Create `machine' symlink only on
$(all-real-archs).
* Makefile.in (dist): Use `cp' instead of `ln'.
* config.guess: Updated from autoconf 2.13.
* config.sub: Likewise.
|
|
* linux/dev/drivers/net/Space.c (ethif_probe): Probe tc59x_probe
(CONFIG_VORTEX) after el3_probe (CONFIG_EL3), because the latter
card matches the former probe, but the driver doesn't work with
it. Reported by Marcus Brinkmann <brinkmd@debian.org>.
|
|
* ipc/ipc_init.c (ipc_bootstrap): Don't make the IOT_PORT zone
exhaustible, because allocation of ports for internal objects
panics if zalloc fails.
|
|
* Drivers.macros (AC_DRIVER): Only turn on driver if $enableval is
not `no'. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
|
|
|
|
* linux/dev/drivers/block/genhd.c [MACH] (mach_minor): New variable.
(add_bsd_partition): New function.
(bsd_disklabel_partition) [MACH]: Call add_bsd_partition.
(msdos_partition) [MACH]: Set mach_minor to MINOR before
calling bsd_disklabel_partition.
* linux/dev/drivers/block/ide.c (do_request) [MACH]: Fix "bad access"
message.
|
|
* linux/dev/drivers/block/genhd.c [MACH] (mach_minor): New variable.
(add_bsd_partition): New function.
(bsd_disklabel_partition) [MACH]: Call add_bsd_partition.
(msdos_partition) [MACH]: Set mach_minor to MINOR before
calling bsd_disklabel_partition.
|
|
|
|
* kern/bootstrap.c (build_args_and_stack): If kernel_cmdline is
nonempty, give the bootstrap task an environment variable of
"MULTIBOOT_CMDLINE=kernel command line" on its stack.
|
|
|
|
* kern/startup.c (start_kernel_threads): Call record_time_stamp to
reset the kernel task's creation_time field, so it's not zero.
|
|
|
|
* i386/i386/fpu.c (fp_free): Clear task switch flag before calling
fwait.
(fpu_get_state): Only save FPU state info if the live FPU state
belongs to our target, i.e. if THREAD is the current thread.
(fp_load): Print warning if we try to load an invalid FPU state,
and reset the FPU to some sane state instead.
|
|
|
|
* kern/task.c (task_info): Allow count for TASK_BASIC_INFO to be less
two words, not just one. The new member creation_time is two words.
|
|
|
|
* linux/configure: Regenerated.
|
|
|
|
* linux/configure.in: Fix names dummy -> dummy.in in AC_OUTPUT call.
|
|
|
|
* i386/linux/Drivers.in (linux_DRIVER): New macro, does AC_DRIVER and
defines alias for Linux module name. Use that for all single-module
Linux drivers, so we don't forget to define any of the aliases for the
Linux module names.
* i386/linux/configure: Regenerated.
|
|
* linux/dev/drivers/block/genhd.c (bsd_disklabel_partition) [MACH]:
Print BSD slices, using Mach device syntax instead of Linux extented
partition syntax.
|
|
|
|
|
|
* linux/dev/glue/block.c (device_get_status): Always set
status_count to DEV_GET_STATUS_COUNT if flavor is DEV_GET_SIZE.
|
|
|
|
* i386/linux/Drivers.in: Don't create asm-${systype} symlinks here.
* linux/configure.in: New file. Create them here instead.
* linux/dummy.in: New file, used by configure.
* linux/configure: New file (generated by autoconf).
* configure.in: Configure in linux subdir.
* configure: Regenerated.
* aclocal.m4 (hurd_SYSTYPE): New macro.
* i386/linux/Drivers.in: Use it.
* i386/linux/configure: Regenerated.
|
|
* i386/linux/Drivers.in: Don't create asm-${systype} symlinks here.
* linux/configure.in: New file. Create them here instead.
* linux/dummy.in: New file, used by configure.
* linux/configure: New file (generated by autoconf).
* configure.in: Configure in linux subdir.
* configure: Regenerated.
|
|
* aclocal.m4 (hurd_SYSTYPE): New macro.
* i386/linux/Drivers.in: Use it.
* i386/linux/configure: Regenerated.
|
|
* i386/configure.in: Require only autoconf 2.12, not 2.13.
* i386/configure: Regenerated.
|
|
* linux/src/drivers/net/3c59x.c: Upgrade to Linux 2.2.1 version.
(vortex_start_xmit): Don't frob VP->stat.tx_bytes.
(boomerang_start_xmit): Likewise.
(vortex_rx): Don't frob VP->stats.rx_bytes.
(boomerang_rx): Likewise.
Requested by Jeff Bailey (jbailey@nisa.net).
|
|
|
|
* Makefile.in (objfiles): Don't add $(systype)/sysdep.o here.
($(systype)/sysdep.o): Delete rule.
(clean, distclean, mostlyclean, maintainerclean, install-headers,
install-kernel): Don't do recursive make here.
* i386/Makefrag (objfiles): Add i386/sysdep.o to the list.
(i386/sysdep.o): New rule.
(clean): Depend on i386-clean.
(distclean): Depend on i386-distclean.
(mostlyclean): Depend on i386-mostlyclean.
(maintainerclean): Depend on i386-maintainerclean.
(install-headers): Depend on i386-install-headers.
(install-kernel): Depend on i386-install-kernel.
(i386-clean, i386-distclean, i386-mostlyclean,
i386-maintainerclean, i386-install-kernel, i386-install-headers):
New rules.
|
|
Clean up linux emulation code to make it architecture-independent
as much as possible.
* linux: Renamed from linuxdev.
* Makefile.in (objfiles): Add linux.o instead of linuxdev.o.
(MAKE): New variable. Used for the linux.o target.
* configure.in: Add AC_CHECK_TOOL(MAKE, make).
* i386/i386/spl.h: Include <i386/ipl.h>, for compatibility with
OSF Mach 3.0. Suggested by Elgin Lee <ehl@funghi.com>.
* linux/src: Renamed from linux/linux.
* linux/dev: Renamed from linux/mach.
* linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h,
instead of mach/include/linux/autoconf.h.
* Makefile.in (all): Target ../linux.o instead of ../linuxdev.o.
* linux/dev/drivers/block/genhd.c: Include <machine/spl.h> instead
of <i386/ipl.h>.
* linux/dev/drivers/net/auto_irq.c: Remove unneeded header files,
<i386/ipl.h> and <i386/pic.h>.
* linux/dev/init/main.c: Many i386-dependent codes moved to ...
* linux/dev/arch/i386/irq.c: ... here.
* linux/dev/arch/i386/setup.c: New file.
* linux/dev/arch/i386/linux_emul.h: Likewise.
* linux/dev/arch/i386/glue/timer.c: Merged into sched.c.
* linux/dev/arch/i386/glue/sched.c: Include <machine/spl.h> instead
of <i386/ipl.h>, and moved to ...
* linux/dev/kernel/sched.c: ... here.
* linux/dev/arch/i386/glue/block.c: Include <machine/spl.h> and
<linux_emul.h>, instead of i386-dependent header files, and
moved to ...
* linux/dev/glue/blocl.c: ... here.
* linux/dev/arch/i386/glue/net.c: Include <machine/spl.h> and
<linux_emul.h>, instead of i386-dependent header files, and
moved to ...
* linux/dev/glue/net.c: ... here.
* linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ...
* linux/dev/glue/misc.c: ... here.
* linux/dev/arch/i386/glue/kmem.c: Moved to ...
* linux/dev/glue/kmem.c: ... here.
|
|
* i386/i386at/i386at_ds_routines.c: Include
<i386/linux/device-drivers.h> instead of <linux/device-drivers.h>.
* device/ds_routines.c [LINUX_DEV]: Likewise.
* i386/linux/Makefile.in (linux-gen-flags): Fix an extra slash.
(distclean): Remove asm links.
* linux/src/COPYING: Copied from linux-2.0.36.
1998-11-30 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
Clean up linux emulation code to make it architecture-independent
as much as possible.
* linux: Renamed from linuxdev.
* Makefile.in (objfiles): Add linux.o instead of linuxdev.o.
(MAKE): New variable. Used for the linux.o target.
* configure.in: Add AC_CHECK_TOOL(MAKE, make).
* i386/i386/spl.h: Include <i386/ipl.h>, for compatibility with
OSF Mach 3.0. Suggested by Elgin Lee <ehl@funghi.com>.
* linux/src: Renamed from linux/linux.
* linux/dev: Renamed from linux/mach.
* linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h,
instead of mach/include/linux/autoconf.h.
* Makefile.in (all): Target ../linux.o instead of ../linuxdev.o.
* linux/dev/drivers/block/genhd.c: Include <machine/spl.h> instead
of <i386/ipl.h>.
* linux/dev/drivers/net/auto_irq.c: Remove unneeded header files,
<i386/ipl.h> and <i386/pic.h>.
* linux/dev/init/main.c: Many i386-dependent codes moved to ...
* linux/dev/arch/i386/irq.c: ... here.
* linux/dev/arch/i386/setup.c: New file.
* linux/dev/arch/i386/linux_emul.h: Likewise.
* linux/dev/arch/i386/glue/timer.c: Merged into sched.c.
* linux/dev/arch/i386/glue/sched.c: Include <machine/spl.h> instead
of <i386/ipl.h>, and moved to ...
* linux/dev/kernel/sched.c: ... here.
* linux/dev/arch/i386/glue/block.c: Include <machine/spl.h> and
<linux_emul.h>, instead of i386-dependent header files, and
moved to ...
* linux/dev/glue/blocl.c: ... here.
* linux/dev/arch/i386/glue/net.c: Include <machine/spl.h> and
<linux_emul.h>, instead of i386-dependent header files, and
moved to ...
* linux/dev/glue/net.c: ... here.
* linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ...
* linux/dev/glue/misc.c: ... here.
* linux/dev/arch/i386/glue/kmem.c: Moved to ...
* linux/dev/glue/kmem.c: ... here.
|