On Tue, 2002-11-12 at 08:43, santhosh kumar wrote:
> Hi Eric,
> I am getting EFAULT (14). I feel, this is because i am allocating the memory
> using alloc_bootmem_pages (during boot time) and hence it not associated with
> any pages and get_user_pages returns this error.
> Is there any way i can over come this. Any pointers are welcome.
O_DIRECT is rather tuned for user memory, it is trying to lock down
user memory. Your memory is almost certainly not in this category.
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx