Skip to content

refine lock in ptrack_shmem_startup_hook() #39

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

Closed
wants to merge 1 commit into from

Conversation

monkeyqyf
Copy link

In the case of ptrack_map_size is 0, it's not necessary to lock and the critical area could be smaller.

@funny-falcon
Copy link
Contributor

Is it real problem which is need to be fixed?

@funny-falcon
Copy link
Contributor

funny-falcon commented May 16, 2024

Sorry, you looks strange: you did no any activity for 10 years, and now you send pull request which fixes what?
After history with liblzma I just don't want random contribution.
If you think this change really matters, spend the time to proove it: make reproducible script that shows benefits from the change.

@monkeyqyf
Copy link
Author

monkeyqyf commented May 17, 2024

Hi Sokolov, I'm studying ptrack and just think this code change could be a little harmless improvement, so raise this request as a try. Anyway it's glad to have this session.

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.

2 participants