Skip to content

pft: Enable multi-map support#1

Open
punitagrawal wants to merge 1 commit into
gormanm:masterfrom
punitagrawal:enable-multimap/v1
Open

pft: Enable multi-map support#1
punitagrawal wants to merge 1 commit into
gormanm:masterfrom
punitagrawal:enable-multimap/v1

Conversation

@punitagrawal

Copy link
Copy Markdown

The code to create multiple memory regions (one per thread) is available but commented out. The feature is useful to evaluate the benefits of per-VMA locks[0] patchset which breaks the mmap_lock covering the entire address space into locks per region of memory.

As the code was able to create multiple regions (verified via /proc/$$/maps), enable it for wider usage.

The code to create multiple memory regions (one per thread) is
available but commented out. The feature is useful to evaluate the
benefits of per-VMA locks[0] patchset which breaks the mmap_lock
covering the entire address space into locks per region of memory.

As the code was able to create multiple regions (verified via
/proc/$$/maps), enable it for wider usage.

Signed-off-by: Punit Agrawal <punit.agrawal@bytedance.com>
@punitagrawal

Copy link
Copy Markdown
Author

I am not sure the problems that caused the feature to be disabled but it seemed to work correctly in local tests. If the situation has changed, it'd be good to get this enabled. I can try to address the issues if there are any pointers.

Once merged here, I would like to add a workload in mm-tests enabling this as well.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant