Re: sharing a lock between unrelated modules ? [PATCH, RFC]

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

 



On Tue, Jun 21, 2005 at 08:44:18PM -0600, Jim Cromie wrote:
> PS.   Its beyond the scope of this thread, and probably beyond the kenn 
> of this mailing list (the newbies at least0, but what about a
> intermodule-shared-lock service module, to fill the gap between a
> one-off shared-lock module like the above, and a full-blown
> cluster-ready Distributed lock manager

Ok, now you've just gone too far :)

No, that's not needed, and neither is your "put a lock in a module"
stuff.  Just put the lock in the module you need it in, and make the
other module depend on it.  It's ok to load more than one module (as you
are going to do anyway.)

In short, don't try to make it so hard...

thanks,

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