cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

Ken Brown kbrown@cornell.edu
Mon Sep 20 22:50:17 GMT 2021


On 9/20/2021 6:46 PM, Ken Brown wrote:
> On 9/20/2021 6:16 PM, Takashi Yano wrote:
>> On Mon, 20 Sep 2021 17:39:54 -0400
>> Ken Brown wrote:
>>> I'll push it tomorrow unless you find something that needs to be changed before
>>> then.
>>
>> typedef of SYSTEM_HANDLE_TABLE_ENTRY_INFO and SYSTEM_HANDLE_INFORMATION
>> are moved into ntdll.h
> 
>> +typedef struct _SYSTEM_HANDLE_INFORMATION
>> +{
>> +  ULONG NumberOfHandles;
>> +  SYSTEM_HANDLE_TABLE_ENTRY_INFO Handles[1];
>> +} SYSTEM_HANDLE_INFORMATION, PSYSTEM_HANDLE_INFORMATION;
>> +
> 
> You missed a '*' in front of PSYSTEM_HANDLE_INFORMATION.  Also, since you 
> defined PSYSTEM_HANDLE_INFORMATION, there are two places where you could use it 
> instead of 'SYSTEM_HANDLE_INFORMATION *'.

One other thought: I wonder if temporary_query_hdl might be a more suggestive 
name than tentative_query_hdl.

Ken


More information about the Cygwin-developers mailing list