Wake an idle Fiber's step without a signal

Aperta
#44 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by tracing the Fiber idle step and the Net::poll host call mentioned in the issue; the required change may be in hyperlight-unikraft, outside this repository. Compare adding a wake fd polled by step with retrying EINTR in Net::poll. Done when PARK wakes an idle Fiber promptly without signals and the guest does not lose the wake to EINTR.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

a-needs-info

An idle Fiber's thread waits up to 250 ms in hyperlight-unikraft's step, and KILL
interrupts that wait with SIGRTMAX. PARK is not signalled, because a signal that
lands in the guest's net_poll host call hands the guest EINTR, so a PARK can wait
a whole step. A wake fd that step also polls would let any command wake the
thread at once, without signals, and let the idle step grow further. This needs a
hyperlight-unikraft change (or Net::poll retrying EINTR).

Lingua principale
Rust
Stelle
3
Fork
2
Merge medio
3g 57m
PR unite (30g)
17

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyperlight-dev/lampyr

Tutte le issue di hyperlight-dev/lampyr

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.