会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
aspirs
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
41
下一页
2023年7月29日
linux tty uart
摘要: uart registers I/O portRead (DLAB=0)Write (DLAB=0)Read (DLAB=1)Write (DLAB=1) base RBR receiver buffer THR transmitter holding DLL divisor latch LSB D
阅读全文
posted @ 2023-07-29 16:48 aspirs
阅读(56)
评论(0)
推荐(0)
2023年7月2日
arm64 arch misc
摘要: 判断指令类型aarch64_insn_is_##abbr(u32 code) @code为32bit的asm指令 kernel\5.15\arch\arm64\include\asm\insn.h #define __AARCH64_INSN_FUNCS(abbr, mask, val) \ sta
阅读全文
posted @ 2023-07-02 21:13 aspirs
阅读(63)
评论(0)
推荐(0)
2023年6月28日
end io callback
摘要: ext4 fs end io callback(mpage_end_io) mpage_end_io+0x0/0x1c8 bio_endio+0x1cc/0x22c blk_update_request+0x1e8/0x484 mmc_blk_mq_complete_rq+0x28/0xb0 mmc
阅读全文
posted @ 2023-06-28 20:08 aspirs
阅读(66)
评论(0)
推荐(0)
2023年6月3日
dma
摘要: dma基础_一文读懂dma的方方面面 https://zhuanlan.zhihu.com/p/413978652
阅读全文
posted @ 2023-06-03 20:18 aspirs
阅读(15)
评论(0)
推荐(0)
page flow in IO flow
摘要: 1. page add to bio int f2fs_submit_page_bio(struct f2fs_io_info *fio) /* Allocate a new bio */ bio = __bio_alloc(fio, 1); if (bio_add_page(bio, page,
阅读全文
posted @ 2023-06-03 12:09 aspirs
阅读(40)
评论(0)
推荐(0)
2023年5月23日
tmp1
摘要: 关于O_CLOEXEC模式打开的文件描述符,我也不做什么过多解释了,大家只要知道进程调用exec时会关闭O_CLOEXEC模式打开的文件描述符就行了。 其中U_BOOT_CMD命令格式如下: U_BOOT_CMD(name,maxargs,rep,cmd,usage,help) 各个参数的意义如下:
阅读全文
posted @ 2023-05-23 14:27 aspirs
阅读(35)
评论(0)
推荐(0)
2023年4月23日
android OTA升级(VAB分区)
摘要: android OTA升级(VAB分区) 升级开始前,升级程序update_engine将要升级的slot标记为unsuccessful,调用boot_ctl的SetSlotAsUnbootable() hardware/interfaces/boot/1.1/default/boot_contro
阅读全文
posted @ 2023-04-23 11:55 aspirs
阅读(619)
评论(0)
推荐(0)
2023年4月15日
系统iowait和线程的iowait
摘要: 系统iowait和线程的iowait 系统iowait时间统计 在系统时钟中断时,会调用account_process_tick,如果是user tick,则增加user time;否则如果current线程不是idle,则增加system time;否则增加idle时间,idle可以再分为iowa
阅读全文
posted @ 2023-04-15 16:42 aspirs
阅读(267)
评论(0)
推荐(0)
2023年2月11日
tmp
摘要: 改code方式修改logcat buffer size 比如加在device下的device.mk里: PRODUCT_PROPERTY_OVERRIDES += \ ro.logd.size=5M 设置各种buffer size(main/system/crash) system/core/log
阅读全文
posted @ 2023-02-11 22:14 aspirs
阅读(119)
评论(0)
推荐(0)
2023年1月28日
page cache
摘要: page cache 往bdi_writeback的b_dirty链表上插入node(inode.i_io_list) __set_page_dirty_nobuffers()里调用__mark_inode_dirty(I_DIRTY_PAGES),这个函数里将此inode的i_state或上I_D
阅读全文
posted @ 2023-01-28 23:27 aspirs
阅读(74)
评论(0)
推荐(0)
1
2
3
4
5
···
41
下一页
公告