help:batch_requests的疑惑
在ll_rw_disk.c中有一个_init blk_dev_init(),它的功能就是对块设备的初始化,其中static int batch_requests;在这个函数中计算得到,它的作用大家可能都知道了.
我现在不明白的是它没有保存在一个内核全局变量中,只在这儿计算一下有什么用,它是怎么发挥作用的呢? which kernel you are discussing?
in 2.4.20 i only find an int batch_requests in struct request_queue 我用的2.4.18-14 that is hacked by redhat.
try to use vanilla kernel from kernel.org if possible "that is hacked by redhat"--我不明白,能否详细解释一下 :neutral: the 2.4.18-14 is modified by redhat in many many places. so it is quite different with the standard vanilla kernel.
页:
[1]