request_mem_region kindly reply to this....

2007-10-13 Thread vasant j
Hi all, I am new to linux programmingi am programming for PCI card.My problem is i have used *request_mem_region( )* command and requested for 1k of memory.It is returning failure.How to tackle this i did like this : char *p;

Re: request_mem_region kindly reply to this....

2007-10-13 Thread Frank Thieme
On Sat, 13 Oct 2007 19:53:57 +0530 vasant j [EMAIL PROTECTED] wrote: I am new to linux programmingi am programming for PCI card.My problem is i have used *request_mem_region( )* command and requested for 1k of memory.It is returning failure.How to tackle this

Re: learning USB subsystems

2007-10-13 Thread Greg KH
On Sat, Oct 13, 2007 at 08:05:31PM +0530, Manish Katiyar wrote: hi, I am new to linux kernel programming and want to learn the USB subsystem of linux kernel. I read various articles about writing simple USB drivers. As a starting point I want to write a simple module of my own which justs

Re: calling hooks from inside timer interrupt handler freezes machine

2007-10-13 Thread Mohammad M Molla
Hi I actually followed your direction and made the pointer static. But that did not solve the problem which I think is expected if I am not wrong. Because even though the klife pointer passed in klife_open is local, we save the pointer in filp-private_data for any future access to that memory

measuring USB performance

2007-10-13 Thread Nilanjan Roychowdhury
Hi, I have a USB host controller hooked up with CPU and memory subsystem though some proprietary bus in a custom SOC. We could get the USB susbsyem up and running by hooking up our board specific code to Linux USB susbsystem. Now we want to measure the data transfer rate over USB. We are using

Re: learning USB subsystems

2007-10-13 Thread Peter Teoh
On 10/14/07, Manish Katiyar [EMAIL PROTECTED] wrote: Hi Greg, Thanks for that info and warning me not to try usb flash stick :-) to learn. Will a USB mouse be simpler ???... i dont expect myself to write code to move the mouse...but atleast put something in dmesg when i

About LIRS and Clock-Pro

2007-10-13 Thread shyam Burkule
Hi I read paper LIRS:An Efficient Low Inter-reference Recency SetReplacement Policy. by Song Jiang and Clock-Pro by Rik Van Riel In this paper i came across term IRR ie Inter Reference Recency.IRR is number of pages (or blocks) referencd between two successive references of the same page.

Re: Plz help About LRU

2007-10-13 Thread shyam Burkule
On 10/14/07, shyam Burkule [EMAIL PROTECTED] wrote: On 10/13/07, Peter Teoh [EMAIL PROTECTED] wrote: I think I have understood better. On 10/13/07, shyam Burkule [EMAIL PROTECTED] wrote: Hi Now as given in fig. if there is second reference mark_page_accessed() will