On Mon, 20 Oct 2003, Erez Doron wrote: > i am using copy_from_user and copy_to_user functions. > how do i make that physical memory non cached ? > ( it seems to write when it wants and read adresses i didnt ask it to read)
can you explain what do you mean by 'reads when it wants to'? after you 'copy_from_user', your kernel-space buffer does not contain the data that exists in the user-space buffer? if this is the case - you seem to have some bug in your code. the same should be for the writing part, i.e. after 'copy_to_user', the user-space buffer should contain the desired text. why do you think caching is your problem, anyway? also, in what context do you use these functions? a system call? an interrupt handler? -- guy "For world domination - press 1, or dial 0, and please hold, for the creator." -- nob o. dy ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]