v3
2026-10-27
liveupdate 可扩展序列化头 · v3
为 liveupdate 序列化载荷引入可扩展 luo_ser_hdr 与 DECLARE_LUO_SER_WRAP,让各子系统声明特性并实现细粒度 ABI 兼容。
原始补丁链接
子 Patch(4)
1/4
liveupdate: Remove __packed from LUO and memfd ABI structures
All structures in include/linux/kho/abi/luo.h (struct luo_ser, struct luo_file_ser, struct luo_file_set_ser, struct luo_session_ser, struct luo_flb_header_ser, struct luo_flb_ser) and include/linux/kh
2/4
liveupdate: Add feature header for fine-grained ABI compatibility
[liveupdate: Add feature header for fine-grained ABI compatibility] [patchwork series v3] submitter=Tarun Sahu patches (4): [RFC,v3,1/4] liveupdate: Remove __packed from LUO and memfd ABI structures
3/4
mm: memfd_luo: Add the feature header
Precede struct memfd_luo_ser with the 8-byte struct luo_ser_hdr for memfd preservation. The source kernel writes the state through struct memfd_luo_ser_wrap, declared with DECLARE_LUO_SER_WRAP(): D
4/4
liveupdate: Add KUnit test for the feature header helpers
Add a KUnit test suite in lib/tests/liveupdate_feature_kunit.c covering the Live Update feature header declared in include/linux/kho/abi/luo.h. The suite contains two focused test cases: - luo_ser_hd