Add support for unlimited map size #3323
saxena-anurag
started this conversation in
Ideas
Replies: 1 comment
-
Proposal: Instead keep using non-0 map size, but ebpfcore ignores the max size. Most likely the same is done by Linux. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are some production cases possible where it is hard to predict the maximum map size that will be needed beforehand. HVCI requirements (hence native modules) also makes harder to change the map size at runtime.
One possible solution for this is to support unlimited map size. This support can be added for all maps except array map types, and LRU hash. This should not cause any verification or safety issues, at the same time allowing unlimited size for hash maps.
Proposal
0
map size to indicate unlimited entries.0
map size n the verification step.Beta Was this translation helpful? Give feedback.
All reactions