-
Notifications
You must be signed in to change notification settings - Fork 87
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
Enormous number of sync objects #200
Comments
With the following changes
after running KTSAN and Trinity for almost an hour (surprised that the kernel managed to live that long) we get:
The number of syncs objects is more or less stable:
|
With newer Trinity (1.5+) the number of objects doesn't seem to stabilize:
The most used are still different page flags and refcounters. |
Maybe it uses more memory (allocates more pages)? |
Maybe. It also creates sync objects from shmem_write_end, which didn't happen before. |
With xchg() in vmalloc.c and all syncs from page_structs ignored the number of syncs objects is significantly lower and more or less stable:
Syncs from radix_tree_insert might keep popping up up to 500k, but they eventually go away. |
The text was updated successfully, but these errors were encountered: