commit-hurd
[Top][All Lists]
Advanced

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

[SCM] GNU Mach branch, master, updated. 3f7ad298fd5dd80c0dc017fdd77be23e


From: Samuel Thibault
Subject: [SCM] GNU Mach branch, master, updated. 3f7ad298fd5dd80c0dc017fdd77be23e7861e547
Date: Tue, 14 Feb 2012 21:50:35 +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, master has been updated
       via  3f7ad298fd5dd80c0dc017fdd77be23e7861e547 (commit)
       via  3496138ca428a7b2b69fe08e69fb544006a9a2cc (commit)
       via  88382234bb540544a3550d1ddfb84e0d17eec971 (commit)
       via  aef06eb95fdb3e5f5b857a8b641723759e850a85 (commit)
       via  5988ae8fb41ace936e48e5a972abe1c5acc8f8af (commit)
       via  7fa0de680bbfed02e09ad517788fe336c0d855cc (commit)
       via  db2078e4f1802434f791f4f1c333725c42fe172b (commit)
       via  7bc54a622e0c57a1085cd2990a1deedc8bd4743d (commit)
       via  d25bd66fe0bd4cddb18890390198c86b9e9b56b4 (commit)
      from  a12a10679017d89194c0dd873f44804b64f71102 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3f7ad298fd5dd80c0dc017fdd77be23e7861e547
Merge: 3496138 a12a106
Author: Samuel Thibault <address@hidden>
Date:   Sat Jan 28 23:28:48 2012 +0100

    Merge branch 'master' into master-slab

commit 3496138ca428a7b2b69fe08e69fb544006a9a2cc
Author: Richard Braun <address@hidden>
Date:   Mon Jan 9 10:01:56 2012 +0000

    Improve ipc hash/marequest init readability
    
    Use macros instead of raw numeric values.
    
    * ipc/ipc_hash.h (IPC_HASH_GLOBAL_SIZE): New macro.
    * ipc/ipc_hash.c (ipc_hash_init): Directly set the global hash table
    size to IPC_HASH_GLOBAL_SIZE.
    * ipc/ipc_marequest.h (IPC_MAREQUEST_SIZE): New macro.
    * ipc/ipc_marequest.c (ipc_marequest_init): Directly set the marequest
    hash table size to IPC_MAREQUEST_SIZE.

commit 88382234bb540544a3550d1ddfb84e0d17eec971
Author: Richard Braun <address@hidden>
Date:   Sat Dec 17 21:43:48 2011 +0000

    Remove arbitrary limits used by the zone system
    
    The zone allocator could limit the size of its zones to an arbitrary
    value set at zinit() time. There is no such parameter with the slab
    module. As a result of removing those limits, the kern/mach_param.h
    header becomes empty, and is simply removed altogether.
    
    * Makefrag.am (libkernel_a_SOURCES): Remove kern/mach_param.h.
    * i386/i386/fpu.c: Remove #include <kern/mach_param.h>.
    * i386/i386/machine_task.c: Likewise.
    * i386/i386/pcb.c: Likewise.
    * ipc/ipc_init.c: Likewise.
    (ipc_space_max): Remove variable.
    (ipc_tree_entry_max): Likewise.
    (ipc_port_max): Likewise.
    (ipc_pset_max): Likewise.
    * ipc/ipc_init.h (IPC_ZONE_TYPE): Remove macro.
    (ipc_space_max): Remove extern declaration.
    (ipc_tree_entry_max): Likewise.
    (ipc_port_max): Likewise.
    (ipc_pset_max): Likewise.
    * ipc/ipc_hash.c (ipc_hash_init): Don't use ipc_tree_entry_max to
    compute ipc_hash_global_size.
    * ipc/ipc_marequest.c: Remove #include <kern/mach_param.h>.
    (ipc_marequest_max): Remove variable.
    (ipc_marequest_init): Don't use ipc_marequest_max to compute
    ipc_marequest_size.
    (ipc_marequest_info): Return (unsigned int)-1 in maxp.
    * kern/act.c: Remove #include <kern/mach_param.h>.
    * kern/mach_clock.c: Likewise.
    * kern/priority.c: Likewise.
    * kern/task.c: Likewise.
    * kern/thread.c: Likewise.
    * vm/memory_object_proxy.c: Likewise.
    * vm/vm_fault.c: Likewise.

