Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
b165faa88d
!44 [sync] PR-39: Revert "Support initializing HBW nodes from memory_locality" patch
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2025-03-10 06:27:51 +00:00
JiangShui Yang
28f96d1a5c Revert "Support initializing HBW nodes from memory_locality" patch
The interface that supports the function of initializing hardware
bandwidth nodes form memory_locality is deleted from the oprating system
kernel. Therefore, the memkind interface is deleted because the memkind
interface needs to work with the kernel.

Signed-off-by: JiangShui Yang <yangjiangshui@h-partners.com>
(cherry picked from commit 597108c78540e6eb3d10866d765929f776d9f1f4)
2025-03-10 14:27:10 +08:00
openeuler-ci-bot
2e11589c7c
!38 add support sw_64
From: @maqi77 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2025-03-07 04:14:53 +00:00
openeuler-ci-bot
d4c2c58f77
!38 add support sw_64
From: @maqi77 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2025-03-07 04:14:53 +00:00
maqi
ff91e12372 add support sw_64 2025-02-27 17:41:03 +08:00
openeuler-ci-bot
f9af520c99
!33 [sync] PR-24: Add the required library hwloc-devel
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-08-23 02:11:19 +00:00
Jie Liu
9dc121ae3a Add the required library hwloc-devel
Add the required library hwloc-devel.

Signed-off-by: Jie Liu <liujie375@h-partners.com>
(cherry picked from commit a2001a91236ba223f1325a006cfa010c704eb174)
2024-08-22 20:26:35 +08:00
openeuler-ci-bot
c3c3c6bdf2
!19 Support initializing HBW nodes from memory_locality
From: @liujie-248683921 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2023-10-24 02:09:30 +00:00
Yicong Yang
db00894ccf Support initializing HBW nodes from memory_locality
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
2023-10-19 15:47:18 +08:00
openeuler-ci-bot
7ad0778e3f
!14 enable loongarch64 architecture
From: @haomi0602 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2023-08-19 02:08:39 +00:00
haomimi
b3c5a76a06 enable loongarch64 architecture 2023-08-18 14:23:00 +08:00
2 changed files with 45 additions and 3 deletions

View File

@ -0,0 +1,26 @@
From 9d68f6afce39f03e5301383193ee6d46a1cad584 Mon Sep 17 00:00:00 2001
From: maqi <maqi@uniontech.com>
Date: Fri, 15 Nov 2024 16:35:15 +0800
Subject: [PATCH] add sw64 support
---
jemalloc/include/jemalloc/internal/quantum.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/jemalloc/include/jemalloc/internal/quantum.h b/jemalloc/include/jemalloc/internal/quantum.h
index c22d753..3fbef00 100644
--- a/jemalloc/include/jemalloc/internal/quantum.h
+++ b/jemalloc/include/jemalloc/internal/quantum.h
@@ -62,6 +62,9 @@
defined(__SH4_SINGLE_ONLY__))
# define LG_QUANTUM 4
# endif
+# ifdef __sw_64__
+# define LG_QUANTUM 4
+# endif
# ifdef __tile__
# define LG_QUANTUM 4
# endif
--
2.33.0

View File

@ -1,14 +1,15 @@
Name: memkind
Summary: Extensible Heap Manager for User
Version: 1.14.0
Release: 2
Release: 7
License: BSD
URL: http://memkind.github.io/memkind
Source0: https://github.com/memkind/memkind/archive/v1.14.0/%{name}-%{version}.tar.gz
Patch0001: 0001-support-multi-threading-build.patch
Patch0003: 0003-memkind-add-sw64-support.patch
BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++
ExclusiveArch: x86_64 aarch64 riscv64
BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++ hwloc-devel
ExclusiveArch: x86_64 aarch64 riscv64 loongarch64 sw_64
%description
The kinds of memory are defined by operating system memory policies that have been applied
@ -82,6 +83,21 @@ popd
%{_mandir}/man7/*
%changelog
* Thu Feb 20 2025 JiangShui Yang <yangjiangshui@h-partners.com> - 1.14.0-7
- Revert "Support initializing HBW nodes from memory_locality" patch
* Mon Feb 17 2025 maqi <maqi@uniontech.com> - 1.14.0-6
- add support sw_64
* Mon Jul 1 2024 Jie Liu <liujie375@h-partners.com> - 1.14.0-5
- Support initializing HBW nodes from HMAT with libaray hwloc-devel
* Wed Oct 18 2023 Yicong Yang <yangyicong@hisilicon.com> - 1.14.0-4
- Support initializing HBW nodes from memory_locality on openEuler
* Fri Aug 18 2023 haomimi <haomimi@uniontech.com> - 1.14.0-3
- enable loongarch64 architecture
* Fri Aug 04 2023 Jingwiw <wangjingwei@iscas.ac.cn> - 1.14.0-2
- enable riscv64 architecture