On Wed, 13 Apr 2005 15:15:47 +0200 Yves Crespin wrote:
|
| >| How can I obtains an buffer alignement from a "user program" ?
| >
| >I actually left that as an exercise (after I did it at home
| >last night). Did you read the hint (below)?
|
| Well ... either with malloc() and alignement or
>| How can I obtains an buffer alignement from a "user program" ?
>
>I actually left that as an exercise (after I did it at home
>last night). Did you read the hint (below)?
Well ... either with malloc() and alignement or posix_memalign(),
read() still failed!
My read buffer is in user space, so i
On Tue, 12 Apr 2005 18:16:40 +0200 Yves Crespin wrote:
| I've got compilation error when I call vmalloc() from a user program
| (w/o defined __KENEL).
Where did vmalloc() come from?
I said malloc(), not vmalloc().
| How can I obtains an buffer alignement from a "user program" ?
I actually left
I've got compilation error when I call vmalloc() from a user program
(w/o defined __KENEL).
How can I obtains an buffer alignement from a "user program" ?
Randy.Dunlap wrote:
On Mon, 11 Apr 2005 21:14:17 +0200 Yves Crespin wrote:
| Hello,
|
| Using O_DIRECT flag, read() failed and errno is EINVA
On Mon, 11 Apr 2005 21:14:17 +0200 Yves Crespin wrote:
| Hello,
|
| Using O_DIRECT flag, read() failed and errno is EINVAL.
| kernel 2.4.22
| Filesystem Ext3 mount on /home
| What's wrong ?
| Thanks
In fs/buffer.c, it wants the buffer & the length (size) to be aligned:
function: brw_kiovec()
5 matches
Mail list logo