aboutsummaryrefslogtreecommitdiff
path: root/kern
Commit message (Collapse)AuthorAgeFilesLines
* kern: remove register qualifiersMarin Ramesa2013-11-131-3/+3
| | | | * kern/xpr.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-1/+1
| | | | * kern/timer.h: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-6/+5
| | | | * kern/timer.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-2/+2
| | | | * kern/thread_swap.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-47/+47
| | | | * kern/thread.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-34/+34
| | | | * kern/task.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-14/+14
| | | | * kern/syscall_subr.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-2/+2
| | | | * kern/syscall_emulation.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-15/+15
| | | | * kern/strings.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-3/+3
| | | | * kern/startup.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-83/+83
| | | | * kern/sched_prim.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-1/+1
| | | | * kern/sched.h: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-4/+4
| | | | * kern/queue.h: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-12/+12
| | | | * kern/queue.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-17/+17
| | | | * kern/processor.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-5/+5
| | | | * kern/priority.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-18/+18
| | | | * kern/printf.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-2/+2
| | | | * kern/pc_sample.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-15/+15
| | | | * kern/machine.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-8/+8
| | | | * kern/mach_factor.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-18/+18
| | | | * kern/mach_clock.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-13/+13
| | | | * kern/lock_mon.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-11/+11
| | | | * kern/lock.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-4/+4
| | | | * kern/ipc_tt.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-3/+3
| | | | * kern/ipc_sched.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-13/+13
| | | | * kern/ipc_mig.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-6/+6
| | | | * kern/host.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-14/+14
| | | | * kern/exception.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-4/+4
| | | | * kern/eventcount.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-3/+2
| | | | * kern/bootstrap.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-9/+9
| | | | * kern/ast.c: Remove register qualifiers.
* kern: remove register qualifiersMarin Ramesa2013-11-131-2/+2
| | | | * kern/act.c: Remove register qualifiers.
* Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumachSamuel Thibault2013-11-111-0/+2
|\
| * kern: fix the error handling in exec_loadJustus Winter2013-11-111-0/+2
| | | | | | | | | | | | Found using the Clang Static Analyzer. * kern/elf-load.c (exec_load): Properly propagate errors.
* | kern: comment unused variableMarin Ramesa2013-11-101-3/+4
|/ | | | | | | Variable reply_port is never used. There is indication in the comments that it might be used in future function call, so comment it. * kern/ipc_mig.c (syscall_device_writev_request): Comment variable.
* Remove lint codeMarin Ramesa2013-11-096-28/+0
|
* Drop luna88k bitsMarin Ramesa2013-09-091-1/+1
| | | | | * device/tty.h [luna88k]: Remove ifdef and include for nonexistent header files. * kern/debug.c: Remove check for luna88k.
* kern: add missing prototypeMarin Ramesa2013-07-181-0/+2
| | | | * kern/lock.h (db_show_all_slocks): Add prototype.
* (slab_info): fix format warningsMarin Ramesa2013-06-291-1/+1
| | | | * kern/slab.c (slab_info): Fix format for vm_size_t.
* Fix object construction in the slab allocatorRichard Braun2013-06-091-4/+10
| | | | | | | | There is currently no actual use of constructors, which is why this bug has been long overlooked. * kern/slab.c (kmem_cpu_pool_fill): Call constructor on buffers unless verification is enabled for the cache, or the constructor is NULL.
* Comment unused variableMarin Ramesa2013-06-041-3/+4
| | | | * kern/ipc_mig.c (syscall_device_write_request): Comment unused variable.
* Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumachSamuel Thibault2013-06-041-0/+1
|\
| * Fix yet another locking error in the slab allocatorRichard Braun2013-06-021-0/+1
| | | | | | | | | | * kern/slab.c (kmem_cache_free): Relock cache before retrying releasing an object to the CPU pool layer.
* | Remove unused variableMiguel Figueiredo2013-06-021-1/+0
|/ | | | * kern/act.c (act_create): Remove unused variable.
* Remove unneeded variable initializationMiguel Figueiredo2013-05-191-1/+1
| | | | | * kern/thread.c (thread_force_terminate): Remove unneeded variable initialization.
* Remove duplicate lineSamuel Thibault2013-05-191-1/+0
| | | | | | | Reported by Miguel Figueiredo * kern/thread.c (thread_create): Remove duplicate reset of new_thread->pc_sample.buffer to 0.
* Reduce fragmentation in the slab allocatorRichard Braun2013-05-161-2/+5
| | | | | | | | | | This reverts a change brought when reworking slab lists handling that made the allocator store slabs in LIFO order, whatever their reference count. While it's fine for free slabs, it actually increased fragmentation for partial slabs. * kern/slab.c (kmem_cache_alloc_from_slab): Insert slabs that become partial at the end of the partial slabs list.
* Rename list_insert to list_insert_headRichard Braun2013-05-162-5/+5
| | | | | | | | This change increases clarity. * kern/list.h (list_insert): Rename to ... (list_insert_head): ... this. * kern/slab.c: Update calls to list_insert.
* Drop unused variablesMiguel Figueiredo2013-05-131-1/+0
| | | | * kern/slab.c (kalloc_init): Remove unused variables.
* Optimize slab reapingRichard Braun2013-04-211-13/+10
| | | | | | | | Instead of walking the list of free slabs while holding the cache lock, detach the list from the cache and directly compute the final count values, and destroy slabs after releasing the cache lock. * kern/slab.c (kmem_cache_reap): Optimize.