Re: [PATCH v8 0/4] MR852: ntdll: Speed up NtQueryVirtualMemory(MemoryWorkingSetExInformation) by conditional pread.
17 Sep
2022
17 Sep
'22
10:38 a.m.
Jinoh Kang (@iamahuman) commented about dlls/ntdll/unix/virtual.c:
get_committed_size( view, p->VirtualAddress, &vprot, VPROT_COMMITTED ) && (vprot & VPROT_COMMITTED)) { - if (!f || fseek( f, ((UINT_PTR)p->VirtualAddress >> page_shift) * sizeof(pagemap), SEEK_SET ) == -1 || - fread( &pagemap, sizeof(pagemap), 1, f ) != 1) + if (pagemap_fd != -1 ||
```suggestion:-0+0 if (pagemap_fd == -1 || ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/852#note_8741
1189
Age (days ago)
1189
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jinoh Kang (@iamahuman)