You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Jason Zhou <ja...@gmail.com> on 2024/07/23 20:53:45 UTC
Review Request 75102: [cgroups2] Let DeviceManager attach ebpf program
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75102/
-----------------------------------------------------------
Review request for mesos.
Repository: mesos
Description
-------
Currently, the device manager only keeps track of the state in memory,
and does not commit the changes by attaching an ebpf file to the
corresponding cgroup. We will now generate and attach the ebpf file
when configure and reconfigure are called.
Diffs
-----
src/slave/containerizer/device_manager/device_manager.cpp a392000ea08c997364e8d59429e0f3a24aa67b39
src/tests/device_manager_tests.cpp 398846bdd66fa2c78827fb8e25f1312545cc65a2
Diff: https://reviews.apache.org/r/75102/diff/1/
Testing
-------
Added extra testing steps on top of `configure` and `reconfigure` tests to ebpf program behavior via actual device accesses. Unit tests for DeviceManager pass
Thanks,
Jason Zhou