Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ros2_control_node] Add the realtime_tools lock_memory method to prevent page faults #1822

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

saikishor
Copy link
Member

Add lock_memory to avoid page faults and lock the memory at the beginning to physical RAM

@saikishor saikishor changed the title Add the realtime_tools lock_memory method to prevent page faults [ros2_control_node] Add the realtime_tools lock_memory method to prevent page faults Oct 30, 2024
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.60%. Comparing base (832602d) to head (48ec00a).
Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1822   +/-   ##
=======================================
  Coverage   87.60%   87.60%           
=======================================
  Files         120      120           
  Lines       12224    12226    +2     
  Branches     1093     1093           
=======================================
+ Hits        10709    10711    +2     
  Misses       1125     1125           
  Partials      390      390           
Flag Coverage Δ
unittests 87.60% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
controller_manager/src/ros2_control_node.cpp 89.18% <100.00%> (+0.61%) ⬆️

bmagyar
bmagyar previously approved these changes Oct 31, 2024
@bmagyar bmagyar added backport-humble This label should be used by maintainers only! Label triggers PR backport to ROS2 humble. backport-iron labels Oct 31, 2024
Co-authored-by: Bence Magyar <[email protected]>
Copy link
Member

@destogl destogl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This is great!

Copy link
Contributor

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

binary-testing build should be green after ros/rosdistro#43337 is merged

@bmagyar bmagyar merged commit e6e69c1 into ros-controls:master Nov 4, 2024
15 of 21 checks passed
mergify bot pushed a commit that referenced this pull request Nov 4, 2024
…ent page faults (#1822)

(cherry picked from commit e6e69c1)

# Conflicts:
#	doc/release_notes.rst
mergify bot pushed a commit that referenced this pull request Nov 4, 2024
…ent page faults (#1822)

(cherry picked from commit e6e69c1)

# Conflicts:
#	doc/release_notes.rst
@saikishor saikishor deleted the lock_memory branch November 4, 2024 20:08
bmagyar pushed a commit that referenced this pull request Nov 5, 2024
bmagyar pushed a commit that referenced this pull request Nov 5, 2024
saikishor added a commit to pal-robotics-forks/ros2_control that referenced this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-humble This label should be used by maintainers only! Label triggers PR backport to ROS2 humble.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants