Skip to content

Remove the disable provider free parameter of jemalloc pool #911

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

Conversation

ldorau
Copy link
Contributor

@ldorau ldorau commented Nov 19, 2024

Description

Remove the disable_provider_free parameter of jemalloc pool.
Replace it with the Coarse provider in the example.

Fixes: #904

Requires:

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

@ldorau ldorau requested a review from a team as a code owner November 19, 2024 08:05
@ldorau ldorau marked this pull request as draft November 19, 2024 12:10
@ldorau ldorau changed the title Remove the disable provider free parameter of jemalloc pool [DRAFT] Remove the disable provider free parameter of jemalloc pool Nov 19, 2024
@ldorau ldorau force-pushed the Remove_the_disable_provider_free_parameter_of_jemalloc_pool branch 5 times, most recently from 272bee1 to 7fb605d Compare December 2, 2024 07:45
@ldorau ldorau changed the title [DRAFT] Remove the disable provider free parameter of jemalloc pool Remove the disable provider free parameter of jemalloc pool Dec 2, 2024
@ldorau ldorau force-pushed the Remove_the_disable_provider_free_parameter_of_jemalloc_pool branch 2 times, most recently from b38cc45 to 2f1aa28 Compare December 5, 2024 10:48
@ldorau ldorau requested a review from vinser52 December 5, 2024 10:49
@ldorau ldorau marked this pull request as ready for review December 5, 2024 10:49
@ldorau ldorau requested a review from vinser52 December 5, 2024 14:25
@ldorau ldorau force-pushed the Remove_the_disable_provider_free_parameter_of_jemalloc_pool branch from 2f1aa28 to 3d4093a Compare December 6, 2024 07:07
Remove the disable_provider_free parameter of jemalloc pool
and all umfJemallocPoolParams*() API.

Fixes: oneapi-src#904

Signed-off-by: Lukasz Dorau <[email protected]>
@ldorau ldorau force-pushed the Remove_the_disable_provider_free_parameter_of_jemalloc_pool branch from 3d4093a to 4394ed7 Compare December 6, 2024 07:09
@ldorau
Copy link
Contributor Author

ldorau commented Dec 6, 2024

@bratpiorka @vinser52 please re-review.

@bratpiorka
Copy link
Contributor

I like the line add/remove statistics in this PR: +4 −287 :D

@vinser52
Copy link
Contributor

vinser52 commented Dec 6, 2024

Since it is an API change, let's include it in 0.10. I do not want this API to appear in 0.10 and then be removed.

@ldorau
Copy link
Contributor Author

ldorau commented Dec 6, 2024

@lukaszstolarczuk @bratpiorka 0.10 ?

@vinser52
Copy link
Contributor

vinser52 commented Dec 6, 2024

Ok, after the discussion with @bratpiorka we agreed not to merge it in 0.10. The reason is that this PR depends on coarse provider changes and would require a lot of related changes to be merged into the 0.10. And we would like to avoid that. jemalloc is not used by oneAPI anyway.

@lukaszstolarczuk lukaszstolarczuk merged commit 109f4b2 into oneapi-src:main Dec 6, 2024
77 checks passed
@ldorau ldorau deleted the Remove_the_disable_provider_free_parameter_of_jemalloc_pool branch December 6, 2024 10:27
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.

The disable_provider_free option of jemalloc cause memory leak
4 participants