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

Re: MMIO regions



Hi,

On Mon, 4 Oct 1999 10:38:13 -0400 (EDT), James Simmons
<jsimmons@edgeglobal.com> said:

>    I noticed something for SMP machines with all the dicussion about
> concurrent access to memory regions. What happens when you have two
> processes that have both mmapped the same MMIO region for some card.

The kernel doesn't impose any limits against this.  If you want to make
this impossible, then you need to add locking to the driver itself to
prevent multiple processes from conflicting.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/