Re: query on kamalloc/highmem

2007-08-19 Thread Mulyadi Santosa
Hi... Why we cannot kmalloc(GFP_HIGHUSER) ? Because it returns virtual address and to get virtual address of pages from high memory we need to kmap ? AFAIK your opinion is correct. Then how to allocate pages from highmem alloc_pages, and then kmap? correct. How to free pages from hig

Re: splitting of address space

2007-08-19 Thread Mulyadi Santosa
Hi.. I was reading the LDD3's DMA chapter (chapter 15). The author talks about the splitting of address space between 1GB and 3GB. I couldn't make myself crystal clear as to why it is done. because things like code and data must stay and operate in different modes. Kernel code stays in kernel

Re: Please Help me

2007-08-19 Thread pradeep singh
On 8/19/07, Tushar Bankar <[EMAIL PROTECTED]> wrote: > Hello everybody, > My ultimate goal is to develop the Linux device driver. > But donno exacly from where to start. Actually I started to read the book > of LDD 3rd edition by Greg . But when I do it practically ( I mean in > real-time

splitting of address space

2007-08-19 Thread Himanshu Chauhan
Dear all, I was reading the LDD3's DMA chapter (chapter 15). The author talks about the splitting of address space between 1GB and 3GB. I couldn't make myself crystal clear as to why it is done. I got even more confused when he said kernel can't access physicalmemory address which is not mapped i

Please Help me

2007-08-19 Thread Tushar Bankar
Hello everybody, My ultimate goal is to develop the Linux device driver. But donno exacly from where to start. Actually I started to read the book of LDD 3rd edition by Greg . But when I do it practically ( I mean in real-time) then only I understands that why,where and how the perticular