上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 128 下一页

双网卡服务器2个IP不能在同一网段

摘要: 双网卡不能将ip设置为同一网段,如果设置为同一网段则会出现,网线都插着时,只有A口有作用。只有网线在A口时,两个ip都可以访问。只有网线在B口时,网络无法访问,只有把A口停了才行(ifdown eth0)。 所以,这类情况只要设置不同网段的IP就解决问题了; 阅读全文
posted @ 2011-06-24 12:33 katago 阅读(2032) 评论(0) 推荐(0) 编辑

使用diff和patch进行简单的文件版本管理

摘要: 在Unix系统下,维护源码版本可以使用很多方法,其中最常用的当然是大名鼎鼎的CVS,但实际上,简单的版本维护工作并没有必要使用复杂的CVS等专门的版本维护工具,Unix标配中的diff和patch工具就完全可以完成代码的简单备份和升级工作。 diff 以"行"为单位比较两个文本文件(也可以是目录比较),并将不同之处以某种格式输出到标准输出上;patch可以读入这种输出,并按照一定指令使源文件 (... 阅读全文
posted @ 2011-06-21 11:31 katago 阅读(353) 评论(0) 推荐(0) 编辑

vm内存分割比例

摘要: root@james-desktop:/opt/qt-everywhere/marvell/SDK/linux-2.6.31.8# diff .config-2g config-3g 4c4 < # Sun Jun 19 10:06:59 2011 --- > # Sun Jun 19 10:06:32 2011 363,364c363,364 < # CONFIG_VMSPLIT_3G is n... 阅读全文
posted @ 2011-06-19 10:12 katago 阅读(1410) 评论(0) 推荐(0) 编辑

Arm linxu启动过程分析

摘要: http://blog.csdn.net/sustzombie/archive/2010/06/12/5667563.aspx 虽然有错误,但是可以参考 http://www.ibm.com/developerworks/library/l-embdev/index.html 阅读全文
posted @ 2011-06-18 23:01 katago 阅读(167) 评论(0) 推荐(0) 编辑

linux kernel development (12 Memory Management)

摘要: Yo u c a n n o t s p e c i f y __GFP_HIGHMEM to either __get_free_pages() or kmalloc(). Because these both return a logical address, and not a page structure, it is possible that these functions woul... 阅读全文
posted @ 2011-06-18 17:15 katago 阅读(181) 评论(0) 推荐(0) 编辑

marvell 内存分析

摘要: CONFIG_MV_INTERNAL_REGS_SELECTIVE_MAPPING=y 选择映射内部寄存器(分散开,每个64K),否则映射1M寄存器空间 sysmap.c文件 #if defined(CONFIG_MV_INTERNAL_REGS_SELECTIVE_MAPPING) /* need to make sure it is big enough to hold all mapping... 阅读全文
posted @ 2011-06-17 23:22 katago 阅读(430) 评论(0) 推荐(0) 编辑

Virtual Memory I: the problem

摘要: Virtual Memory I: the problem http://en.wikipedia.org/wiki/High_memory http://lwn.net/Articles/75174/ [Posted March 10, 2004 by corbet] This article serves mostly as background to help understand why ... 阅读全文
posted @ 2011-06-17 17:36 katago 阅读(234) 评论(0) 推荐(0) 编辑

HIGHMEM

摘要: 原先一直都对Linux高端内存的管理认识模模糊糊的,可能主要是初次接触Linux kernel 是0.11版吧,当初的内存设计是16M,Linus对拥有32M的内存都是觊觎万分,1G内存恐怕是天方夜谭了。16M内存哪里还顾得上高端内存,脑子就一直没有这种概念。先我们还是来看看为什么要有高端内存? 80386的线性寻址空间是4G,内核空间从3G开始,如果全部采用"线性映射"(物理地址和逻辑地址只差一... 阅读全文
posted @ 2011-06-17 17:01 katago 阅读(880) 评论(0) 推荐(0) 编辑

Linux内核访问外设I/O资源的方式

摘要: Linux内核访问外设I/O资源的方式 Author: Dongas Date: 08-08-02 我们知道默认外设I/O资源是不在Linux内核空间中的(如sram或硬件接口寄存器等),若需要访问该外设I/O资源,必须先将其地址映射到内核空间中来,然后才能在内核空间中访问它。 Linux内核访问外设I/O内存资源的方式有两种:动态映射(ioremap)和静态映射(map_desc)。 ... 阅读全文
posted @ 2011-06-17 16:06 katago 阅读(1511) 评论(0) 推荐(0) 编辑

__init和__initdata

摘要: __init和__initdata Linux在arch/$(ARCH)/kernel/vmlinux.lds中定义了.init段。__init和__initdata属性的数据都在这个段中,当内核启动完毕后,这个段中的内存会被释放掉供其他使用。 __init和__initdata宏定义如下: /* include/linux/init.c */ #define __init __attrib... 阅读全文
posted @ 2011-06-17 16:03 katago 阅读(1740) 评论(0) 推荐(1) 编辑
上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 128 下一页