The SPIN model `wake_workers_no_std` must follow the new loop order
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 75/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- operating-systems
Línea de trabajo
Lee specification/awkernel_async_lib/src/task/wake_workers_no_std/wake_workers.pml en primary_main y compara el orden del bucle con kernel/src/lib.rs:109-114. Actualiza el modelo para que ejecute wake_tasks, wake_workers y luego sleep; el trabajo estará terminado cuando el modelo coincida con la implementación y se regeneren los archivos de resultados afectados que están confirmados en el repositorio. El issue señala que run.sh puede informar erróneamente como exitosas las búsquedas limitadas por memoria, así que comprueba si aparece la advertencia de búsqueda incompleta al regenerar los resultados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
File: specification/awkernel_async_lib/src/task/wake_workers_no_std/wake_workers.pml
(primary_main), related to kernel/src/lib.rs:109-114.
The model still has the old order:
wake_tasks(time_to_wait)
sleep(0, time_to_wait)
wake_workers(0)
The loop has three steps, so wake_tasks; wake_workers; sleep is a different
cyclic order, and the 32 committed result files no longer describe the
implementation. Please update the model in this PR or in a follow-up:
wake_tasks(time_to_wait)
wake_workers(0)
sleep(0, time_to_wait)
I ran this reordered model locally. All 16 configurations of
CONCURRENT_WORK_CONSERVATION and EVENTUALLY_EXECUTE
(TIMER_EDGE/TIMER_LEVEL x IRQ_POS 0-3) completed a full state-space
(TIMER_EDGE/TIMER_LEVEL x IRQ_POS 0-3) completed a full state-space
search with errors: 0. I did not run the 16 CPU_WAKING_TO_ACTIVE_CPU0/1
configurations.
Notes for regenerating the results:
- The state space grows by a few percent, and
-DMEMLIM=55000in the Makefile
is no longer enough.EVENTUALLY_EXECUTEneeds 50.7-52.8 GB for
IRQ_POS1-3 and more forIRQ_POS=0.EVENTUALLY_EXECUTE/
TIMER_LEVEL/IRQ_POS=0needed 55.5 GB, and it only completed with a
smaller hash table (./pan -a -n -w26) and-DMEMLIM=56500. run.shonly checks for a trail file, so a run that stops at the memory
limit (Warning: Search not completed) is recorded astrue. It should also
check for that warning.- The README lists
kernel/src/main.rsas a target, but the loop is in
kernel/src/lib.rs.
Other parts of the model need no change:
spawn_taskdoesrun_queue++and thenwake_up(..., 0, ...). The
implementation keeps this order; the notification only moved from
ArcWake::wakeinto the schedulers.wake_taskshas nowake_up, which matcheswake_cpu(0)being a no-op on
CPU 0.- The model uses
run_queueboth as the queue and as the counter, so it
already assumes an exact counter. This PR makes the implementation match it. - The std model (
wake_workers) has a two-step loop
(select_wait; wake_workers), so the reorder does not change it after the
first iteration.
- Lenguaje dominante
- Rust
- Estrellas
- 282
- Forks
- 12
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 28
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de tier4/awkernel
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 2 días
-
Deadlock in ixgbeAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
Los mantenedores suelen responder en 2 días
Todos los issues de tier4/awkernel
Issues similares
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
flashbots/panetiere#46 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jlcodes99/cockpit-tools#3190 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Feyisara2108/stellargive#1376 ·
Los mantenedores suelen responder en 1 día
-
area:post bug effort:medium P7 source:agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día