Re: [PATCH] es1371 race fixes

2001-06-02 Thread Alan Cox
> 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

[PATCH] es1371 race fixes

2001-06-02 Thread Christoph Hellwig
Hi all, this are the sound locking fixes for es1371. While it is inspired by the trident fixes it contains some changes over it: 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

[PATCH] es1371 race fixes

2001-06-02 Thread Christoph Hellwig
Hi all, this are the sound locking fixes for es1371. While it is inspired by the trident fixes it contains some changes over it: 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

Re: [PATCH] es1371 race fixes

2001-06-02 Thread Alan Cox
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...