Re: shared memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 28, 2001 at 07:17:25PM +0200, Tom Appermont wrote:

> While this works as expected on PC, it does not at all work as
> expected on my mips platform (R5231): What is written in user
> space is not immediately visible in kernel space. This is with
> very recent kernel sources (2.4.8) but the same problem exists
> with an older (2.4.5) kernel.
> 
> There have been a few mails about mmap() problems in the last 
> couple of months, but with very little interesting response. Is 
> this a known problem or am I stupidly overlooking something?

This is a different problem - and it's one caused by your code.  You're
missing the necessary cache flushes in the kernel code.  Using
_CACHE_UNCACHED is slow and breaks SMP.

 Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux