[Kos-cvs] [kos] Modification CVS par d2

KOS CVS kos at kos.enix.org
Mon Dec 29 21:50:41 CET 2003


Module :	kos
Modifié par :	d2	29/12/03 21:50:41

Fichiers modifiés :
	.              : ChangeLog 
	modules/kmem   : _kvmem_alloc.c _kvmem_init.c _kvmem_utils.c 
	modules/scheduler: _scheduler.h _synchq.c scheduler.c 
	                   scheduler.h 
	modules/x86/task: _cpl0_switch.h 

Détails :
* modules/x86/task/_cpl0_switch.h, modules/scheduler/_synchq.c
(synchq_wait_unsafe): added comments about the race conditions we
anticipated

* modules/scheduler/scheduler.h (scheduler_retrieve_next_thread):
moved prototype to _scheduler.h, removed EXPORT_SYMBOL for it.

* modules/kmem/_kvmem_utils.c (__kvmem_add_range_to_used_list):
fixed an assertion bug when adding a used range at the head of the
list.

* modules/kmem/_kvmem_init.c (__kvmem_init): rearranged the way
the used/free range list are initialized. Also added a new range
of free virtual pages between 4k and the beginning of the GPFM =>
the kvalloc/etc... now return virtual addresses close to 4kB
(instead of 1GB)

* modules/kmem/_kvmem_alloc.c (kvalloc): removed superfluous
spin_unlock.



More information about the Kos-cvs mailing list