Garlic Space

insmod: ERROR: could not insert module *.ko: Unknown symbol in module

insmod: ERROR: could not insert module .ko: Unknown symbol in module - 在实际编译运行 什么是RCU :API 中的例子 rcu_examplehttps:/

2019-06-17 · 1 分钟

LeetCode – Number of Islands

Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands…

2019-06-17 · 2 分钟

什么是RCU :API

这篇文章 RCU part 3: the RCU API

2019-06-15 · 1 分钟

LeetCode – Design Circular Queue

Design your implementation of the circular queue. The circular queue is a linear data structure in which the operations are performed based on FIFO (First In…

2019-06-14 · 2 分钟

shell16进制hex和10进制转换

\[root@centosgpt ~\]# echo "ibase=16; FF" |bc \[root@centosgpt ~\]# echo $((0xFF)) \[root@centosgpt ~\]# printf "%d\\n" 0xFF \[root@centosgpt ~\]# dc -e '16i…

2019-06-14 · 1 分钟

什么是RCU:用法

这篇文章 What is RCU? Part 2: Usage

2019-06-12 · 3 分钟

ELF 文件格式分析

ELF: Executable and Linkable Format

2019-06-11 · 19 分钟

Vmware + Centos7 + NAT 方式连接公网

Vmware + Centos7 + NAT 方式连接公网 - 使用gdb调试时, Missing separate debuginfos, use: debuginfo-install glibc-2.17-260.el7.x86_64, 需要虚拟机联网更新。

2019-06-06 · 2 分钟

LeetCode – Rotate List

Given a linked list, rotate the list to the right by _k_ places, where _k_ is non-negative. Example 1: Example 2: Input: 0->1->2->NULL, k = Output: 2->0->1->…

2019-06-03 · 1 分钟

Linux下实现一个系统调用

环境: cenos7 kernel: 3.10.0-862.el7.x86\_64 gcc: gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) 新版内核: linux-5.2-rc2 - 安装相关软件: - 下载内核源码并解压: tar -xf linux-5.2-…

2019-06-02 · 2 分钟