summaryrefslogtreecommitdiff
path: root/tools/systemd
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2023-02-06 02:00:54 +0000
committersongyanchao <[email protected]>2023-02-06 02:00:54 +0000
commita3801360451ccd2da65ac704192474aad7163f0e (patch)
tree25d2d3d447aeb2770f13c7dffdea13b81135151e /tools/systemd
parentcb1065a7e71330fd882b9c0bea2700e95abdf73c (diff)
✨ feat(TSG-13497): 修改mrenv,注释大页申请、释放操作
修改mrenv,注释大页申请、释放操作
Diffstat (limited to 'tools/systemd')
-rw-r--r--tools/systemd/mrenv-script16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/systemd/mrenv-script b/tools/systemd/mrenv-script
index 074c569..d8a598a 100644
--- a/tools/systemd/mrenv-script
+++ b/tools/systemd/mrenv-script
@@ -219,24 +219,24 @@ function huge_mount_2M()
function huge_alloc()
{
if [ ! $HUGEPAGE_NUM_1G -eq 0 ]; then
- huge_release_1G
- huge_alloc_1G
+ #huge_release_1G
+ #huge_alloc_1G
huge_mount_1G
fi
if [ ! $HUGEPAGE_NUM_2M -eq 0 ]; then
- huge_release_2M
- huge_alloc_2M
+ #huge_release_2M
+ #huge_alloc_2M
huge_mount_2M
fi
if [ $HUGEPAGE_NUM_1G -eq 0 ]; then
- huge_release_1G
+ #huge_release_1G
huge_mount_1G
fi
if [ $HUGEPAGE_NUM_2M -eq 0 ]; then
- huge_release_2M
+ #huge_release_2M
huge_mount_2M
fi
@@ -400,8 +400,8 @@ function start()
function stop()
{
marsiod_stop
- [ ! $? -eq 0 ] && return 1
- huge_release
+ #[ ! $? -eq 0 ] && return 1
+ #huge_release
[ ! $? -eq 0 ] && return 1
nic_unbind_ixgbe
[ ! $? -eq 0 ] && return 1