lm_tom的技术人生

基础决定创新,细节决定成败

2009年04月28日

原创 linux usb 3.0 have been submitted today



It is very interestting that xHCI spec is still not public, but Intel has started to contribute
its xHCI code to linux kernel.

http://marc.info/?l=linux-usb&m=124088715509857&w=2
=================================================
This is the first of many patches to add support for USB 3.0 devices and
the hardware that implements the eXtensible Host Controller Interface
(xHCI) 0.95 specification.  This specification is not yet publicly
阅读全文>

发表于 @ 2009年04月28日 22:15:00|评论(loading...)|举报|收藏

2009年02月21日

原创 如何使用git-send-email让patch保持在之前的thread

经常提交到lkml上一个patch需要反复讨论和修改,如果每次发送同一个patch的修改版本都生成一个新的thread,感觉不是很好,容易分散注意力。今天终于找到方法了,:-)阅读全文>

发表于 @ 2009年02月21日 17:06:00|评论(loading...)|举报|收藏

2008年11月24日

原创 usb 3.0 specification released

usb 3.0 specification Revision 1.0 is realeased on Nov 12,2008, http://www.usb.org/developers/docs/usb_30_spec.zip 已经可以下载到规范文本. 大概翻了一下开始几章,感觉从用户角度来看,usb3.0主要是可以提供更快的速度,usb 3.0在usb 2.0的high speed, full speed以及low speed基础上, 提出了super speed,是high speed的10倍: 4.8Gbps. 阅读全文>

发表于 @ 2008年11月24日 22:05:00|评论(loading...)|举报|收藏

2008年08月19日

原创 linux kfifo 中 memory barrier的简要分析

memory barrier使用是一个比较高级的话题,在shared memory的多处理器的架构使用 尤为重要. linux kernel同时支持UP和SMP的处理器架构,这就要求包括device drivers/fs等 所有的component都必须在SMP和UP很好的运行. 传统上spin_lock用于多处理器并行处理过程中对 数据完整性的保护,其原理很简单:当某个CPU持有spin_lock时候,其他CPU再需要请求持有该lock ,需要一直忙等直到持有spin_lock的CPU释放该lock,才会获得。本质上,spin_lock将对于关键区 的访问强制串行化,达到保护的目的。 spin_lock同时也降低了系统的性能。 linux kfifo的实现 支持同时一个CPU reader和一个CPU writer的并发访问,使用了lock-free的实现,不需要 spin_lock的保护,其中奥妙就是增加了两对memory barrier.阅读全文>

发表于 @ 2008年08月19日 22:26:00|评论(loading...)|举报|收藏

2008年06月11日

转载 曾国藩的做人36字诀

曾国藩的做人36字诀 阅读全文>

发表于 @ 2008年06月11日 09:30:00|评论(loading...)|举报|收藏

2008年05月16日

转载 内存屏障机制及内核相关源代码分析(转载)

近期在公司软件平台遇到一个代码优化相关的问题,发现-O2/-Os优化后的代码容易出现一些莫名其妙的问题,追踪下去,使用了一些类似linux memory barrier的机制最终得以解决。 感觉这篇文章有两个特点不错: 一是简单明了的给出了barrier的实现以及原理,二是通过总结 论坛问题与答复的学习方法,值得借鉴。 阅读全文>

发表于 @ 2008年05月16日 23:04:00|评论(loading...)|举报|收藏

2008年04月29日

转载 硬盘术语

硬盘的术语简介阅读全文>

发表于 @ 2008年04月29日 16:55:00|评论(loading...)|举报|收藏

2008年02月15日

转载 哈佛图书馆自习室墙上的训言

哈佛图书馆自习室墙上的训言 阅读全文>

发表于 @ 2008年02月15日 21:35:00|评论(loading...)|举报|收藏

2007年11月04日

原创 linux device driver module 缺省是如何自动加载的

经常发现,udev中并没有指定许多驱动/设备的加载规则,但udev却能在设备插入系统后正确的加载其驱动,仔细分析后,发现事情原来是这样的. 阅读全文>

发表于 @ 2007年11月04日 16:22:00|评论(loading...)|举报|收藏

2007年10月20日

转载 如何使用linux free 命令(转载)

名医使用“望、闻、问、切”等简单方法即可发现病源所在,而无需借助CT/B超等先进工具. 一个简单的free命令,也可以发现linux vmm "内脏"诸多情况。 转载两篇介绍free使用的文章,借以提醒自己这其中道理。 阅读全文>

发表于 @ 2007年10月20日 19:10:00|评论(loading...)|举报|收藏

用户操作
[即时聊天] [发私信] [加为好友]
blackhorse
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
文章分类
收藏
    linux
    about virtual machine & linux
    Embedded Linux train--- jollen's blog
    hardware basic
    http://linux.chinaunix.net/
    Kernel Janitor Project
    Kernel Tracker system
    kernel trap
    kernelnewbies
    linux ebook
    linux 方面(偏重硬件)
    Linux|系统管理|WEB开发 -- mlsx's linux blog
    linuxbyte blog
    linuxeden---linux use,dev...
    lwn
    mkl Note(arch/system/linux/...)
    Saving Power with Linux
    Solaris
    一个kernel 信息较多的blog
    分享内核之旅的乐趣
    小宝---读书笔记
    开源世界
    链接1---技术
    52 R&D blog
    chinaunix
    c语言试题
    Jan Axelson's Lakeview Research---usb,serial and ...
    Universal Serial Bus wiki
    usb China
    usb development
    一个嵌入式不错的blog
    嵌入式
    收集了一些数学和算法题目
    链接2---其他
    career
    开复学生网
    电子企业面试题目
    链接3---友情链接
    Georgedeng's blog
    Linux Mobile Development Platform
    Notes and reviews, mostly about Linux and Windows software and hardware
    灵感点滴
    链接4---software engineer
    absurd blog
    c++ oldman
    SE & team management
    中国源码网
    系统架构
    软件工程方面
    链接5--- Internet
    rfc
    存档
    软件项目交易
    Csdn Blog version 3.1a
    Copyright © blackhorse