Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpmsg_virtio.c: replace metal_cpu_yield to metal_yield #613

Merged
merged 1 commit into from
Oct 21, 2024

Commits on Oct 9, 2024

  1. rpmsg_virtio.c: replace metal_cpu_yield to new libmetal API metal_yield

    The CPU yield is not supported by all OSes/processors. If not supported,
    this causes a busy loop that monopolizes the CPU. Replace it with the
    new metal_yield, it would be managed at the OS level and dispatched to
    metal_cpu_yield, metal_sleep_usec, or others.
    
    Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
    wyr-7 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    600b25b View commit details
    Browse the repository at this point in the history