Skip to content

kernel: persist plugin-compiled cwasm across boots #579

Open

Description

@lexoliu

A raw-wasm program is compiled by the compiler plugin on every boot (aot-curl: 245–275 ms of compile per run, #430). The signed cwasm is discarded at power-off.

Scope

Done when

  • On a platform with confidential storage, a second boot runs the same raw-wasm program with no compile and with signature verification.
  • On a platform without it, the stored file is gone after the reboot and the program is compiled again.
  • A stored cwasm whose signature fails is gone after the next boot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    perfstorage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions