Skip to contentSkip to conversation

about device polling and kernel configurations

DISCUSSION jywang 2 participants 2 messages Sep 23, 2005

lore
Share & tools
lore

jywang

author
#0 lore raw

Hi, all

sorry to post here, i don't know other maillist for discussing deeply in linux. two questions here.

firstly,

How to check the values of kernel configurations. when we compile a kernel, we must set the values. and now, when the system is running, i want to know them again.

how? maybe a command is ok or a file can be read.

secondly,

from somewhere, i know the device polling is been enabled in kernel of version 2.6, and a api named NAPI is supported for using this feature.

is it true? maybe it is nothing at all or something else. i don't know but want to learn. would you like to give me some directions.

Jinyi

=====================================================

 姓名:      王金一   
 电话:      (+86)10-58812325
 单位:      中国科学院计算机网络信息中心 R&D
 地址:      北京中关村南四街四号
 邮编:      100080
 email:     [email protected]
-----------------------------------------------------
 Name:       jinyi wang
 Phone:      (86-10) 5881-2325
 Division:   R&D,Computer Network Information Center,

Chinese Academy of Sciences
Address: 4,4th South Street, Zhongguancun,
Haidian District, Beijing, China
Zip code: 100080
Email: [email protected]
=====================================================

#1 lore raw
Quoted 6 lines · On Fri, 23 Sep 2005 16:42:03 +0800 "jywang" <[email protected]> wrote:

How to check the values of kernel configurations. when we compile a kernel, we must set the values. and now, when the system is running, i want to know them again.

how? maybe a command is ok or a file can be read.

In /boot directory you will find file calling config-<version-of-your-kernel>. This file keep all options of your kernel.