[GPGME PATCH] core: Restore get_max_fds optimization on Linux

Werner Koch wk at gnupg.org
Wed Sep 20 08:52:22 CEST 2017


On Tue, 19 Sep 2017 17:42, dkg at fifthhorseman.net said:

> I support adoption of this patch in GPGME upstream.  It addresses a

No question, it is on my shortlist and will be part of the next release.

Colin: Thanks for coming up with the method.  We might need a test or at
least a configure option to disable it for older linux kernels.  I also
need to see whether it needas to be ported to other components of GnuPG.

> pretty severe performance degradation in GPGME on Linux platforms that
> was introduced between version 1.8.0 and 1.9.0.

Actually the Linux specific optimization was only introduced with 1.7.0
on 2016-09-21 and disabled in 1.9.0 on 2017-03-28.  I didn't liked to
disable it but had to do it because of a real world race condition.


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170920/a2cab1af/attachment.sig>


More information about the Gnupg-devel mailing list