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

Add group affinity stubs #218

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

Alan-Jowett
Copy link
Member

This pull request introduces new functions to manage group affinity for threads, updates the kernel code to implement these functions, and adds corresponding tests to ensure their correctness. The most important changes include the addition of new API functions, their implementation, and the creation of test cases.

New API Functions:

  • inc/usersim/ke.h: Added KeSetSystemGroupAffinityThread and KeRevertToUserGroupAffinityThread to manage group affinity for threads.

Implementation:

  • src/ke.cpp: Implemented KeSetSystemGroupAffinityThread and KeRevertToUserGroupAffinityThread to set and revert group affinity for the current thread.

Testing:

  • tests/ke_test.cpp: Added test cases to verify the functionality of KeSetSystemGroupAffinityThread and KeRevertToUserGroupAffinityThread.

Signed-off-by: Alan Jowett <[email protected]>
@Alan-Jowett Alan-Jowett merged commit 68b423a into microsoft:main Oct 8, 2024
9 checks passed
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.

2 participants