• Righi: Writing a scheduler for Linux in Rust that runs in user-space

    From LWN.net@1337:1/100 to All on Tue Feb 20 14:45:05 2024
    Righi: Writing a scheduler for Linux in Rust that runs in user-space

    Date:
    Tue, 20 Feb 2024 14:32:27 +0000

    Description:
    Andrea Righi has started
    a blog series on writing a user-space CPU scheduler with the BPF-based extensible scheduler class : .select_cpu() implements the logic to assign a target CPU to a task
    that wants to run, typically you have to decide if you want to keep
    the task on the same CPU or if it needs to be migrated to a
    different one (for example if the current CPU is busy); if we can
    find an idle CPU at this stage theres no reason to call the
    scheduler, the task can be immediately dispatched here.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/962897/


    --- Mystic BBS v1.12 A47 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)