mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Added patch to improve heap allocation performance.
This commit is contained in:
parent
3246faa114
commit
a8f3f9c4e4
@ -13,9 +13,10 @@ which are not present in regular wine, and always report such issues to us
|
||||
Included bugfixes and improvements
|
||||
----------------------------------
|
||||
|
||||
**Bugfixes and features included in the next upcoming release [3]:**
|
||||
**Bugfixes and features included in the next upcoming release [4]:**
|
||||
|
||||
* Fix unintentional leaks with ntdll internals
|
||||
* Improvement for heap allocation performance
|
||||
* Support for DOS hidden/system file attributes ([Wine Bug #9158](http://bugs.winehq.org/show_bug.cgi?id=9158 "Multiple Microsoft development tools online/web installers fail to skip \"$shtdwn$.req\" with FILE_ATTRIBUTE_HIDDEN (Visual Studio Express Editions, .NET Framework 3.0)"))
|
||||
* Support for setcap on wine-preloader ([Wine Bug #26256](http://bugs.winehq.org/show_bug.cgi?id=26256 "wine64-preloader can't handle setcap cap_net_raw+epi"))
|
||||
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -4,6 +4,7 @@ wine-compholio (1.7.26) UNRELEASED; urgency=low
|
||||
* Added patch to add support for DOS hidden/system file attributes.
|
||||
* Added patch to use dynamic linking for libpcap.
|
||||
* Added patch to fix issues when using setcap on wine executable.
|
||||
* Added patch to improve heap allocation performance by using more freelists.
|
||||
-- Erich E. Hoover <erich.e.hoover@gmail.com> Wed, 27 Aug 2014 00:34:51 +0200
|
||||
|
||||
wine-compholio (1.7.25) unstable; urgency=low
|
||||
|
@ -32,6 +32,7 @@ PATCHLIST := \
|
||||
ntdll-FileDispositionInformation.ok \
|
||||
ntdll-Fix_Alignment.ok \
|
||||
ntdll-Fix_Free.ok \
|
||||
ntdll-Heap_FreeLists.ok \
|
||||
ntdll-Junction_Points.ok \
|
||||
ntdll-Pipe_SpecialCharacters.ok \
|
||||
ntdll-loader_EntryPoint.ok \
|
||||
@ -544,6 +545,21 @@ ntdll-Fix_Free.ok:
|
||||
echo '+ { "ntdll-Fix_Free", "Erich E. Hoover", "Fix unintentional leaks with ntdll internals" },'; \
|
||||
) > ntdll-Fix_Free.ok
|
||||
|
||||
# Patchset ntdll-Heap_FreeLists
|
||||
# |
|
||||
# | Included patches:
|
||||
# | * Improve heap allocation performance by using more fine-grained free lists. [by Steaphan Greene]
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/ntdll/heap.c
|
||||
# |
|
||||
.INTERMEDIATE: ntdll-Heap_FreeLists.ok
|
||||
ntdll-Heap_FreeLists.ok:
|
||||
$(call APPLY_FILE,ntdll-Heap_FreeLists/0001-ntdll-Improve-heap-allocation-performance-by-using-m.patch)
|
||||
@( \
|
||||
echo '+ { "ntdll-Heap_FreeLists", "Steaphan Greene", "Improve heap allocation performance by using more fine-grained free lists." },'; \
|
||||
) > ntdll-Heap_FreeLists.ok
|
||||
|
||||
# Patchset ntdll-Junction_Points
|
||||
# |
|
||||
# | Included patches:
|
||||
|
@ -0,0 +1,28 @@
|
||||
From 0f97518d5133beb335012d10f7096c7233c25db1 Mon Sep 17 00:00:00 2001
|
||||
From: Steaphan Greene <steaphan@gmail.com>
|
||||
Date: Fri, 2 Nov 2012 14:16:09 -0700
|
||||
Subject: ntdll: Improve heap allocation performance by using more
|
||||
fine-grained free lists.
|
||||
|
||||
---
|
||||
dlls/ntdll/heap.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c
|
||||
index 3bb7a11..eac6f85 100644
|
||||
--- a/dlls/ntdll/heap.c
|
||||
+++ b/dlls/ntdll/heap.c
|
||||
@@ -117,7 +117,9 @@ C_ASSERT( sizeof(ARENA_LARGE) % LARGE_ALIGNMENT == 0 );
|
||||
/* Max size of the blocks on the free lists */
|
||||
static const SIZE_T HEAP_freeListSizes[] =
|
||||
{
|
||||
- 0x10, 0x20, 0x30, 0x40, 0x60, 0x80, 0x100, 0x200, 0x400, 0x1000, ~0UL
|
||||
+ 0x10, 0x18, 0x20, 0x28, 0x30, 0x38, 0x40, 0x48, 0x50, 0x58, 0x60, 0x68,
|
||||
+ 0x70, 0x78, 0x80, 0x88, 0x90, 0x98, 0xA0, 0xA8, 0xB0, 0xB8, 0xC0, 0xC8,
|
||||
+ 0xD0, 0xD8, 0xE0, 0xE8, 0xF0, 0xF8, 0x100, 0x200, 0x400, 0x1000, ~0UL
|
||||
};
|
||||
#define HEAP_NB_FREE_LISTS (sizeof(HEAP_freeListSizes)/sizeof(HEAP_freeListSizes[0]))
|
||||
|
||||
--
|
||||
1.7.9.5
|
||||
|
4
patches/ntdll-Heap_FreeLists/definition
Normal file
4
patches/ntdll-Heap_FreeLists/definition
Normal file
@ -0,0 +1,4 @@
|
||||
Author: Steaphan Greene
|
||||
Subject: Improve heap allocation performance by using more fine-grained free lists.
|
||||
Revision: 1
|
||||
Fixes: Improvement for heap allocation performance
|
Loading…
Reference in New Issue
Block a user