Skip to content

Conversation

@LucasChollet
Copy link
Member

Before:

1.522 SystemServer(9): In activate_base_services_based_on_system_mode
2.523 SystemServer(9): GPU detected

After:

1.204 SystemServer(9): In activate_base_services_based_on_system_mode
1.215 SystemServer(9): GPU detected

Quite a juicy speed-up. Thanks for spotting it, @spholz.

Using a FileWatcher allows us to get back to work as soon as the file
is created. On my system, it makes us wait 11ms instead of more than a
second.
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Dec 4, 2025
Copy link
Member

@spholz spholz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@spholz spholz added ✅ pr-maintainer-approved-but-awaiting-ci PR has been approved by a maintainer and can be merged after CI has passed and removed 👀 pr-needs-review PR needs review from a maintainer or community member labels Dec 4, 2025
@spholz spholz linked an issue Dec 4, 2025 that may be closed by this pull request
@spholz spholz merged commit b1e5661 into SerenityOS:master Dec 4, 2025
13 checks passed
@github-actions github-actions bot removed the ✅ pr-maintainer-approved-but-awaiting-ci PR has been approved by a maintainer and can be merged after CI has passed label Dec 4, 2025
@LucasChollet LucasChollet deleted the wake_up branch December 4, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SystemServer: Don't busy wait for /dev/gpu/connector0

2 participants