12 2014 档案
摘要:位域结构体能节省一些内存空间,但是使用不当会产生race conditions,导致程序异常,下面简要分析错误产生的原因和解决方案。 首先定义一个简单的bit field结构体。+struct bit_filed {+ unsigned a : 1;+ unsigned...
阅读全文
摘要:It is another typical kernel panic due to invalid address.Panic log:[ 20.896935] c3 554 (netd) Unable to handle kernel NULL pointer dereference at v...
阅读全文

浙公网安备 33010602011771号