Hi,
On Tue, 23 Jan 2007, Yu-Chen Wu wrote:
> All of the code as below:
> //==
> extern struct vm_struct *vmlist;
> struct vm_struct *vmlist2,*L2vm;
>
> int find_vm_struct(void *addr)
> {
> struct vm_struct **p;
> int i;
>
On Tue, Jan 23, 2007 at 10:15:33PM +0800, Yu-Chen Wu wrote:
> printk(KERN_INFO "vmalloc_to_page tpage :%x\n",tpage);
> //===info of dmesg==
> [ 1561.768492] page allocated:60ea9000
> [ 1561.768497] vmalloc_to_page tpage :7fcf7e18
>
> Why the page address get from vmalloc_t
f Of Anton Altaparmakov
Sent: Tuesday, January 23, 2007 10:50 PM
To: Yu-Chen Wu
Cc: linux-kernel@vger.kernel.org
Subject: RE: Could convert a buffer that allocated by vmalloc to pages?
On Tue, 23 Jan 2007, Yu-Chen Wu wrote:
> I tried vmalloc_to_page() and I have some question.
> I print the &quo
rom vmalloc_to_page is different with the first
> page address of the vm_struct (73d65000)?
>
> THX
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Anton Altaparmakov
> Sent: Tuesday, January 23, 2007 9:12 PM
> To: Yu-Chen Wu
first
page address of the vm_struct (73d65000)?
THX
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anton Altaparmakov
Sent: Tuesday, January 23, 2007 9:12 PM
To: Yu-Chen Wu
Cc: linux-kernel@vger.kernel.org
Subject: Re: Could convert a buffer that allocated by
On Tue, 2007-01-23 at 21:04 +0800, Yu-Chen Wu wrote:
> Hi,
> I write a driver have a big buffer (16MB,allocated by vmalloc).
> I want to use the buffer to do DMA transmission so I need getting the pages
> of the buffer.
> Have any kernel API can do this?
> My platform is x86_64 and 2GB RAM
vmalloc
Hi,
I write a driver have a big buffer (16MB,allocated by vmalloc).
I want to use the buffer to do DMA transmission so I need getting the pages
of the buffer.
Have any kernel API can do this?
My platform is x86_64 and 2GB RAM
THX
-
To unsubscribe from this list: send the line "unsubscribe linux-k
7 matches
Mail list logo