Skip to content

Conversation

@mykyta5
Copy link
Contributor

@mykyta5 mykyta5 commented Nov 3, 2025

No description provided.

# Describe the purpose of this series. The information you put here
# will be used by the project maintainer to make a decision whether
# your patches should be reviewed, and in what priority order. Please be
# very detailed and link to any relevant discussions or sites that the
# maintainer can review to better understand your proposed changes. If you
# only have a single patch in your series, the contents of the cover
# letter will be appended to the "under-the-cut" portion of the patch.

# Lines starting with # will be removed from the cover letter. You can
# use them to add notes or reminders to yourself. If you want to use
# markdown headers in your cover letter, start the line with ">#".

# You can add trailers to the cover letter. Any email addresses found in
# these trailers will be added to the addresses specified/generated
# during the b4 send stage. You can also run "b4 prep --auto-to-cc" to
# auto-populate the To: and Cc: trailers based on the code being
# modified.

Signed-off-by: Mykyta Yatsenko <[email protected]>

--- b4-submit-tracking ---
# This section is used internally by b4 prep for tracking purposes.
{
  "series": {
    "revision": 1,
    "change-id": "20251103-impl-f613ee9753be",
    "prefixes": []
  }
}
Background
We are working on a set of changes that enables support for implicit
kfunc arguments. The gist of this: for each kfunc bpf_foo_impl(arg,
aux__prog) we are going to generate a BTF type for the function
bpf_foo(arg) and make verifier resolve the generated type to call the
impl one with aux__prog argument set to valid struct bpf_prog_aux.

Problem
Current implementations of bpf_task_work_schedule_{resume|signal}() and
bpf_stream_vprintk() do not comply with this new format, so they will
not benefit from this new feature.

Solution
Rename kfuncs:
bpf_task_work_schedule_resume() -> bpf_task_work_schedule_resume_impl()
bpf_task_work_schedule_signal() -> bpf_task_work_schedule_signal_impl()
bpf_stream_vprintk() -> bpf_stream_vprintk_impl()

As these are quite new, we do not expect any major issues for the users.

Signed-off-by: Mykyta Yatsenko <[email protected]>
@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot force-pushed the bpf-next_base branch 5 times, most recently from de0745f to efe6edf Compare November 6, 2025 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant