Re: Can a driver create a VMA?

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

 



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/




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux