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

publisherがexitした際に該当heap領域のunmapをしていない #361

Open
Koichi98 opened this issue Feb 6, 2025 · 0 comments
Open

Comments

@Koichi98
Copy link
Contributor

Koichi98 commented Feb 6, 2025

publisherがexitした際にカーネルモジュール内ではpublisher_infoの解放等必要なremove処理を行っているが、agnocastlib側でも本来はsubscriberが該当する領域をunmap(&close fd)する必要がある。
ただ、現状のAutowareはあるpublisherがexitした際には基本的にMRMの対象になることが多いと考えられ、subscriberがunmapするよりも優先すべきことがあるはずである。Autowareの開発が進みfault tolerantな実装になった暁にはあるpublisherが離脱してもAutoware全体は動作し続けるため、適切な共有メモリのunmap処理も必要になる。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant