commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mach branch, mplaneta/libbraunr/master, created. 321a2fb86dfb9


From: Maksym Planeta
Subject: [SCM] GNU Mach branch, mplaneta/libbraunr/master, created. 321a2fb86dfb9305723ed60481715a6da661b05a
Date: Tue, 12 Jul 2011 22:19:50 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".

The branch, mplaneta/libbraunr/master has been created
        at  321a2fb86dfb9305723ed60481715a6da661b05a (commit)

- Log -----------------------------------------------------------------
commit 321a2fb86dfb9305723ed60481715a6da661b05a
Author: Maksym Planeta <address@hidden>
Date:   Tue Jul 12 16:46:09 2011 +0300

    Fix compiler errors and warnings.
    
    * Makefrag.am (libkernel_a_SOURCES): Add files list.c and list.h, which
    were deleted erroneously.
    * kern/balloc/list.c: Likewise.
    * kern/balloc/list.h: Likewise.
    
    * kern/macro_help.h (MACRO_BEGIN, MACRO_END): Edit macros, so they can
    return some value.
    * kern/balloc/macros.h (MACRO_BEGIN, MACRO_END): Delete macros, which
    are already defined in kern/macro_help.h
    (barrier) Remove macro.
    
    * kern/task.c: Remove repeated include.
    
    * ipc/ipc_init.c (ipc_init): Fix compiler errors.
    * vm/vm_map.h: Likewise.
    * kern/balloc/mem.c: Likewise.
    * kern/balloc/mem.h: Likewise.
    * kern/balloc/avltree.h: Likewise.
    * kern/balloc/list.h: Likewise.
    * kern/balloc/list.c: Likewise.
    * vm/memory_object_proxy.c: Likewise.
    * vm/vm_external.c: Likewise.
    * vm/vm_init.c: Likewise.
    * vm/vm_kern.c: Likewise.
    * vm/vm_map.c: Likewise.
    * vm/vm_map.h: Likewise.
    * device/dev_pager.c: Likewise.
    * i386/i386/fpu.c: Likewise.

commit 3449b5ae4da5a300a9b89a6e5d78f36c9f5c6a1f
Author: Maksym Planeta <address@hidden>
Date:   Mon Jul 11 10:45:57 2011 +0300

    Substitute some of zalloc occurrences for balloc ones.
    
    * i386/intel/pmap.c: Correct comments.
    
    * ipc/ipc_init.c: Substitute functions from zalloc module for
    appropriate balloc ones.
    * ipc/ipc_space.h: Likewise.
    * vm/vm_pageout.c: Likewise.

commit 29e03a75668b1ade3675fba86c36808b51becff4
Author: Maksym Planeta <address@hidden>
Date:   Mon Jul 11 00:28:32 2011 +0300

    Correct double extern in vm_kern.h
    
    * vm/vm_kern.h (kernel_map): Correct wrong type specifier.

commit b657556cc1a6ba888bd10dd6f4d002b1fbc9fd25
Author: Maksym Planeta <address@hidden>
Date:   Sun Jul 10 22:50:11 2011 +0300

    Substitute some of zalloc occurrences for balloc ones.
    
    * device/io_req.h: Replace zalloc(), zfree, zinit with appropriate
    functions from balloc allocator.
    * device/net_io.c: Likewise.
    * i386/i386/pcb.c: Likewise.
    * ipc/ipc_space.h: Likewise.

commit 74151645c140419e7590ff27a3c37ef7c82b2f8b
Author: Maksym Planeta <address@hidden>
Date:   Sun Jul 10 00:34:51 2011 +0300

    Add configuration constants
    
    * kern/balloc/macros.h (CONFIG_CPU_L1_SHIFT): New constant.:
    (CONFIG_MEM_VERIFY): New constant.

commit 8d7526a210af9c29488ddbd376028771269cbc30
Author: Maksym Planeta <address@hidden>
Date:   Sat Jul 9 23:54:04 2011 +0300

    Replace nonexistent constant with existent one.
    
    * kern/balloc/cpu.h: Replace constant NR_CPUS, which represented number
    of CPUs  in Braun's allocator, with NCPUS.
    * kern/balloc/mem.c: Likewise.

