Hi all,
I tried "memcpy","__copy_to_user",and "__copy_to_user_inatomic",etc.
The destination is BIO's bio_vec->page (the page should be in userspace),
the source is a page of my modules;
I get the addresses of the both pages from kmap() or kmap_atomic() then pass
to "memcpy" or "__copy_to_user" or
f Of Neil Brown
Sent: Wednesday, February 07, 2007 3:46 AM
To: Yu-Chen Wu
Cc: linux-kernel@vger.kernel.org; linux-raid@vger.kernel.org
Subject: Re: Could "bio_vec" be referenced any time?
On Tuesday February 6, [EMAIL PROTECTED] wrote:
> Hi all,
> I write a module that creates a
Hi all,
I write a module that creates a kernel thread to show the BIOs from
MD modules.
The kernel thread will call show_bio() when md passing a BIO to my
module,else sleep.
Sometimes, show_bio() continues working successfully ,but it
somtimes makes "general protection fault
Hi all,
I am developing my module, but meet a bug. Is the bug created by
me??
Kernel:2.6.18 on SUSE10.1 + Intel DualCore
Feb 5 00:57:39 VM-SUSE kernel: --- [cut here ] - [please
bite here ] -
Feb 5 00:57:39 VM-SUSE kernel: Kernel BUG at mm/slab.c
ges of the big buffer.
You can see the page get from vmalloc_to_page() is different to all of the
pages get form vm_struct.
Is it possible that the buffer allocated by vmalloc be used to do DMA
transmission?
THX
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behal
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
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
Hi all,
Can a buffer allocated by "vmalloc( )" be used to make DMA transmission (the
buffer will be used by BIO structure) on X86_64 platform?
I need a big buffer (cache) maybe 64MB or bigger, so I call vmalloc to
allocate the buffer.
If possible, how to get the pages in the buffer?
Thanks
-
To
Hi all,
I am writing a kernel module that creates a kernel thread on a SMP
platform.
How to get the ID of the processor the kernel thread run on? Have any
kernel API? THX
Raymond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMA
9 matches
Mail list logo