Skip to content

feat(tty): 为TTY设备添加page_cache方法并处理无页面缓存的情况#1428

Merged
fslongjin merged 1 commit intoDragonOS-Community:masterfrom
fslongjin:fix-tty-page-cache
Dec 2, 2025
Merged

feat(tty): 为TTY设备添加page_cache方法并处理无页面缓存的情况#1428
fslongjin merged 1 commit intoDragonOS-Community:masterfrom
fslongjin:fix-tty-page-cache

Conversation

@fslongjin
Copy link
Member

  • 在TTY设备中实现page_cache方法,返回None以表明字符设备不需要页面缓存
  • 在页面错误处理中增加对无页面缓存情况的处理,避免panic并返回VM_FAULT_SIGBUS

- 在TTY设备中实现page_cache方法,返回None以表明字符设备不需要页面缓存
- 在页面错误处理中增加对无页面缓存情况的处理,避免panic并返回VM_FAULT_SIGBUS

Signed-off-by: longjin <longjin@DragonOS.org>
@github-actions github-actions bot added the enhancement New feature or request label Dec 2, 2025
@fslongjin fslongjin merged commit b466adf into DragonOS-Community:master Dec 2, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant