khugepaged 折叠 mTHP 功能获 Andrew Morton 合并确认入 mm-unstable、smaps_rollup 改用 per-VMA lock 降低 lmkd 高频读取延迟、alloc_tag 新增 ioctl 过滤接口提升 /proc/allocinfo 查询效率——内存子系统性能与可观测性同步推进。

阅读全文 »

今日速览:DAMON 提出基于自动调优的热区折叠大页的新方案;dma-buf 新增 system_cc_shared heap 为 CoCo VM 提供显式共享内存分配;多个 compaction 和 pagemap 相关修复与 RFC 活跃评审中。

阅读全文 »

一句话导读:Christoph Hellwig 发布 block swap I/O batching 系列,将 swap_iocb 机制从远端文件系统扩展到块设备;同时 ANON_VMA_LAZY 系列提案尝试推迟匿名 VMA 的 anon_vma 创建以降低 fork 开销。

阅读全文 »

今天内存子系统的焦点落在两处:khugepaged 迎来"collapse hint"机制,允许用户空间或上层组件提示哪些 VMA 更值得折叠 huge page,有望系统性地提高 THP 覆盖效率;同时 zram/zsmalloc 的锁竞争优化继续推进,新版本收到了 reviewer 的明确认可。

阅读全文 »

今天最值得关注的是 zswap 大页换入的 RFC v2 系列,它有望打破 zswap 场景下大页换入长期被禁用的僵局,对手机端低内存场景的 refault 性能影响深远。此外,Ard Biesheuvel 的 arm64 内核线性映射解耦系列继续推进,为 KASLR 和内存安全加固铺路。

阅读全文 »

git send-email

sudo apt install git-email

配置 git

.git/config

参照https://gist.github.com/jasonkarns/4354421:

1
2
3
4
5
6
7
[sendemail]
confirm = auto
smtpServer = smtp.gmail.com
smtpServerPort = 587
smtpEncryption = tls
smtpUser = <gmail email address>
smtpPass = <app-specific-password>

设置应用密码(要开启两步验证

https://security.google.com/settings/security/apppasswords

1
Google Account -> Security -> Signing in to Google : App passwords

设置完之后就可以用git send-email发送邮件了

使用 mutt

sudo apt-get install mutt

参照https://ouonline.net/mutt-notes:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ~/.muttrc

# ================ IMAP ====================

set imap_user = "<your-mail-name>@gmail.com"
set imap_pass = '<your-app-password>'

# ================ SMTP ====================

set smtp_url = "smtp://<your-mail-name>@smtp.gmail.com:587/"
set smtp_pass = '<your-app-password>'
set ssl_force_tls = yes # Require encrypted connection

# ================ GMail =====================

set folder = "imaps://imap.gmail.com/"
# 根据 mutt 中邮箱列表是中文还是英文来配置
set spoolfile = "+INBOX" # 或者 "+[Gmail]/所有邮件"
set record = "+[Gmail]/已发邮件"
set postponed = "+[Gmail]/草稿"
set mbox = "+[Gmail]/所有邮件"
set trash = "+[Gmail]/已删除邮件"

# ================ Composition ====================

set editor = emacs
set edit_headers = yes # See the headers when editing
set charset = UTF-8 # value of $LANG; also fallback for send_charset
set include # 回复时包含原文
# Sender, email address, and sign-off line must match
unset use_domain # because joe@localhost is just embarrassing
set realname = "<your-real-name>"
set from = "<your-mail-name>@gmail.com"
set use_from = yes

配置好通过mutt命令看发邮件。

0%