摘要: if has("cscope") " set cscopequickfix=s-,c-,d-,i-,t-,e- set cscopetag set csto=1 set cst set nocsverb if filereadable("cscope.out") cs add cscope.out 阅读全文
posted @ 2025-12-23 14:29 春知夏 阅读(4) 评论(0) 推荐(0)
摘要: ubuntu环境 vmware支持虚拟化 安装 gcc-aarch64-linux-gnu make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- 内核: kgdb debug_info busybox: static library; no tc find 阅读全文
posted @ 2025-12-13 13:18 春知夏 阅读(3) 评论(0) 推荐(0)
摘要: virt-install创建的虚拟机,需要在grub.cfg配置console=ttyS0才可以virsh console登录 阅读全文
posted @ 2025-03-07 16:46 春知夏 阅读(18) 评论(0) 推荐(0)
摘要: top level program 是指环境是最顶层,没有引入rnrs等的库 scheme script 估计是和REPL中环境一样 boot code是初始化的代码 阅读全文
posted @ 2025-01-04 22:02 春知夏 阅读(22) 评论(0) 推荐(0)
摘要: kref_put(0)会引发内存错误,导致死机。 写入已经释放的内存也会引发死机。 阅读全文
posted @ 2024-10-23 14:08 春知夏 阅读(75) 评论(0) 推荐(0)
摘要: c宏中的函数展开蓝色集合如果展开时包含除了祖先展开内容之外的内容,会清零。 宏每次深度优先展开一次,每增加一次EVAL,就多深度优先展开一次。 点击查看代码 #define FOO(name) (uint64_t)name , #define EMPTY() #define DEFER(id) id 阅读全文
posted @ 2023-04-28 23:05 春知夏 阅读(52) 评论(0) 推荐(0)
摘要: modprobe vfio-pci 需要设置内核启动参数intel_iommu=on iommu=pt 设置内核启动参数hugepagesz=2M hugepages=512 或者 default_hugepagesz=1G hugepagesz=1G hugepages=1 从源代码安装opens 阅读全文
posted @ 2021-09-06 17:12 春知夏 阅读(328) 评论(0) 推荐(0)
摘要: -x eth0 RX flow hash indirection table -n eno2 rx-flow-hash esp4 显示hash的计算部分 -g eth0 -l eth0 显示队列 阅读全文
posted @ 2021-08-17 17:51 春知夏 阅读(153) 评论(0) 推荐(0)
摘要: igb网卡驱动 do_IRQ -->handle_irq -->generic_handle_irq_desc -->handle_edge_irq --> handle_irq_event -->igb_msix_ring -->napi_schedule -->list_add_tail __d 阅读全文
posted @ 2021-08-13 17:51 春知夏 阅读(190) 评论(0) 推荐(0)
摘要: esp_output() --> esp_output_tail() --> crypto_aead_encrypt() 执行加密 转发和自己发出,最后都会走到dst_output,然后xfrm4_output(),进行加密。 阅读全文
posted @ 2021-07-29 15:15 春知夏 阅读(527) 评论(0) 推荐(0)