-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flush free_list if it's stale (#814)
Add an additional flag per CPU EBPF_EPOCH_PER_CPU_STALE. This flag is accessed by ebpf_epoch_exit and by the flush timer. This flag is set to on by the flush timer if the free_list is not empty. This flag is set to off by ebpf_epoch_exit (if set). If the flush timer sees this flag on and the free_list is not empty, then it will schedule an _ebpf_epoch_stale_worker DPC on the CPU (this DPC calls ebpf_epoch_enter/ebpf_epoch_exit). Resolves: #813 Signed-off-by: Alan Jowett alanjo@microsoft.com
- Loading branch information
1 parent
fc2f504
commit 2709dac
Showing
1 changed file
with
72 additions
and
9 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