Author: cgutman
Date: Tue Feb 9 18:58:11 2010
New Revision: 45531
URL:
http://svn.reactos.org/svn/reactos?rev=45531&view=rev
Log:
- Fix the LARGE_SIZE constant so it uses the lookaside list for mbuf ext buffers
allocations again
- We added one byte to each ext buffer as a ref count for oskit_buffer_* functions so we
need to compensate for that by adding one byte to the LARGE_SIZE constant
- This should boost performance too because we allocate one ext buffer for each incoming
and outgoing TCP packet
Modified:
branches/aicom-network-branch/lib/drivers/ip/transport/tcp/event.c
Modified: branches/aicom-network-branch/lib/drivers/ip/transport/tcp/event.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/lib/driver…
==============================================================================
--- branches/aicom-network-branch/lib/drivers/ip/transport/tcp/event.c [iso-8859-1]
(original)
+++ branches/aicom-network-branch/lib/drivers/ip/transport/tcp/event.c [iso-8859-1] Tue
Feb 9 18:58:11 2010
@@ -119,7 +119,7 @@
#define MEM_PROFILE 0
#define SMALL_SIZE 128
-#define LARGE_SIZE 2048
+#define LARGE_SIZE 2049
#define SIGNATURE_LARGE 'LLLL'
#define SIGNATURE_SMALL 'SSSS'