summaryrefslogtreecommitdiff
path: root/kern
AgeCommit message (Collapse)Author
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/xpr.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/timer.h: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/timer.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/thread_swap.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/thread.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/task.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/syscall_subr.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/syscall_emulation.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/strings.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/startup.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/sched_prim.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/sched.h: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/queue.h: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/queue.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/processor.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/priority.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/printf.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/pc_sample.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/machine.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/mach_factor.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/mach_clock.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/lock_mon.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/lock.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/ipc_tt.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/ipc_sched.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/ipc_mig.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/host.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/exception.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/eventcount.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/bootstrap.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/ast.c: Remove register qualifiers.
2013-11-13kern: remove register qualifiersMarin Ramesa
* kern/act.c: Remove register qualifiers.
2013-11-11Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumachSamuel Thibault
2013-11-11kern: fix the error handling in exec_loadJustus Winter
Found using the Clang Static Analyzer. * kern/elf-load.c (exec_load): Properly propagate errors.
2013-11-10kern: comment unused variableMarin Ramesa
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.
2013-11-09Remove lint codeMarin Ramesa
2013-09-09Drop luna88k bitsMarin Ramesa
* device/tty.h [luna88k]: Remove ifdef and include for nonexistent header files. * kern/debug.c: Remove check for luna88k.
2013-07-18kern: add missing prototypeMarin Ramesa
* kern/lock.h (db_show_all_slocks): Add prototype.
2013-06-29(slab_info): fix format warningsMarin Ramesa
* kern/slab.c (slab_info): Fix format for vm_size_t.
2013-06-09Fix object construction in the slab allocatorRichard Braun
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.
2013-06-04Comment unused variableMarin Ramesa
* kern/ipc_mig.c (syscall_device_write_request): Comment unused variable.
2013-06-04Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumachSamuel Thibault
2013-06-02Remove unused variableMiguel Figueiredo
* kern/act.c (act_create): Remove unused variable.
2013-06-02Fix yet another locking error in the slab allocatorRichard Braun
* kern/slab.c (kmem_cache_free): Relock cache before retrying releasing an object to the CPU pool layer.
2013-05-19Remove unneeded variable initializationMiguel Figueiredo
* kern/thread.c (thread_force_terminate): Remove unneeded variable initialization.
2013-05-19Remove duplicate lineSamuel Thibault
Reported by Miguel Figueiredo * kern/thread.c (thread_create): Remove duplicate reset of new_thread->pc_sample.buffer to 0.
2013-05-16Reduce fragmentation in the slab allocatorRichard Braun
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.
2013-05-16Rename list_insert to list_insert_headRichard Braun
This change increases clarity. * kern/list.h (list_insert): Rename to ... (list_insert_head): ... this. * kern/slab.c: Update calls to list_insert.
2013-05-13Drop unused variablesMiguel Figueiredo
* kern/slab.c (kalloc_init): Remove unused variables.
2013-04-21Optimize slab reapingRichard Braun
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.