-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v1.21.x] prov/shm: Touch all buffer pages after DSA page fault
Previously, it was up to user to set the optional FI_SHM_ENABLE_DSA_PAGE_TOUCH flag to enable optimization that reduces DSA page faults. If not set, performance may take a hit for workloads with high page fault counts. We now always enable this optimization, and thus remove the flag. Workloads with no page faults are not affected. DSA page faults will now always trigger touching all of the pages in the descriptor buffer (as it is done in dsa_touch_buffer_pages()), instead of just one individual faulting page at a time (as was done in dsa_handle_page_fault()). Signed-off-by: Jorge Cabrera <[email protected]> (cherry picked from commit a5d92f8)
- Loading branch information
Showing
4 changed files
with
1 addition
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters