上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 77 下一页
摘要: 答: sudo apt-get install strace -y 阅读全文
posted @ 2019-06-21 19:12 Jello 阅读(2625) 评论(0) 推荐(0)
摘要: 答: 使用信号量,wait队列,completion,调用schedule,用GFP_KERNEL指定的内存分配malloc,get,free,page等都会引起睡眠 思考: Q: 为什么会引起睡眠呢? A: 为了获取一些资源,这些资源当时不可得,因此进程进入睡眠,本质上就是进入不可被调度的状态,不 阅读全文
posted @ 2019-06-21 18:05 Jello 阅读(1054) 评论(0) 推荐(0)
摘要: 答: 添加过程如下: 1. 在当前项目的源码下执行一下命令来添加子模块 git submodule add <other_repository_url> <dir_name> such as: git submodule add https://github.com/vim/vim.git vim 阅读全文
posted @ 2019-06-21 15:25 Jello 阅读(995) 评论(0) 推荐(0)
摘要: 答: 1. 配置邮箱 git config --global user.email "jello_smith@163.com" 2. 配置用户名 git config --global user.name "jello_smith" 阅读全文
posted @ 2019-06-21 14:32 Jello 阅读(1437) 评论(0) 推荐(0)
摘要: 答: 需要安装python开发库(如果不安装这个库,那么在配置时执行./configure --enable-pythoninterp=yes将不会生效,以至于vi的python特性并没有被开启) 如在centos下的安装方法为: yum install -y python-devel 注意: 这个 阅读全文
posted @ 2019-06-20 17:02 Jello 阅读(1832) 评论(0) 推荐(0)
摘要: 答: 用来唤醒休眠后的系统 阅读全文
posted @ 2019-06-20 13:23 Jello 阅读(653) 评论(0) 推荐(0)
摘要: 答: git pull <remote_repository_url> <branch_name> 例如: git clone https://github.com/lede-project/source.git lede-17.01 阅读全文
posted @ 2019-06-18 20:29 Jello 阅读(3894) 评论(0) 推荐(0)
摘要: 答: ./scripts/checkpatch.pl *.patch 阅读全文
posted @ 2019-06-18 19:01 Jello 阅读(524) 评论(0) 推荐(0)
摘要: 答: 如获取pwm子系统的维护者邮箱: ./scripts/get_maintainer.pl drivers/pwm 阅读全文
posted @ 2019-06-18 18:29 Jello 阅读(332) 评论(0) 推荐(0)
摘要: 答: sed -i "s/<old_string>/<new_string>/g" `grep "<old_string>" -l <dir_or_wildcard_filename> 例如: sed -i "s/jello/hello/g" `grep "jello" -l *.c 阅读全文
posted @ 2019-06-18 16:04 Jello 阅读(5780) 评论(0) 推荐(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 77 下一页