Re: VMA management in device driver

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

 



On Wednesday 18 August 2004 21:35, Mikael Levernes Valen-Sendstad wrote:
>
> Seems a little bit funny though to protect the vm with a spinlock and
> a semaphore at the same time. Can/should I remove one of them?

I believe they protect different things.

> Do you mean that the code should be like this:
[code deleted]

Looks reasonable, but I am no mm expert.



--
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