Skip to content

Make use of cgroup.kill #3135

@kolyshkin

Description

@kolyshkin

Cgroup v2 Kernel 5.14+ implements cgroup.kill which does the same thing that we try to do in signalAllProcesses

func signalAllProcesses(m cgroups.Manager, s os.Signal) error {

but in the kernel and reliably.

Since we're using signalAllProcesses mostly to send SIGKILL to container (with the exception of runc kill --all), this needs to be moved to cgroup managers to benefit from the new feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions