Re: [PATCH v3] io_uring: annotate remote tasks for kcoverage

Jann Horn <[email protected]>
Newsgroups org.kernel.vger.io-uring
Message-ID <CAG48ez0uaaoxjT21yekJ+J8aUiDJ1o-eOx0vHx_zBmLR69EqOg@mail.gmail.com>
On Tue, Jun 23, 2026 at 6:37 PM Jann Horn <[email protected]> wrote:
> On Tue, May 26, 2026 at 6:49 PM Robert Femmer <[email protected]> wrote:
> > Fuzzers use coverage information to guide generation of test cases
> > towards new or interesting code paths. Syzkaller, specifically, makes
> > use kcoverage (CONFIG_KCOV). Coverage information is not collected for
> > kernel tasks unless annotated by kcov_remote_start and kcov_remote_stop.
> > This patch annotates io-uring's work queue and sqpoll tasks.
>
> I think this is a useful change overall.
>
> @maintainers: For context, this should have no impact on normal builds
> - "struct kcov_common_handle_id" is zero-sized in normal builds, and
> all the helpers used here are empty inline functions.

(That was supposed to be "are empty inline functions in normal
builds". I should've re-read this before hitting send...)

> > Depends-on: 20260430-kcov-refactor-common-handle-v1-1-23a0c7a0ba38@google.com

(This landed in mainline in the current merge window.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.