Repository navigation
Conversation
1. Added ExecStartPre to disable Transparent Huge Pages before dconfig daemon starts 2. Uses dde-thp-disable script to prevent THP-related memory issues Log: Disable THP before dde-dconfig-daemon startup fix(dde-dconfig-daemon): 服务启动前禁用透明大页 1. 新增 ExecStartPre 在 dconfig daemon 启动前禁用透明大页 2. 通过 dde-thp-disable 脚本避免 THP 导致的内存问题 Log: 在 dde-dconfig-daemon 启动前禁用透明大页 PMS: TASK-390043
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
deepin pr auto review你好!我是CodeGeeX。我已仔细审查了你提供的 Git Diff 输入。本次修改是在 以下是我从语法逻辑、代码质量、代码性能和代码安全四个维度提出的审查意见和改进建议: 1. 语法逻辑
2. 代码质量
3. 代码性能
4. 代码安全
综合修改建议基于以上分析,建议将 Diff 修改如下: [Unit]
Description=Deepin Dconfig Daemon
After=dbus.socket
[Service]
Type=dbus
User=deepin-daemon
BusName=org.desktopspec.ConfigManager
# Workaround: Disable THP to prevent potential performance latency spikes.
# The '+' prefix ensures this runs as root, as modifying THP requires admin privileges.
# The '-' prefix ignores errors if the script is missing or fails.
ExecStartPre=+-/usr/libexec/dde-thp-disable
ExecStart=/usr/bin/dde-dconfig-daemon
Environment=DSG_DATA_DIRS=/usr/share/dsg:/var/lib/linglong/entries/share/dsg核心改动说明:
|
|
TAG Bot New tag: 1.0.45 |
|
TAG Bot New tag: 1.0.46 |
|
TAG Bot New tag: 1.0.47 |
Log: Disable THP before dde-dconfig-daemon startup
fix(dde-dconfig-daemon): 服务启动前禁用透明大页
Log: 在 dde-dconfig-daemon 启动前禁用透明大页
PMS: TASK-390043