diff options
| author | cl <cl@NetBSD.org> | 2004-03-14 01:08:47 +0000 |
|---|---|---|
| committer | cl <cl@NetBSD.org> | 2004-03-14 01:08:47 +0000 |
| commit | ea5ec0212d715373eb56dbdeb218b9504e1139f2 (patch) | |
| tree | cb57ac9e27b581a85616dd80ef89dfd4aa130a8e /lib/libpthread/pthread_lock.c | |
| parent | f1bacc8b382d29f3679efbbb152b03c00e19767b (diff) | |
add kernel part of concurrency support for SA on MP systems
- move per VP data into struct sadata_vp referenced from l->l_savp
* VP id
* lock on VP data
* LWP on VP
* recently blocked LWP on VP
* queue of LWPs woken which ran on this VP before sleep
* faultaddr
* LWP cache for upcalls
* upcall queue
- add current concurrency and requested concurrency variables
- make process exit run LWP on all VPs
- make signal delivery consider all VPs
- make timer events consider all VPs
- add sa_newsavp to allocate new sadata_vp structure
- add sa_increaseconcurrency to prepare new VP
- make sys_sa_setconcurrency request new VP or wakeup idle VP
- make sa_yield lower current concurrency
- set sa_cpu = VP id in upcalls
- maintain cached LWPs per VP
Diffstat (limited to 'lib/libpthread/pthread_lock.c')
0 files changed, 0 insertions, 0 deletions
