From 446408338c45670599750370ee0968482d82b8ee Mon Sep 17 00:00:00 2001 From: GG2002 Date: Sun, 3 Dec 2023 00:22:21 +0800 Subject: [PATCH] latex test3 --- .../24/{J1900-setting => J1900-setting/index.html} | 6 +++--- 2023/09/24/{cmu-15445-1 => cmu-15445-1/index.html} | 6 +++--- 2023/10/12/{cmu-15445-2 => cmu-15445-2/index.html} | 6 +++--- 2023/11/06/{cmu-15445-3 => cmu-15445-3/index.html} | 6 +++--- .../01/{codetop100note => codetop100note/index.html} | 6 +++--- archives/2021/11/index.html | 4 ++-- archives/2021/index.html | 4 ++-- archives/2023/09/index.html | 4 ++-- archives/2023/10/index.html | 4 ++-- archives/2023/11/index.html | 4 ++-- archives/2023/12/index.html | 4 ++-- archives/2023/index.html | 4 ++-- archives/index.html | 4 ++-- index.html | 12 ++++++------ tags/leetcode/index.html | 4 ++-- 15 files changed, 39 insertions(+), 39 deletions(-) rename 2021/11/24/{J1900-setting => J1900-setting/index.html} (78%) rename 2023/09/24/{cmu-15445-1 => cmu-15445-1/index.html} (72%) rename 2023/10/12/{cmu-15445-2 => cmu-15445-2/index.html} (62%) rename 2023/11/06/{cmu-15445-3 => cmu-15445-3/index.html} (63%) rename 2023/12/01/{codetop100note => codetop100note/index.html} (81%) diff --git a/2021/11/24/J1900-setting b/2021/11/24/J1900-setting/index.html similarity index 78% rename from 2021/11/24/J1900-setting rename to 2021/11/24/J1900-setting/index.html index 67d547a..5b8245c 100644 --- a/2021/11/24/J1900-setting +++ b/2021/11/24/J1900-setting/index.html @@ -1,7 +1,7 @@ 记一次折腾J1900的经历 | 羽殇之舞的个人博客 - + @@ -10,7 +10,7 @@ -
avatar
羽殇之舞
大三上开始摸鱼的博客,不会真的有人看吧,不会吧不会吧
Follow Me
\ No newline at end of file +
文章作者: 羽殇之舞
文章链接: http://gg2002.github.io/2021/11/24/J1900-setting/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 羽殇之舞的个人博客
avatar
羽殇之舞
大三上开始摸鱼的博客,不会真的有人看吧,不会吧不会吧
Follow Me
\ No newline at end of file diff --git a/2023/09/24/cmu-15445-1 b/2023/09/24/cmu-15445-1/index.html similarity index 72% rename from 2023/09/24/cmu-15445-1 rename to 2023/09/24/cmu-15445-1/index.html index 4c56d6f..9b038fe 100644 --- a/2023/09/24/cmu-15445-1 +++ b/2023/09/24/cmu-15445-1/index.html @@ -1,7 +1,7 @@ CMU15445 C++学习笔记-其一(Project 0) | 羽殇之舞的个人博客 - + @@ -10,7 +10,7 @@ -
avatar
羽殇之舞
大三上开始摸鱼的博客,不会真的有人看吧,不会吧不会吧
Follow Me
\ No newline at end of file +
文章作者: 羽殇之舞
文章链接: http://gg2002.github.io/2023/09/24/cmu-15445-1/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 羽殇之舞的个人博客
avatar
羽殇之舞
大三上开始摸鱼的博客,不会真的有人看吧,不会吧不会吧
Follow Me
\ No newline at end of file diff --git a/2023/10/12/cmu-15445-2 b/2023/10/12/cmu-15445-2/index.html similarity index 62% rename from 2023/10/12/cmu-15445-2 rename to 2023/10/12/cmu-15445-2/index.html index 39f5c84..19b4385 100644 --- a/2023/10/12/cmu-15445-2 +++ b/2023/10/12/cmu-15445-2/index.html @@ -1,7 +1,7 @@ CMU15445 C++学习笔记-其二(Project 1) | 羽殇之舞的个人博客 - + @@ -10,7 +10,7 @@ -

CMU15445 C++学习笔记-其二(Project 1)

0.png
大力出奇迹,函数大锁。
1.png
修改了NewPage,在写入Evict的页释放了函数大锁,主要目的是测试bug。
2.png
在FlushPage的时候释放函数大锁加页锁,在DeletePage写入Delete的页时释放了函数大锁,结果更差了。
3.png
// 分配一个空闲block;
// buf_pool_mutex_enter;
// 持有page_hash x lock;
// 检查page_hash中是否已被读入,如果是,表示另外一个线程已经完成了io,则忽略本次io请求,退出;
// 持有block->mutex,对block进行初始化,并加入到page hash中;
// 设置IO FIX为BUF_IO_READ;
// 释放hash lock;
// 将block加入到LRU上;
// 持有block s lock;
// 完成IO后,释放s lock;

-
文章作者: 羽殇之舞
文章链接: http://gg2002.github.io/2023/10/12/cmu-15445-2
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 羽殇之舞的个人博客
\ No newline at end of file +
文章作者: 羽殇之舞
文章链接: http://gg2002.github.io/2023/10/12/cmu-15445-2/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 羽殇之舞的个人博客
avatar
羽殇之舞
大三上开始摸鱼的博客,不会真的有人看吧,不会吧不会吧
Follow Me
\ No newline at end of file diff --git a/2023/11/06/cmu-15445-3 b/2023/11/06/cmu-15445-3/index.html similarity index 63% rename from 2023/11/06/cmu-15445-3 rename to 2023/11/06/cmu-15445-3/index.html index 2cb1200..5091f36 100644 --- a/2023/11/06/cmu-15445-3 +++ b/2023/11/06/cmu-15445-3/index.html @@ -1,7 +1,7 @@ CMU15445 C++学习笔记-其三(Project 2) | 羽殇之舞的个人博客 - + @@ -10,7 +10,7 @@ -

CMU15445 C++学习笔记-其三(Project 2)

array_ 是零长数组,解释参见(https://blog.csdn.net/gatieme/article/details/64131322)初始化的时候在内存里是不占空间的,但是它真正能使用到的空间就是固定的 page 大小减去前面成员变量之后所剩的空间。因为实际上 BUCKET_ARRAY_SIZE 是固定的,为了不使内存溢出,注释也强调了不要在下面再加别的成员了(所以挺困惑我的一点就是既然总的 page 空间大小和数组 size 都定下来了,为什么不直接在初始化的时候就申请那么大的空间呢)

-
文章作者: 羽殇之舞
文章链接: http://gg2002.github.io/2023/11/06/cmu-15445-3
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 羽殇之舞的个人博客
\ No newline at end of file +
文章作者: 羽殇之舞
文章链接: http://gg2002.github.io/2023/11/06/cmu-15445-3/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 羽殇之舞的个人博客
avatar
羽殇之舞
大三上开始摸鱼的博客,不会真的有人看吧,不会吧不会吧
Follow Me
\ No newline at end of file diff --git a/2023/12/01/codetop100note b/2023/12/01/codetop100note/index.html similarity index 81% rename from 2023/12/01/codetop100note rename to 2023/12/01/codetop100note/index.html index 0fc0689..3918013 100644 --- a/2023/12/01/codetop100note +++ b/2023/12/01/codetop100note/index.html @@ -1,7 +1,7 @@ codetop 100题(暂定) 思路笔记 | 羽殇之舞的个人博客 - + @@ -11,7 +11,7 @@ -
avatar
羽殇之舞
大三上开始摸鱼的博客,不会真的有人看吧,不会吧不会吧
Follow Me
avatar
羽殇之舞
大三上开始摸鱼的博客,不会真的有人看吧,不会吧不会吧
Follow Me