commit aef06eb95fdb3e5f5b857a8b641723759e850a85
Author: Richard Braun <address@hidden>
Date:   Sat Dec 17 21:25:23 2011 +0000

    Remove the defunct kernel_task_create() function
    
    The kmem_suballoc() function, which has been replaced with
    kmem_submap(), is called by kernel_task_create(). Rather than update it,
    remove this now unused function.
    
    * kern/task.c (kernel_task_create): Remove function.
    * kern/task.h (kernel_task_create): Remove prototype.

commit 5988ae8fb41ace936e48e5a972abe1c5acc8f8af
Author: Richard Braun <address@hidden>
Date:   Sat Dec 17 15:54:47 2011 +0000

    Fix kern/kalloc.h includes
    
    * device/dev_pager.c: Remove #include <kern/kalloc.h>.
    * i386/i386/io_perm.c: Add #include <kern/kalloc.h>.
    * kern/bootstrap.c: Likewise.
    * kern/ipc_tt.c: Likewise.
    * kern/pc_sample.c: Likewise.
    * kern/processor.c: Likewise.
    * kern/server_loop.ch: Likewise.
    * kern/thread.c: Likewise.
    * linux/dev/glue/block.c: Likewise.
    * linux/dev/glue/net.c: Likewise.
    * vm/vm_map.c: Likewise.
    * xen/block.c: Likewise.
    * xen/net.c: Likewise.
    * xen/store.c: Likewise.

commit 7fa0de680bbfed02e09ad517788fe336c0d855cc
Author: Richard Braun <address@hidden>
Date:   Sat Dec 17 16:23:33 2011 +0000

    Adjust VM initialization
    
    Unlike the zone allocator, the slab code can't be fed with an initial
    chunk of memory. Some VM objects used early during startup now have to
    be statically allocated, and kernel map entries need a special path
    to avoid recursion when being allocated.
    
    * vm/vm_map.c (vm_submap_object_store): New variable.
    (vm_submap_object): Point to vm_submap_object_store.
    (kentry_data_size): Initialize to arbitrary value.
    (kentry_count): Remove variable.
    (kentry_pagealloc): New function.
    (vm_map_setup): Likewise.
    (vm_map_create): Replace initialization with a call to vm_map_setup().
    * vm/vm_map.h (vm_map_setup): New prototype.
    * vm/vm_kern.c (kernel_map_store): New variable.
    (kernel_map): Point to kernel_map_store.
    (kmem_suballoc): Remove function. Replaced with...
    (kmem_submap): New function.
    (kmem_init): Call vm_map_setup() instead of vm_map_create().
    * vm/vm_kern.h (kmem_suballoc): Remove prototype.
    (kmem_submap): New prototype.
    * vm/vm_object.c (kernel_object_store): New variable.
    (kernel_object): Point to kernel_object_store.
    (vm_object_template): Change type from vm_object_t to struct vm_object.
    (_vm_object_setup): New function.
    (_vm_object_allocate): Replace initialization with a call to
    _vm_object_setup().
    (vm_object_bootstrap): Don't allocate vm_object_template, and use it as
    a structure instead of a pointer. Initialize kernel_object and
    vm_submap_object with _vm_object_setup() instead of
    _vm_object_allocate().
    * vm/vm_resident.c (vm_page_bootstrap): Don't initialize
    kentry_data_size.
    * device/ds_routines.c (device_io_map_store): New variable.
    (device_io_map): Point to device_io_map_store.
    (mach_device_init): Call kmem_submap() instead of kmem_suballoc().
    * ipc/ipc_init.c (ipc_kernel_map_store): New variable.
    (ipc_kernel_map): Point to ipc_kernel_map_store.

