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 6e71940 commit a87e343
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/_posts/dpdk/dpdk_vdpa热迁移-脏页标记.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ vhost_log_page(uint8_t *log_base, uint64_t page)
vhost_set_bit(page % 8, &log_base[page / 8]);
}
```
log_base 每bit代表一个page, 0表示没有改变过,1表示改变过
log_base 每bit代表一个page, 0表示没有改变过,1表示改变过
假设 page 的值为 9,这意味着我们需要标记第 9 个页面已修改。

0 comments on commit a87e343

Please sign in to comment.