[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can a driver create a VMA?
Arjan van de Ven wrote:
What I'd like to do is create a new VMA for
just the memory buffer, and then lock that VMA. Locking the VMA is what
really locks the buffer.
oh? and what stops the other thread from mucking with the VMA ?
I don't understand your point. Multiple threads can interfere with each
other in thousands of different ways. One thread can close a file that
another opened, for example. If an app is written in such a way that it
interferes with itself, I would consider that a bug in the app.
--
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/