commit db2078e4f1802434f791f4f1c333725c42fe172b
Author: Richard Braun <address@hidden>
Date:   Sat Dec 17 15:24:05 2011 +0000

    Adjust the kernel to use the slab allocator
    
    * device/dev_lookup.c: Replace zalloc header, types and function calls
    with their slab counterparts.
    * device/dev_pager.c: Likewise.
    * device/ds_routines.c: Likewise.
    * device/io_req.h: Likewise.
    * device/net_io.c: Likewise.
    * i386/i386/fpu.c: Likewise.
    * i386/i386/io_perm.c: Likewise.
    * i386/i386/machine_task.c: Likewise.
    * i386/i386/pcb.c: Likewise.
    * i386/i386/task.h: Likewise.
    * i386/intel/pmap.c: Likewise.
    * i386/intel/pmap.h: Remove #include <kernel/zalloc.h>.
    * include/mach_debug/mach_debug.defs (host_zone_info): Replace
    routine declaration with skip directive.
    (host_slab_info): New routine declaration.
    * include/mach_debug/mach_debug_types.defs (zone_name_t)
    (zone_name_array_t, zone_info_t, zone_info_array_t): Remove types.
    (cache_info_t, cache_info_array_t): New types.
    * include/mach_debug/mach_debug_types.h: Replace #include
    <mach_debug/zone_info.h> with <mach_debug/slab_info.h>.
    * ipc/ipc_entry.c: Replace zalloc header, types and function calls with
    their slab counterparts.
    * ipc/ipc_entry.h: Likewise.
    * ipc/ipc_init.c: Likewise.
    * ipc/ipc_marequest.c: Likewise.
    * ipc/ipc_object.c: Likewise.
    * ipc/ipc_object.h: Likewise.
    * ipc/ipc_space.c: Likewise.
    * ipc/ipc_space.h: Likewise.
    * ipc/ipc_table.c (kalloc_map): Remove extern declaration.
    * kern/act.c: Replace zalloc header, types and function calls with their
    slab counterparts.
    * kern/kalloc.h: Add #include <vm/vm_types.h>.
    (MINSIZE): Remove definition.
    (kalloc_map): Add extern declaration.
    (kget): Remove prototype.
    * kern/mach_clock.c: Adjust comment.
    * kern/processor.c: Replace zalloc header, types and function calls with
    their slab counterparts.
    * kern/startup.c: Remove #include <kernel/zalloc.h>.
    * kern/task.c: Replace zalloc header, types and function calls with
    their slab counterparts.
    * kern/thread.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: Remove #include <kernel/zalloc.h>.
    * vm/vm_pageout.c: Replace zalloc header, types and function calls with
    their slab counterparts.
    * vm/vm_resident.c: Likewise.
    (zdata, zdata_size): Remove declarations.
    (vm_page_bootstrap): Don't steal memory for the zone system.

commit 7bc54a622e0c57a1085cd2990a1deedc8bd4743d
Author: Richard Braun <address@hidden>
Date:   Tue Dec 13 20:27:56 2011 +0000

    Import the slab allocator
    
    As it is intended to completely replace the zone allocator, remove it on
    the way. So long to the venerable code !
    
    * Makefrag.am (libkernel_a_SOURCES): Add kern/slab.{c,h}, remove 
kern/kalloc.c
    and kern/zalloc.{c,h}.
    * configfrag.ac (SLAB_VERIFY, SLAB_USE_CPU_POOLS): Add defines.
    * i386/Makefrag.am (libkernel_a_SOURCES): Remove i386/i386/zalloc.h.
    * i386/configfrag.ac (CPU_L1_SHIFT): Remove define.
    * include/mach_debug/slab_info.h: New file.
    * kern/slab.c: Likewise.
    * kern/slab.h: Likewise.
    * i386/i386/zalloc.h: Remove file.
    * include/mach_debug/zone_info.h: Likewise.
    * kern/kalloc.c: Likewise.
    * kern/zalloc.c: Likewise.
    * kern/zalloc.h: Likewise.

commit d25bd66fe0bd4cddb18890390198c86b9e9b56b4
Author: Richard Braun <address@hidden>
Date:   Sat Dec 17 22:06:47 2011 +0000

    Import utility files
    
    * Makefrag.am (libkernel_a_SOURCES): Add kern/list.h, kern/rbtree.c,
    kern/rbtree.h and kern/rbtree_i.h.
    * kern/list.h: New file.
    * kern/rbtree.c: Likewise.
    * kern/rbtree.h: Likewise.
    * kern/rbtree_i.h: Likewise.
    * kern/macro_help.h (MACRO_BEGIN): Use GNU C compound statement
    enclosed in parentheses.
    (MACRO_END): Likewise.

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

