[Top] [All Lists]

RE: open from kernel

To: santhosh kumar <santhosh.kumar@xxxxxxxxx>
Subject: RE: open from kernel
From: Steve Lord <lord@xxxxxxx>
Date: 12 Nov 2002 10:54:01 -0600
Cc: Eric Sandeen <sandeen@xxxxxxx>, Seth Mos <knuffie@xxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <72D09F11CC09B645ADE2890F6B442FD81E6BE4@blr-m3-msg.wipro.com>
References: <72D09F11CC09B645ADE2890F6B442FD81E6BE4@blr-m3-msg.wipro.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>