Changeset 597fa24 in mainline for kernel/test/mm/slab2.c
- Timestamp:
- 2025-04-09T16:19:40Z (6 days ago)
- Branches:
- master
- Children:
- 9f945464, a188131
- Parents:
- 3e7948c
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-09 16:08:09)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-09 16:19:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/slab2.c
r3e7948c r597fa24 127 127 128 128 static slab_cache_t *thr_cache; 129 static condvar_t thread_starter;130 static mutex_t starter_mutex;129 static CONDVAR_INITIALIZE(thread_starter); 130 static MUTEX_INITIALIZE(starter_mutex, MUTEX_PASSIVE); 131 131 132 132 #define THREADS 8 … … 197 197 198 198 TPRINTF("Running stress test with size %d\n", size); 199 200 condvar_initialize(&thread_starter);201 mutex_initialize(&starter_mutex, MUTEX_PASSIVE);202 199 203 200 thr_cache = slab_cache_create("thread_cache", size, 0, NULL, NULL, 0);
Note:
See TracChangeset
for help on using the changeset viewer.