Summary of changes:
 Makefrag.am                                     |   12 +-
 configfrag.ac                                   |    6 +
 device/dev_lookup.c                             |   17 +-
 device/dev_pager.c                              |   34 +-
 device/ds_routines.c                            |   49 +-
 device/io_req.h                                 |    5 +-
 device/net_io.c                                 |   32 +-
 i386/Makefrag.am                                |    1 -
 i386/configfrag.ac                              |    3 +
 i386/i386/fpu.c                                 |   26 +-
 i386/i386/io_perm.c                             |    7 +-
 i386/i386/machine_task.c                        |   20 +-
 i386/i386/pcb.c                                 |   14 +-
 i386/i386/task.h                                |    4 +-
 i386/i386/zalloc.h                              |   29 -
 i386/intel/pmap.c                               |   30 +-
 i386/intel/pmap.h                               |    1 -
 include/mach_debug/mach_debug.defs              |   20 +-
 include/mach_debug/mach_debug_types.defs        |    7 +-
 include/mach_debug/mach_debug_types.h           |    2 +-
 include/mach_debug/{hash_info.h => slab_info.h} |   37 +-
 include/mach_debug/zone_info.h                  |   61 -
 ipc/ipc_entry.c                                 |    4 +-
 ipc/ipc_entry.h                                 |    8 +-
 ipc/ipc_hash.c                                  |    8 +-
 ipc/ipc_hash.h                                  |    2 +
 ipc/ipc_init.c                                  |   47 +-
 ipc/ipc_init.h                                  |    8 -
 ipc/ipc_marequest.c                             |   27 +-
 ipc/ipc_marequest.h                             |    1 +
 ipc/ipc_object.c                                |    3 +-
 ipc/ipc_object.h                                |   10 +-
 ipc/ipc_space.c                                 |    4 +-
 ipc/ipc_space.h                                 |    7 +-
 ipc/ipc_table.c                                 |    7 -
 kern/act.c                                      |   18 +-
 kern/bootstrap.c                                |    1 +
 kern/ipc_tt.c                                   |    1 +
 kern/kalloc.c                                   |  254 ----
 kern/kalloc.h                                   |    4 +-
 kern/list.h                                     |  349 +++++
 kern/mach_clock.c                               |    3 +-
 kern/mach_param.h                               |   67 -
 kern/macro_help.h                               |    4 +-
 kern/pc_sample.c                                |    1 +
 kern/priority.c                                 |    1 -
 kern/processor.c                                |   15 +-
 kern/rbtree.c                                   |  478 +++++++
 kern/rbtree.h                                   |  298 +++++
 kern/rbtree_i.h                                 |  179 +++
 kern/server_loop.ch                             |    1 +
 kern/slab.c                                     | 1576 +++++++++++++++++++++++
 kern/slab.h                                     |  222 ++++
 kern/startup.c                                  |    1 -
 kern/task.c                                     |   48 +-
 kern/task.h                                     |    2 -
 kern/thread.c                                   |   17 +-
 kern/zalloc.c                                   | 1007 ---------------
 kern/zalloc.h                                   |  136 --
 linux/dev/glue/block.c                          |    2 +
 linux/dev/glue/net.c                            |    1 +
 vm/memory_object_proxy.c                        |   20 +-
 vm/vm_external.c                                |   43 +-
 vm/vm_fault.c                                   |   21 +-
 vm/vm_init.c                                    |    6 +-
 vm/vm_kern.c                                    |   30 +-
 vm/vm_kern.h                                    |    4 +-
 vm/vm_map.c                                     |  176 ++--
 vm/vm_map.h                                     |    3 +
 vm/vm_object.c                                  |  103 +-
 vm/vm_page.h                                    |    1 -
 vm/vm_pageout.c                                 |    7 +-
 vm/vm_resident.c                                |   23 +-
 xen/block.c                                     |    1 +
 xen/net.c                                       |    1 +
 xen/store.c                                     |    1 +
 76 files changed, 3570 insertions(+), 2109 deletions(-)
 delete mode 100644 i386/i386/zalloc.h
 copy include/mach_debug/{hash_info.h => slab_info.h} (59%)
 delete mode 100644 include/mach_debug/zone_info.h
 delete mode 100644 kern/kalloc.c
 create mode 100644 kern/list.h
 delete mode 100644 kern/mach_param.h
 create mode 100644 kern/rbtree.c
 create mode 100644 kern/rbtree.h
 create mode 100644 kern/rbtree_i.h
 create mode 100644 kern/slab.c
 create mode 100644 kern/slab.h
 delete mode 100644 kern/zalloc.c
 delete mode 100644 kern/zalloc.h


hooks/post-receive
-- 
GNU Mach



reply via email to

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