Open
Description
To make it simpler, a Landlock domains is currently a landlock_ruleset
struct. The use of this data structure includes fields which are useless for a domain, and a red-black tree which is not useful nor optimized for a read-only data structure.
To both improve performance and test coverage (by removing some WARN_ON_ONCE
checks), we should create a dedicated domain data type, mainly consisting of a hash table. We should be able to use hash_long()
.
We should first create a tool to benchmark domain use and measure the performance improvement related to this new data type, see #24.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress