Author: vlendec Date: 2005-07-27 16:10:50 +0000 (Wed, 27 Jul 2005) New Revision: 8798
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8798 Log: Save one system call per SMB. smb_run_idle_events right now is only used to close idle pdb_ldap connections, and from my point of view this can wait until normal timeout handling, this does not need to be done per client request. Volker Modified: branches/SAMBA_3_0/source/smbd/process.c trunk/source/smbd/process.c Changeset: Modified: branches/SAMBA_3_0/source/smbd/process.c =================================================================== --- branches/SAMBA_3_0/source/smbd/process.c 2005-07-27 15:11:20 UTC (rev 8797) +++ branches/SAMBA_3_0/source/smbd/process.c 2005-07-27 16:10:50 UTC (rev 8798) @@ -1633,10 +1633,6 @@ lp_talloc_free(); main_loop_talloc_free(); - /* run all registered idle events */ - smb_run_idle_events(time(NULL)); - - /* Did someone ask for immediate checks on things like blocking locks ? */ if (select_timeout == 0) { if(!timeout_processing( deadtime, &select_timeout, &last_timeout_processing_time)) Modified: trunk/source/smbd/process.c =================================================================== --- trunk/source/smbd/process.c 2005-07-27 15:11:20 UTC (rev 8797) +++ trunk/source/smbd/process.c 2005-07-27 16:10:50 UTC (rev 8798) @@ -1615,10 +1615,6 @@ lp_talloc_free(); main_loop_talloc_free(); - /* run all registered idle events */ - smb_run_idle_events(time(NULL)); - - /* Did someone ask for immediate checks on things like blocking locks ? */ if (select_timeout == 0) { if(!timeout_processing( deadtime, &select_timeout, &last_timeout_processing_time))