[pisa-src] r1090 - trunk/pisasd

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 12 Oct 2009 14:42:03 +0200

Author: tjansen
Date: Mon Oct 12 14:42:03 2009
New Revision: 1090

Log:
Added reminder for performance optimization in pisasd main loop.

Modified:
   trunk/pisasd/sdmain.c

Modified: trunk/pisasd/sdmain.c
==============================================================================
--- trunk/pisasd/sdmain.c       Mon Oct 12 14:14:02 2009        (r1089)
+++ trunk/pisasd/sdmain.c       Mon Oct 12 14:42:03 2009        (r1090)
@@ -317,6 +317,9 @@
                                        sd_ctx.fd_pstunc, sd_ctx.fd_pstuns,
                                        sd_ctx.tunnel,sd_ctx.tunnel);
 #else
+               /* Performance optimization: Does this really have to be
+                * recalcutated every time? Check again after PREAUTH is
+                * removed. -- Thomas */
                maxfd = 1 + pisa_maxof(4, sd_ctx.tunc, sd_ctx.tund,
                                        sd_ctx.tunnel,sd_ctx.tunnel);
 #endif /* REMOVE_PREAUTH_CODE */

Other related posts:

  • » [pisa-src] r1090 - trunk/pisasd - Thomas Jansen