Basic Data Structures and Algorithms in the Linux Kernel--reference
http://luisbg.blogalia.com/historias/74062
Links based on linux 2.6:
- Linked lists, doubly linked lists, lock-free linked lists.
 - B+ Trees with comments telling you what you can't find in the textbooks.
 - Priority sorted lists used for mutexes, drivers, etc.
 - Red-Black trees are used are used for scheduling, virtual memory management, to track file descriptors and directory entries, etc.
 - Interval trees.
 - Radix trees, are used for memory management, NFS related lookups and networking related functionality.
 - Priority heap, which is literally, a textbook implementation, used in the control group system.
 - Hash functions, with a reference to Knuth and to a paper.
 - Some parts of the code, such as this driver, implement their own hash function.
 - Hash tables used to implement inodes, file system integrity checks, etc.
 - Bit arrays, which are used for dealing with flags, interrupts, etc. and are featured in Knuth Vol. 4.
 - Semaphores and spin locks.
 - Binary search is used for interrupt handling, register cache lookup, etc.
 - Binary search with B-trees.
 - Depth first search and variant used in directory configuration.
 - Breadth first search is used to check correctness of locking at runtime.
 - Merge sort on linked lists is used for garbage collection, file system management, etc.
 - Bubble sort is amazingly implemented too, in a driver library.
 - Knuth-Morris-Pratt string matching.
 - Boyer-Moore pattern matching with references and recommendations for when to prefer the alternative.
 
Referencias (TrackBacks)
URL de trackback de esta historia http://luisbg.blogalia.com//trackbacks/74062
Basic Data Structures and Algorithms in the Linux Kernel--reference的更多相关文章
- CSC 172 (Data Structures and Algorithms)
		
Project #3 (STREET MAPPING)CSC 172 (Data Structures and Algorithms), Spring 2019,University of Roche ...
 - CSIS 1119B/C Introduction to Data Structures and Algorithms
		
CSIS 1119B/C Introduction to Data Structures and Algorithms Programming Assignment TwoDue Date: 18 A ...
 - 剪短的python数据结构和算法的书《Data Structures and Algorithms Using Python》
		
按书上练习完,就可以知道日常的用处啦 #!/usr/bin/env python # -*- coding: utf-8 -*- # learn <<Problem Solving wit ...
 - [Data Structures and Algorithms - 1] Introduction & Mathematics
		
References: 1. Stanford University CS97SI by Jaehyun Park 2. Introduction to Algorithms 3. Kuangbin' ...
 - 6-1 Deque(25 分)Data Structures and Algorithms (English)
		
A "deque" is a data structure consisting of a list of items, on which the following operat ...
 - Linux Kernel中所應用的數據結構及演算法
		
Linux Kernel中所應用的數據結構及演算法 Basic Data Structures and Algorithms in the Linux kernel Links are to the ...
 - 学习笔记之Problem Solving with Algorithms and Data Structures using Python
		
Problem Solving with Algorithms and Data Structures using Python — Problem Solving with Algorithms a ...
 - Linux Kernel - Debug Guide (Linux内核调试指南 )
		
http://blog.csdn.net/blizmax6/article/details/6747601 linux内核调试指南 一些前言 作者前言 知识从哪里来 为什么撰写本文档 为什么需要汇编级 ...
 - [中英对照]Linux kernel coding style | Linux内核编码风格
		
Linux kernel coding style | Linux内核编码风格 This is a short document describing the preferred coding sty ...
 
随机推荐
- Regex  常用的正则表达式
			
.校验数字的表达式 数字:^[0-9]*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{m,n}$ 零和非零开头的数字:^(0|[1-9][0-9]*)$ 非 ...
 - Bitnami WordPress无法修改MySQL root的默认密码的解决方法?
			
今天准备修改Bitnami WordPress的MySQL root的默认密码,但是总是出现下面错误: ERROR 1045 (28000): Access denied for user 'root ...
 - 解决JAR包里面打开源代码都是乱码
			
下面是解决方案 通过eclipse浏览源代码时,发现中文注释为乱码的问题.其实这个eclipse默认编码造成的问题.可以通过以下方法解决: 修改Eclipse中文本文件的默认编码:windows-&g ...
 - IIS发布ASP程序问题汇总
			
看异常位置,因为域的问题
 - PLSQL导出语句的查询结果
			
不需要把全部结果都展示出来
 - 二、为什么要选用pytest以及  pytest与unittest比较
			
为什么要选择pytest,我看中的如下: 写case,不需要像unittest那样,创建测试类,继承unittest.TestCase pytest中的fixture(类似于setUp.tearDow ...
 - $(xx).load()同步
			
这是由于 load 加载时并不是同步的,是异步的.在你点击执行 load 时,在load异步处理还没完成时,当然,就是调出了原来 #show 的内容了,当你第二次当点击时,原来第一次点击的 load异 ...
 - php 缓冲函数
			
php.ini中有两个关键参数会影响到php的缓存输出控制: output_buffering :on/off 或者整数 .设置为 on 时,将在所有脚本中使用输出缓存控制,不限制缓存的大小.而设置为 ...
 - python 的内置模块 re
			
在 pattern 的 “” 前面需要加上一个 r 用来表示这是正则表达式, 而不是普通字符串 >>> import re >>> ptn = r"r[a ...
 - CodeChef - NWAYS 组合数 朱世杰恒等式
			
这道题目数据有坑,白浪费一个小时! 题意:求\(\sum_{i=1}^n\sum_{j=1}^n{|i-j|+k \choose k}\) 知识点: 朱世杰恒等式,\(\sum_{i=r}^n{i \ ...