Re: Calling sys_mlock() from within a driver

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

 



On Mon, Jun 28, 2004 at 01:58:57PM -0500, Timur Tabi wrote:
> Greg KH wrote:
> 
> >A driver should not be making this call.  See the openib-general mailing
> >list archive for a detailed description on how a driver can avoid making
> >this call, for one such example of fixing a driver to not do this.
> 
> Are you talking about this post?
> 
> http://www.openib.org/openib-general/archive/2004/2004-06/1086841102674/index_html#1087312340342

Yes.

> I don't see a detailed description of a solution in the mailing list 
> archives.

The solution is to not use sys_mlock() :)
And if you really think you do need to use it, then see the suggestion
offered in the message you linked to, and talk to the kernel developers
on linux-kernel to see if such a solution is acceptable.

Good luck,

greg k-h

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