Re: [PATCH] es1371 race fixes

Alan Cox (alan@redhat.com)
Sat, 2 Jun 2001 11:58:11 -0400 (EDT)


> o es1371_mmap used to use lock_kernel to do some synchronistation,
> this is superceeded by s->sem.
> o remap_page_range (used in es1371_mmap) needs the mm semaphore as
> stated by a comment and the code. I have found _NO_ driver in the
> tree so far that does this locking right...

I think they rely on the lock_kernel stuff - which Id prefer not to take out
to be honest. There is just a little too much vm related lock_kernel stuff
left to do that
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/