Should _ebpf_epoch_cpu_table[cpu_id].non_preemptible_epoch be split into entry/exit epochs? #442
-
Hypothesis: Note: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The main principles of the epoch logic are:
Issues: Can we take a middle approach? When the garbage collector thread runs, it can check the amount of zombied memory that are pending deletion, and if it exceeds a threshold, only then queue DPC? |
Beta Was this translation helpful? Give feedback.
-
I think I know how to make this performant and a lot simpler:
Given that IRQL = Dispatch implies non-preemption, this means the thread accessing _ebpf_epoch_cpu_table[current_cpu] always has exclusive access. |
Beta Was this translation helpful? Give feedback.
I think I know how to make this performant and a lot simpler:
Given that IRQL = Dispatch implies non-preemption, this means the thread accessing _ebpf_epoch_cpu_table[current_cpu] always has exclusive access.