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

issue: Refactor event_handler_manager #245

Open
wants to merge 2 commits into
base: vNext
Choose a base branch
from

Commits on Oct 10, 2024

  1. issue: Start event handler thread during XLIO init

    Event handler manager is a global object with a single internal thread.
    Once XLIO is initialized, there is no option not to start the internal
    thread and it's used starting from the initialization method (to create
    a timer event for netlink).
    
    Therefore, there is no point in trying to start the thread with each
    post action to the event handler. This can save CPU in CPS scenario.
    
    Signed-off-by: Dmytro Podgornyi <[email protected]>
    pasis committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    4c3e100 View commit details
    Browse the repository at this point in the history
  2. issue: Remove free_evh_resources()

    This method simply calls stop_thread(). Remove it to simply the code and
    separate thread stopping from epfd closing.
    
    Signed-off-by: Dmytro Podgornyi <[email protected]>
    pasis committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    8fa19b4 View commit details
    Browse the repository at this point in the history