Skip to content

malloc_usable_size() segfaults under the proxy library based on the jemalloc pool #894

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
ldorau opened this issue Nov 13, 2024 · 1 comment · Fixed by #941 or #952
Closed

malloc_usable_size() segfaults under the proxy library based on the jemalloc pool #894

ldorau opened this issue Nov 13, 2024 · 1 comment · Fixed by #941 or #952
Assignees
Labels
bug Something isn't working

Comments

@ldorau
Copy link
Contributor

ldorau commented Nov 13, 2024

malloc_usable_size() segfaults under the proxy library based on the jemalloc pool.

When the proxy library is based on the scalable pool malloc_usable_size() works correctly.

Ref: #883

Root cause:

op_malloc_usable_size() in pool_jemalloc calls malloc_usable_size@libumf_proxy instead of malloc_usable_size@jemalloc what causes an infinite recursive loop of function calls and a segfault as a result.

@ldorau ldorau added the bug Something isn't working label Nov 13, 2024
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 13, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library. The size threshold is set to 64 bytes
in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library (Linux only yet). The size threshold
is set to 64 bytes in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library (Linux only yet). The size threshold
is set to 64 bytes in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library (Linux only yet). The size threshold
is set to 64 bytes in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library (Linux only yet). The size threshold
is set to 64 bytes in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library (Linux only yet). The size threshold
is set to 64 bytes in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library (Linux only yet). The size threshold
is set to 64 bytes in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library (Linux only yet). The size threshold
is set to 64 bytes in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library (Linux only yet). The size threshold
is set to 64 bytes in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@ldorau ldorau changed the title malloc_usable_size() segfaults under the proxy library based on the jemalloc pool with the size threshold enabled malloc_usable_size() segfaults under the proxy library based on the jemalloc pool Nov 14, 2024
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
This WA for the issue:
oneapi-src#894
It protects us from a recursion in malloc_usable_size()
when the JEMALLOC proxy_lib_pool is used.

TODO: remove this WA when the issue is fixed.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 14, 2024
The proxyLib_size_threshold_* tests test the size threshold
of the proxy library (Linux only yet). The size threshold
is set to 64 bytes in this test, so all allocations of:
1) size <  64 go through the default system allocator
   and (umfPoolByPtr(ptr_size < 64) == nullptr)
2) size >= 64 go through the proxy lib allocator
   and (umfPoolByPtr(ptr_size >= 64) != nullptr).

Ref: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 28, 2024
Link statically with custom jemalloc built from sources
with the following options enabled:
--with-jemalloc-prefix=je_
--disable-initial-exec-tls

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 28, 2024
Link statically with custom jemalloc built from sources
with the following options enabled:
--with-jemalloc-prefix=je_
--disable-initial-exec-tls

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 28, 2024
Link statically with custom jemalloc built from sources
with the following options enabled:
--with-jemalloc-prefix=je_
--disable-initial-exec-tls

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 28, 2024
Link statically with custom jemalloc built from sources
with the following options enabled:
--with-jemalloc-prefix=je_
--disable-initial-exec-tls

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 28, 2024
Link statically with custom jemalloc built from sources
with the following options enabled:
--with-jemalloc-prefix=je_
--disable-initial-exec-tls

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 28, 2024
Link statically with custom jemalloc built from sources
with the following options enabled:
--with-jemalloc-prefix=je_
--disable-initial-exec-tls

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 28, 2024
Link statically with custom jemalloc built from sources
with the following options enabled:
--with-jemalloc-prefix=je_
--disable-initial-exec-tls

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 29, 2024
Link statically with custom jemalloc built from sources
with the following options enabled:
--with-jemalloc-prefix=je_
--disable-initial-exec-tls

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Nov 29, 2024
Link statically with custom jemalloc built from sources
with the following options enabled:
--with-jemalloc-prefix=je_
--disable-initial-exec-tls

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 2, 2024
Link statically with custom jemalloc built from sources
with the following non-default options enabled:

--with-jemalloc-prefix=je_ - add je_ prefix to all public APIs
--disable-cxx - Disable C++ integration. This will cause new and delete
                operators implementations to be omitted.
--disable-initial-exec-tls - Disable the initial-exec TLS model for jemalloc's
                internal thread-local storage (on those platforms that support
                explicit settings). This can allow jemalloc to be dynamically
                loaded after program startup (e.g. using dlopen).

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@ldorau
Copy link
Contributor Author

ldorau commented Dec 2, 2024

The fix is ready, please review: #941

ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 2, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 3, 2024
Link statically with custom jemalloc built from sources
with the following non-default options enabled:

--with-jemalloc-prefix=je_ - add je_ prefix to all public APIs
--disable-cxx - Disable C++ integration. This will cause new and delete
                operators implementations to be omitted.
--disable-initial-exec-tls - Disable the initial-exec TLS model for jemalloc's
                internal thread-local storage (on those platforms that support
                explicit settings). This can allow jemalloc to be dynamically
                loaded after program startup (e.g. using dlopen).

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 3, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 4, 2024
Link statically with custom jemalloc built from sources
with the following non-default options enabled:

--with-jemalloc-prefix=je_ - add je_ prefix to all public APIs
--disable-cxx - Disable C++ integration. This will cause new and delete
                operators implementations to be omitted.
--disable-initial-exec-tls - Disable the initial-exec TLS model for jemalloc's
                internal thread-local storage (on those platforms that support
                explicit settings). This can allow jemalloc to be dynamically
                loaded after program startup (e.g. using dlopen).

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 4, 2024
Link statically with custom jemalloc built from sources
with the following non-default options enabled:

--with-jemalloc-prefix=je_ - add je_ prefix to all public APIs
--disable-cxx - Disable C++ integration. This will cause new and delete
                operators implementations to be omitted.
--disable-initial-exec-tls - Disable the initial-exec TLS model for jemalloc's
                internal thread-local storage (on those platforms that support
                explicit settings). This can allow jemalloc to be dynamically
                loaded after program startup (e.g. using dlopen).

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 4, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 4, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 4, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 4, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 4, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 4, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 4, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
@ldorau ldorau closed this as completed in e95d92e Dec 5, 2024
ldorau added a commit to ldorau/unified-memory-framework that referenced this issue Dec 5, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
lplewa pushed a commit to lplewa/unified-memory-framework that referenced this issue Dec 10, 2024
Link statically with custom jemalloc built from sources
with the following non-default options enabled:

--with-jemalloc-prefix=je_ - add je_ prefix to all public APIs
--disable-cxx - Disable C++ integration. This will cause new and delete
                operators implementations to be omitted.
--disable-initial-exec-tls - Disable the initial-exec TLS model for jemalloc's
                internal thread-local storage (on those platforms that support
                explicit settings). This can allow jemalloc to be dynamically
                loaded after program startup (e.g. using dlopen).

Fixes: oneapi-src#891
Fixes: oneapi-src#894
Fixes: oneapi-src#903

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
lplewa pushed a commit to lplewa/unified-memory-framework that referenced this issue Dec 10, 2024
This reverts commit a4fced6.

Fixes: oneapi-src#894

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant