contributed by < yanjiew1
>
$ gcc --version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
CPU family: 6
Model: 142
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
Stepping: 10
CPU max MHz: 3400.0000
CPU min MHz: 400.0000
BogoMIPS: 3600.00
3
contributed by < yanjiew1 > 作業說明 開發環境 $ gcc --version gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 $ lscpu Architecture: x86_64
May 6, 2023contributed by < yanjiew1 > 測驗1 mpool 為 memory pool 實作。 pool_init 是用來初始化 mpool 系統,透過它告訴 mpool 使用哪塊空間作為 memory pool 使用 ,空間大小有多少。 mpool 實作了類似 C 語言標準函式庫提供的記憶體配置器函式,分別為 pool_malloc 、 pool_calloc 、 pool_realloc 、 pool_free 。功能與 C 語言的記憶體置器很像,差別在於 mpool 是從一個設定好的一塊 memory pool 來配置空間。 程式碼運作原理
Apr 16, 2023contributed by <yanjiew1> 想問老師的問題 :::info Fence 和 Barrier 的不同? ::: :::info Userspace RCU 實作有 rcu-qsbr 、 rcu-signal 和 rcu-generic 。想詢問 Linux Kernel 比較接近哪一種實作方式? :::
Apr 13, 2023contributed by < yanjiew1 > GitHub 題目連結 實驗環境 $ gcc --version gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 $ lscpu
Apr 6, 2023or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up