commit 2e414dfad7b5c3ebd7683679401a7b175a9f1a59
Author: Maksym Planeta <address@hidden>
Date:   Sat Jul 9 19:49:52 2011 +0300

    Substitute zone based allocator for Braun's one.
    
    Braun's allocator doesn't cover full functionality of zalloc yet, so
    absent features were just deleted (like zcram in kern/vm_map.h). Some
    zone parameters from zalloc were ignored (maximum memory to use,
    allocation size, flags).
    
    * Makefrag.am (libkernel_a_SOURCES): Replace defineing zalloc sources
    with balloc's ones.
    
    * kern/zalloc.c: Delete zalloc sources.
    * kern/zalloc.h: Likewise.
    * kern/kalloc.c: Likewise.
    * kern/kalloc.h: Likewise.
    * i386/i386/zalloc.h: Likewise.
    
    * kern/mem.c (mem_cache_init): Make this function global.
    * kern/mem.h (mem_cache_init): Add prototype of this function to header
    file to enable initialisation of memory caches without dynamical
    allocation of memory.
    
    * device/cirbuf.c: Substitute zalloc functions, variables and includes
    for balloc ones.
    * device/dev_lookup.c: Likewise.
    * device/dev_pager.c: Likewise.
    * device/ds_routines.c: Likewise.
    * device/io_req.h: Likewise.
    * device/net_io.h: Likewise.
    * i386/i386/fpu.c: Likewise.
    * i386/i386/io_perm.c: Likewise.
    * i386/i386/machine_task.c: Likewise.
    * i386/i386/task.h: Likewise.
    * i386/i386/user_ldt.c: Likewise.
    * i386/intel/pmap.c: Likewise.
    * i386/intel/pmap.h: Likewise.
    * ipc/ipc_entry.c: Likewise.
    * ipc/ipc_entry.h: Likewise.
    * ipc/ipc_hash.c: Likewise.
    * ipc/ipc_kmsg.c: Likewise.
    * ipc/ipc_kmsg.h: Likewise.
    * ipc/ipc_marequest.c: Likewise.
    * ipc/ipc_object.c: Likewise.
    * ipc/ipc_object.h: Likewise.
    * ipc/ipc_space.c: Likewise.
    * ipc/ipc_table.c: Likewise.
    * kern/act.c: Likewise.
    * kern/bootstrap.c: Likewise.
    * kern/host.c: Likewise.
    * kern/ipc_tt.c: Likewise.
    * kern/pc_sample.c: Likewise.
    * kern/processor.c: Likewise.
    * kern/startup.c: Likewise.
    * kern/syscall_emulation.c: Likewise.
    * kern/task.c: Likewise.
    * kern/thread.c: Likewise.
    * linux/dev/glue/kmem.c: Likewise.
    * linux/dev/init/main.c: Likewise.
    * vm/memory_object_proxy.c: Likewise.
    * vm/vm_external.c: Likewise.
    * vm/vm_fault.c: Likewise.
    * vm/vm_init.c: Likewise.
    * vm/vm_map.c: Likewise.
    * vm/vm_object.c: Likewise.
    * vm/vm_page.h: Likewise.
    * vm/vm_resident.c: Likewise.
    * xen/block.c: Likewise.
    * xen/net.c: Likewise.
    * xen/store.c: Likewise.
    
    * vm/vm_object.c (vm_object_bootstrap): For cache initialisation use
    mem_cache_init because at this point balloc isn't initialised yet. Since
    cache, that initialised in this function, exist always during running OS
    there is no necessity to allocate memory for this cache dynamically.
    * vm/vm_map.c (vm_map_init): Likewise.
    * i386/intel/pmap.c (pmap_init): Likewise.

commit 3493c6a6b0bad806ba21f5538434507a97dee5e9
Author: Maksym Planeta <address@hidden>
Date:   Fri Jul 8 11:04:54 2011 +0300

    Make balloc more hurdish
    
    * kern/balloc/avltree.h: Substitute header assert.h for kern/assert.h.
    
    * kern/balloc/cpu.h (cpu_id): CPU ID is determined using function
    cpu_number() from kern/cpu_number.h.
    
    * kern/balloc/mem.c: Replace user level includes with includes for
    gnumach.
    (size_t): Substitute type size_t for vm_size_t.
    (void *): Substitute type void * for vm_offset_t.
    (mem_gc): mem_gc() is not thread any more. It can be called similarly
    to consider_zone_gc() from zalloc. And it combines functionality of
    consider_zone_gc() and zone_gc().
    (mem_gc_last_tick): New variable. It stores times when was called last
    garbage collector routine.
    * kern/balloc/mem.h (size_t): Likewise.
    (void *): Likewise.
    (mem_gc): Add prototype of mem_gc().

