‹ BackHN Continuity

Thread

The Forgetful CPU (Linux on M4)

267 points · 203 comments · signa11

  1. someonebaggy · · focus · HN ↗
    TLDR: the WFI (wait for interrupt) instruction used to preserve registers but you could configure it to delete register values, saving power.

    Since M4 it always deletes register values and the configuration is gone, which made Linux assume they were preserved, but they are not.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.