Re: browsing kernel source with emacs

2007-09-08 Thread Pawel K
Are you generating the tags every time you search for it? I don't think so since generating cscope database takes about a minute on my machine while I wait about 10 secs for a tags list. Pawel Be a

Hard disk read-ahead hdparm

2007-09-08 Thread Ioannis Koltsidas
Developing a buffer manager for a database system, I want to find out how many pages the operating system fetches from the disk on every read operation (so that, on every read() I read into the bufferpool as many pages as possible). My questions are the following: a) Does the value of

Re: request_irq() change?

2007-09-08 Thread Thomas Petazzoni
Hi, Le Sat, 8 Sep 2007 13:59:25 -0400, Bob Beers [EMAIL PROTECTED] a écrit : Where can I learn how to modify request_irq() call when migrating a driver from 2.6.15.x to 2.6.latest? You can have a look at http://lwn.net/Articles/2.6-kernel-api/, which lists the API changes between all 2.6.x

Re: New system call and User space header file

2007-09-08 Thread Hareesh Nagarajan
On 9/8/07, Sachin Gaikwad [EMAIL PROTECTED] wrote: Hi all, If I am adding a new system call sys_myroutine into the kernel then why is it necessary to have header file in user space like this - #include unistd.h _syscall2(int, myroutine, int arg1, int, arg2); What does it do when a user

Re: New system call and User space header file

2007-09-08 Thread duryodhan
Hey, I would recommend that you directly call syscall yourself. #define __NR_syscall_number 324 //(e.g) #include linux/unistd.h #include sys/syscall.h in the C program do syscall(324, arg1, arg2) _syscall2 etc. is a pain to work with, and afaik has been unsupported for quite some time.