Loading

上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: Overview: top intel-gpu top xesmi(developed) perf top : apt install linux-tools-common perf top PTAT 阅读全文
posted @ 2022-10-08 11:02 aalanwyr 阅读(39) 评论(0) 推荐(0) 编辑
摘要: Background: Background: 遇到一个打包可执行程序和链接库生成rpm 包的需求,查遍了很多网站的资料,现在整理下解决方案。 前期参考的是这篇帖子: https://codeantenna.com/a/jUEqRgoEsZ CSDN 很多帖子都是抄的rpm 官方提供的教程:http 阅读全文
posted @ 2022-09-17 15:57 aalanwyr 阅读(934) 评论(0) 推荐(1) 编辑
摘要: 抽空理了理国内目前已知显卡厂商的各类产品(来源与各个公司产品网站),可能不全,后续会实时更新。 目前来看,显卡市场还是国外两巨头+intel 占据了绝大数的市场,intel 在igpu上深耕了很多年,现在终于进军dgpu市场了,去年发布的DG1(ARC 系列的上一代试水产品),算是内部第一代独显,正 阅读全文
posted @ 2022-05-28 16:43 aalanwyr 阅读(1647) 评论(0) 推荐(0) 编辑
摘要: 1、什么是Buddy System: The buddy memory allocation technique is a memory allocation algorithm that divides memory into partitions to try to satisfy a memo 阅读全文
posted @ 2022-05-19 22:38 aalanwyr 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1、什么是Slab 分配器: 以下摘自维基百科:https://en.wikipedia.org/wiki/Slab_allocation Slab firstly introduced in kernel 2.2, it's now one of three memory allocator im 阅读全文
posted @ 2022-05-19 21:34 aalanwyr 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 最近在学习 《linux Kernel Development》,本书用的linux kernel 是v2.6 版本的。看完”系统调用“一节后,想尝试添加一个系统调用,然后重编一个kernel。经过几个小时的尝试,实现了这个小功能,其中也遇到了不少坑,本文主要是记录分享下如何在Linux Kerne 阅读全文
posted @ 2022-05-15 16:41 aalanwyr 阅读(1343) 评论(0) 推荐(0) 编辑
摘要: 这篇帖子主要是记录一下自己使用信号量遇到的坑。 首先是需求:创建两个进程A,B。A往buffer中写,B读。两个进程利用命名管道进行通信,并实现读写同步。即A写完后通知B读,B读完后通知A写。 如果A,B两个进程各自独立操作的话,很容易出现下列情况。 看哪个进程先抢占到这个buffer,由于writ 阅读全文
posted @ 2022-02-23 23:41 aalanwyr 阅读(917) 评论(0) 推荐(0) 编辑
摘要: 本文主要讲解了x86体系架构从外部设备接受中断的过程,本文是系列文章的第一部分,试图回答以下问题: 什么是PIC以及它的用途是什么? 什么是APIC以及它的用途是什么?LAPIC和I/O APIC的目的是什么? APIC,xAPIC以及x2APIC之间的区别在哪儿? 什么是MSI? MSI以及MSI 阅读全文
posted @ 2022-02-17 21:00 aalanwyr 阅读(1191) 评论(0) 推荐(2) 编辑
摘要: Given two strings s and p, return an array of all the start indices of p's anagrams in s. You may return the answer in any order. An Anagram is a word 阅读全文
posted @ 2022-02-02 17:24 aalanwyr 阅读(45) 评论(0) 推荐(0) 编辑
摘要: Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: nums = [1,2,3,4,5,6,7], k = 3 Output: [5,6,7,1,2, 阅读全文
posted @ 2022-01-30 11:12 aalanwyr 阅读(39) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页