commit de561989f26472603e4e44ec4b434137098d1233
Author: Maksym Planeta <address@hidden>
Date:   Thu Jul 7 11:49:59 2011 +0300

    Module error in Braun's allocator was unused
    
    * kern/balloc/error.c: Only function erro_die() was used in this module.
    And it was called only for one error. So it was replaced with panic(),
    hence module became unused.
    * kern/balloc/error.h: It was header file for error.c.
    
    * kern/balloc/mem.c (mem_cache_error): Replace error_die() with panic().

commit ea569d13170701b88ba157a75f6252dd224ebb75
Author: Maksym Planeta <address@hidden>
Date:   Wed Jul 6 01:34:35 2011 +0300

    Memory map creation doesn't allocate memory on it's own
    
    * vm/vm_kern.c (kernel_map): Make this variable not pointer to struct
    vm_map, but structure of type vm_map.
    (kmem_suballoc): Doesn't allocate memory for new map anymore. Instead of
    this receive pointer to already allocated memory for new map.
    * vm/vm_kern.h: Update prototypes of procedures which were changed.
    * vm/vm_map.c (vm_map_create, vm_map_fork): Doesn't allocate memory for new 
map anymore. Instead of
    this receive pointer to already allocated memory for new map.
    
    * ddb/db_ext_symtab.c: Since kernel_map isn't pointer, update references
    to it.
    * ddb/db_sym.c: Likewise.
    * ddb/db_watch.c: Likewise.
    * device/dev_pager.c: Likewise.
    * device/ds_routines.c: Likewise. Also update call of procedure
    kmem_suballoc.
    * device/subrs.c: Likewise.
    * i386/i386/io_map.c: Likewise.
    * i386/i386/kttd_interface.c: Likewise.
    * i386/i386/trap.c: Likewise.
    * i386/intel/pmap.c: Likewise.
    * ipc/ipc_init.c: Likewise. Also update call of procedure
    kmem_suballoc.
    * include/mach/profil.h: Likewise.
    * kern/mach_clock.c: Likewise.
    * kern/profile.c: Likewise. Also update call of procedure
    kmem_alloc.
    * kern/task.c: Likewise. Aslo update call of procedures kmem_suballoc,
    vm_map_fork and vm_map_create.
    * kern/thread.c: Likewise.
    * vm/vm_resident.c: Likewise.
    * xen/block.c: Likewise.
    * xen/grant.c: Likewise.
    * xen/net.c: Likewise.

commit cdcd332b651cf743ef123cb96c367f5185ca961e
Author: Maksym Planeta <address@hidden>
Date:   Tue Jul 5 11:21:22 2011 +0300

    Delete buddy allocator for Braun's allocator
    
    * kern/balloc/phys.c : gnumach already has it's own low level allocator.
    * kern/balloc/phys.h : Likewise.
    * kern/balloc/mem.c : Delete including of phys module.
    
    * kern/balloc/list.c : This module was used only by phys.c, so since
    phys.c is deleted this module isn't needed.
    * kern/balloc/list.h : Likewise.

commit 7f6a61f63f098a2c3025f64695fcf083cb8e2bff
Author: Maksym Planeta <address@hidden>
Date:   Sat Jul 2 11:24:21 2011 +0300

    Remove unused files and unnecessary includes
    
    * kern/balloc/CMakeLists.txt: Unused because of own gnumach building
    system.
    * kern/balloc/hash.h, kern/balloc/mem_malloc.c, kern/balloc/mem_malloc.h,
    kern/balloc/rbtree.c, kern/balloc/rbtree.h, kern/balloc/rbtree_i.h,
    kern/balloc/rdatree.c, kern/balloc/rdatree.h, kern/balloc/xprintf.c,
    kern/balloc/xprintf.h: Unused files.
    * kern/balloc/test: Code of test programs will be kept apart and it
    isn't needed in gnumach repository.
    
    * kern/balloc/avltree.h, kern/balloc/avltree_i: Were concatenated and
    avltree_i.h. was deleted.
    
    * kern/balloc/avltree.c, kern/balloc/error.c, kern/balloc/mem.c,
    kern/balloc/phys.c: Includes that were made in *.h were removed.

commit 59c9da87375ad3c8401890ecd4f7f101093f2463
Author: Maksym Planeta <address@hidden>
Date:   Fri Jul 1 13:13:57 2011 +0300

    Add code with Richard Braun's allocator
    
    * kern/balloc/: New directory with allocator

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Mach



reply via email to

[Prev in Thread] Current Thread [Next in Thread]