Re: [PATCH v5] kcov: fix data corruption and race conditions on PREEMPT_RT by moving saved remote state to task_struct
From: Tetsuo Handa
Date: Tue Jul 07 2026 - 09:48:31 EST
On 2026/06/27 18:58, Tetsuo Handa wrote:
> Only compile tested. This version preserves kcov_percpu_data.lock which the past
> versions attempted to remove ( https://sashiko.dev/#/message/7aff4d71-a6a0-4898-9491-2a3973e9d0cc%40I-love.SAKURA.ne.jp )
> and explicitly passes context type instead of relying on buffer size in case
> a task context by chance requested buffer size which is equals to the size of
> buffers preallocated for the softirq context.
Since sashiko did not find new problem, can we start testing this version?
( https://sashiko.dev/#/patchset/8eef915c-96d4-4901-b404-60a19d5f9f54@xxxxxxxxxxxxxxxxxxx )