linux 2.6.18-3 函数: void inet_register_protosw(struct inet_protosw *p) { struct list_head *lh; struct inet_protosw *answer; int protocol = p->protocol; struct list_head *last_perm; spin_lock_bh(&inetsw_lock); if (p->type >= SOCK_MAX) goto out_illegal; /* If we are trying to override a permanent protocol, bail. */ answer = NULL; last_perm = &inetsw[p->type]; list_for_each(lh, &inets...
clstrmgrES cluster 323748 inoperative\r\n\r\n请问如何查询这个subsystem 停掉的时间及相关信息。或者log.\r\n\r\nthanks
seagate http://www.seagate.com/cda/products/discsales/index ST3300655LC Cheetah 15K.5 300 GB Ultra320 SCSI 15K RPM 3.5 ms avg MSS&W ST3300655LW Cheetah 15K.5 300 GB Ultra320 SCSI 15K RPM 3.5 ms avg MSS&W有2块最强的,hoho。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7198/showart_211529.html
我想在一个链表中使用rcu,这个链表在进程和软中断上下文都会访问。要求支持smp,多核 看了一些文档,对rcu能否如下操作: 1,写者: 对于进程上下文则使用 spin_lock_bh 对于软中断上下文使用 spin_lock 加入链表用 hlist_add_head_rcu, 受到rcu_assign_pointer 原子保护。 删除链表用 hlist_del_rcu,这个直接__hlist_del, 感觉和rcu没有关系呀?不懂 2,读者: 对于进程上下文则使用 r...
目录 [ 隐藏 ] 1 rcu同步机制 1.1 rcu介绍 1.2 rcu API函数说明 1.3 调用rcu API实现rcu同步 1.4 rcu基本设计模式 1.5 变换rcu运算法则后的rcu模式 1.6 rcu相关数据结构 1.7 rcu初始化分析 1.8 rcu回调处理分析 ...