Skip to content

Commit

Permalink
auto_update
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Apr 12, 2024
1 parent 31f1ec9 commit f3ff34e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/_posts/dpdk/dpdk_vdpa热迁移-脏页标记.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ log_base 每bit代表一个page, 0表示没有改变过,1表示改变过
假设 page 的值为 9,这意味着我们需要标记第 9 个页面已修改。
计算 page / 8 得到 1,表示log_base[1]中存储第 9 个页面的状态。
计算 page % 8 得到 1,表示第 9 个页面的状态用log_base[1]中的bit 1存储。

0 comments on commit f3ff34e

Please sign in to comment.