Age | Commit message (Collapse) | Author |
|
* pager.c (MAX_FREE_PAGE_BUFS): Remove obsolete macro.
(FREE_PAGE_BUFS): New macro.
(free_page_bufs_lock): Make this global variable local to
get_page_buf.
(free_page_bufs): Likewise.
(num_free_page_bufs): Likewise.
(get_page_buf): Reimplement using a new caching algorithm
based on preallocation of COW zero pages.
(free_page_buf): Likewise.
(find_block): Documentation fixes.
|
|
|
|
* MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%.
|
|
* tmpfs.c (parse_opt): Grok % suffix on number to mean percentage
of the machine's RAM.
|
|
|
|
* MAKEDEV.sh (mkdev: shm): Give the file mode 644 and pass
options to tmpfs: -m 1777 512M.
|
|
* tmpfs.c (options): New static const variable. Add --mode/-m.
(struct option_values): New type.
(parse_opt): Use that for VALUES. Grok -m to set VALUES->mode.
Grok ARGP_KEY_FINI and free our data structure.
(tmpfs_root_mode): New variable, set by -m.
(main): If -m was given, use that instead of underlying node's
permissions.
|
|
|
|
* MAKEDEV.sh (mkdev: shm): New, uses /hurd/tmpfs filesystem.
(mkdev: std): Add shm to the standard list.
|
|
|
|
* tmpfs.c (main): Don't release REALNODE.
|
|
|
|
* node.c: Include "default_pager_U.h", not <mach/default_pager.h>.
(diskfs_truncate): Return early if page-rounded size is unchanged.
Call default_pager_object_set_size on the memory object.
(diskfs_grow): Likewise.
|
|
* Makefile (OBJS): Add default_pagerUser.o here.
|
|
* setup.c (default_pager_paging_storage): Fail if receiver port is not
default_pager_default_port.
|
|
* Makefile (OBJS): Add default_pager_replyUser.o here.
* main.c (default_pager_bootstrap_port): Declaration removed.
(main): Don't use it.
* Makefile (OBJS): Remove bootstrapServer.o from here.
|
|
Excised default pager functionality from serverboot.
* Makefile (SRCS): Move def_pager_setup.c default_pager.c kalloc.c to
(EXTRA_DIST): ... here.
(OBJS): Remove *Server.o from here.
(MIGSFLAGS): Variable removed.
* bootstrap.c (main): Replace paging-file boot-script functions with a
stub that prints an error. No longer call partition_init,
default_pager_initialize, or default_pager.
(default_pager_bootstrap_port): Variable removed.
(main): Don't use it.
(default_pager_exception_port): Declaration removed.
(main): Don't use it.
* default_pager.c (default_pager_bootstrap_port): Variable removed.
(default_pager_demux_default): Don't use it.
(default_pager_initialize): Likewise.
(default_pager): Likewise.
(do_bootstrap_privileged_ports, bootstrap_compat): Functions removed.
[mips] (set_ras_address): Likewise.
* default_pager.c (pager_truncate): New function.
(struct dpager): New member `limit'.
(pager_alloc): Initialize it.
(default_pager_object_set_size): New function.
(seqnos_memory_object_lock_completed): Rewritten, no longer a stub.
(default_pager_demux_object): Try default_pager_server too.
|
|
Excised default pager functionality from serverboot.
* Makefile (SRCS): Move def_pager_setup.c default_pager.c kalloc.c to
(EXTRA_DIST): ... here.
(OBJS): Remove *Server.o from here.
(MIGSFLAGS): Variable removed.
* bootstrap.c (main): Replace paging-file boot-script functions with a
stub that prints an error. No longer call partition_init,
default_pager_initialize, or default_pager.
(default_pager_bootstrap_port): Variable removed.
(main): Don't use it.
(default_pager_exception_port): Declaration removed.
(main): Don't use it.
* default_pager.c (default_pager_bootstrap_port): Variable removed.
(default_pager_demux_default): Don't use it.
(default_pager_initialize): Likewise.
(default_pager): Likewise.
(do_bootstrap_privileged_ports, bootstrap_compat): Functions removed.
[mips] (set_ras_address): Likewise.
|
|
* default_pager.defs (default_pager_object_set_size): New RPC.
* default_pager_reply.defs: New file.
|
|
|
|
* main.c (default_pager_bootstrap_port): Declaration removed.
(main): Don't use it.
|
|
|
|
* Makeconf ($(libname).so.$(hurd-version)): Reorder link arguments so
that .map files come after the -( ... -) group.
|
|
|
|
* mutations.h (TIOCTL_IMPORTS): New macro.
* priv.h: Protect from multiple inclusion.
|
|
|
|
* vga.c (vga_init): io_perm -> ioperm.
(vga_deinit): Likewise.
|
|
|
|
* dynafont.c: Include <string.h>.
* focus.c: Likewise.
* vga.c: Likewise.
* vga-display.c: Likewise.
|
|
* main.c: Include <error.h>.
(main): Use `error' instead of perror + exit.
(console_mode, console_owner, console_group): Use *_t, not int.
|
|
* console/mutations.h (TIOCTL_IMPORTS): New macro.
* priv.h: Protect from multiple inclusion.
|
|
* vga.c (vga_init): io_perm -> ioperm.
* dynafont.c: Include <string.h>.
* focus.c: Likewise.
* vga.c: Likewise.
* vga-display.c: Likewise.
|
|
|
|
* tioctl.defs [TIOCTL_IMPORTS]: Use this macro if defined.
|
|
|
|
|
|
* configure.in: Remove the checks for libparted.
Instead, check just for a static -lstore_part library and do
that only if no --enable-boot-store-types option was given.
* configure.in (boot_store_types): Add remap to the default list.
|
|
* Makefile (OBJS): Remove hack for part.o.
(parted.o parted_p.o parted_pic.o): Targets removed.
|
|
|
|
* Makefile (cleantarg): Append $(store-types:%=libstore_%.a) here.
(all): Depend on that list too.
(install): Depend on those files in $(libdir).
($(store-types:%=$(libdir)/libstore_%.a): $(libdir)/%: %): New static
pattern rule to install them.
|
|
|
|
* Makefile (ufs.static): Depend on
$(boot-store-types:%=../libstore/libstore_%.a).
|
|
* Makefile (ext2fs.static): Depend on
$(boot-store-types:%=../libstore/libstore_%.a).
|
|
|
|
* url.c (url_decode): Renamed to store_url_decode, made public.
(store_url_open_class): Changed use.
* store.h: Declare store_url_decode.
* decode.c (store_decode): Call store_url_decode for STORAGE_NETWORK
as a special case.
2001-12-28 Roland McGrath <roland@frob.com>
* module.c: New file.
* store.h (store_module_open, store_module_find_class,
store_module_decode): Declare them.
* argp.c (parse_opt): Leave PARSED->classes null here instead
of defaulting to store_std_classes.
(find_class): Default null class-list parameter to store_std_classes
here instead. If no matches when defaulted, try calling
store_module_open_class too.
* typed.c (store_typed_open): If no match when search list is
store_std_classes, try calling store_module_open_class too.
* url.c (find_url_class): Likewise.
* decode.c (store_decode): If no match when search list is
store_std_classes, try calling store_module_decode too.
* store.h (store_concat_class_vectors): Remove decl of nonexistent fn.
|
|
* Makefile (store-types): New variable.
(all): Depend on $(store-types:%=libstore_%.a).
(libstore_%.so.$(hurd-version)): New pattern rule.
($(store-types:%=libstore_%.a): libstore_%.a): New static pattern rule
to create `-lstore_TYPE' pseudo-objects (linker scripts) for each type.
(libstore.so-LDLIBS): New variable, adds -ldl.
(GUNZIP_OBJS, BUNZIP2_OBJS): New variables.
(UNZIP_OBJS): Variable removed, replaced by those two.
(OBJS): Update use.
(libstore_gunzip.so.$(hurd-version)): Depend on PIC $(GUNZIP_OBJS).
(libstore_bunzip2.so.$(hurd-version)): Depend on PIC $(BUNZIP2_OBJS).
* unknown.c: Add STORE_STD_CLASS decl.
* bunzip2.c: Likewise.
* copy.c: Likewise.
* device.c: Likewise.
* file.c: Likewise.
* gunzip.c: Likewise.
* memobj.c: Likewise.
* module.c: Likewise.
* mvol.c: Likewise.
* nbd.c: Likewise.
* open.c: Likewise.
* part.c: Likewise.
* remap.c: Likewise.
* stripe.c: Likewise.
* stripe.c: Likewise.
* task.c: Likewise.
* typed.c: Likewise.
* typed.c: Likewise.
* unknown.c: Likewise.
* url.c: Likewise.
* zero.c: Likewise.
2002-01-19 Roland McGrath <roland@frob.com>
* typed.c (store_find_class): New function.
(store_typed_open): Use it.
2001-12-28 Roland McGrath <roland@frob.com>
* module.c: New file.
* store.h (store_module_open, store_module_find_class,
store_module_decode): Declare them.
* argp.c (parse_opt): Leave PARSED->classes null here instead
of defaulting to store_std_classes.
(find_class): Default null class-list parameter to store_std_classes
here instead. If no matches when defaulted, try calling
store_module_open_class too.
* typed.c (store_typed_open): If no match when search list is
store_std_classes, try calling store_module_open_class too.
* url.c (find_url_class): Likewise.
* decode.c (store_decode): If no match when search list is
store_std_classes, try calling store_module_decode too.
|
|
* url.c (url_decode): Renamed to store_url_decode, made public.
(store_url_open_class): Changed use.
* store.h: Declare store_url_decode.
* decode.c (store_decode): Call store_url_decode for STORAGE_NETWORK
as a special case.
2001-12-28 Roland McGrath <roland@frob.com>
* module.c: New file.
* store.h (store_module_open, store_module_find_class,
store_module_decode): Declare them.
* argp.c (parse_opt): Leave PARSED->classes null here instead
of defaulting to store_std_classes.
(find_class): Default null class-list parameter to store_std_classes
here instead. If no matches when defaulted, try calling
store_module_open_class too.
* typed.c (store_typed_open): If no match when search list is
store_std_classes, try calling store_module_open_class too.
* url.c (find_url_class): Likewise.
* decode.c (store_decode): If no match when search list is
store_std_classes, try calling store_module_decode too.
|
|
* Makefile (store-types): New variable.
(all): Depend on $(store-types:%=libstore_%.a).
(libstore_%.so.$(hurd-version)): New pattern rule.
($(store-types:%=libstore_%.a): libstore_%.a): New static pattern rule
to create `-lstore_TYPE' pseudo-objects (linker scripts) for each type.
(libstore.so-LDLIBS): New variable, adds -ldl.
(GUNZIP_OBJS, BUNZIP2_OBJS): New variables.
(UNZIP_OBJS): Variable removed, replaced by those two.
(OBJS): Update use.
(libstore_gunzip.so.$(hurd-version)): Depend on PIC $(GUNZIP_OBJS).
(libstore_bunzip2.so.$(hurd-version)): Depend on PIC $(BUNZIP2_OBJS).
* unknown.c: Add STORE_STD_CLASS decl.
* bunzip2.c: Likewise.
* copy.c: Likewise.
* device.c: Likewise.
* file.c: Likewise.
* gunzip.c: Likewise.
* memobj.c: Likewise.
* module.c: Likewise.
* mvol.c: Likewise.
* nbd.c: Likewise.
* open.c: Likewise.
* part.c: Likewise.
* remap.c: Likewise.
* stripe.c: Likewise.
* stripe.c: Likewise.
* task.c: Likewise.
* typed.c: Likewise.
* typed.c: Likewise.
* unknown.c: Likewise.
* url.c: Likewise.
* zero.c: Likewise.
|
|
* Makefile (module-CPPFLAGS): New variable.
* module.c (STORE_SONAME_SUFFIX): Macro removed.
2002-02-08 Roland McGrath <roland@frob.com>
* Makefile (store-types): New variable.
(all): Depend on $(store-types:%=libstore_%.a).
(libstore_%.so.$(hurd-version)): New pattern rule.
($(store-types:%=libstore_%.a): libstore_%.a): New static pattern rule
to create `-lstore_TYPE' pseudo-objects (linker scripts) for each type.
(libstore.so-LDLIBS): New variable, adds -ldl.
(GUNZIP_OBJS, BUNZIP2_OBJS): New variables.
(UNZIP_OBJS): Variable removed, replaced by those two.
(OBJS): Update use.
(libstore_gunzip.so.$(hurd-version)): Depend on PIC $(GUNZIP_OBJS).
(libstore_bunzip2.so.$(hurd-version)): Depend on PIC $(BUNZIP2_OBJS).
* unknown.c: Add STORE_STD_CLASS decl.
* bunzip2.c: Likewise.
* copy.c: Likewise.
* device.c: Likewise.
* file.c: Likewise.
* gunzip.c: Likewise.
* memobj.c: Likewise.
* module.c: Likewise.
* mvol.c: Likewise.
* nbd.c: Likewise.
* open.c: Likewise.
* part.c: Likewise.
* remap.c: Likewise.
* stripe.c: Likewise.
* stripe.c: Likewise.
* task.c: Likewise.
* typed.c: Likewise.
* typed.c: Likewise.
* unknown.c: Likewise.
* url.c: Likewise.
* zero.c: Likewise.
2001-12-28 Roland McGrath <roland@frob.com>
* module.c: New file.
* store.h (store_module_open, store_module_find_class,
store_module_decode): Declare them.
* argp.c (parse_opt): Leave PARSED->classes null here instead
of defaulting to store_std_classes.
(find_class): Default null class-list parameter to store_std_classes
here instead. If no matches when defaulted, try calling
store_module_open_class too.
* typed.c (store_typed_open): If no match when search list is
store_std_classes, try calling store_module_open_class too.
* url.c (find_url_class): Likewise.
* decode.c (store_decode): If no match when search list is
store_std_classes, try calling store_module_decode too.
|
|
* Makefile (SRCS): Remove std.c.
|