freeradius-client sequence file replacement
Alex Massover
alex at jajah.com
Mon Feb 1 11:11:33 CET 2010
Hello,
I made a patch that adds fast locking mechanisms instead of seq file for freeradius-client.
This patch is based on putting the sequence number in the shared memory. Two approaches used to do a mutual exclusion for shared memory:
a) GCC builtin atomic memory access (only on Intel)
b) POSIX named semaphore
Fallback:
c) If nothing of the above available it fallbacks to a sequence file locks.
Originally I did it against radiusclient-ng, but looks that freeradius-client is a correct place. The patch works for freeradius-client 1.1.6 as well.
Here's a patch and more detailed description:
http://developer.berlios.de/patch/?func=detailpatch&patch_id=2810&group_id=1208
--
Best Regards,
Alex Massover
VoIP R&D TL
Jajah Inc.
This mail was sent via Mail-SeCure System.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20100201/cfd37603/attachment.html>
More information about the Freeradius-Devel
mailing list