Skip to content

Conversation

@fslongjin
Copy link
Member

  • 新增AtomicPageFlags结构体,支持无锁页面状态检查
  • 为Page结构添加原子标志操作(test_flags、set_flags、clear_flags等)
  • 实现页面锁原语(trylock、lock、unlock)和等待队列机制
  • 重构页面缓存、tmpfs、共享内存等模块使用原子标志操作
  • 优化脏页检查、页面同步等操作,减少锁竞争

- 新增AtomicPageFlags结构体,支持无锁页面状态检查
- 为Page结构添加原子标志操作(test_flags、set_flags、clear_flags等)
- 实现页面锁原语(trylock、lock、unlock)和等待队列机制
- 重构页面缓存、tmpfs、共享内存等模块使用原子标志操作
- 优化脏页检查、页面同步等操作,减少锁竞争

Signed-off-by: longjin <longjin@DragonOS.org>
@fslongjin
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e57e81ed78

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant