From 5f87692c6668c49396d5e5d99be8d7ad9dfdcd9d Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 17 Sep 2008 00:23:25 +0000 Subject: [PATCH] Increased the maximal port message size to 256 KB. The profiling messages easily hit the previous limit. Maybe another solution should be sought. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27591 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/port.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/port.cpp b/src/system/kernel/port.cpp index 18971bdda0..328a7d5c3f 100644 --- a/src/system/kernel/port.cpp +++ b/src/system/kernel/port.cpp @@ -61,7 +61,7 @@ struct port_entry { #define MAX_QUEUE_LENGTH 4096 -#define PORT_MAX_MESSAGE_SIZE 65536 +#define PORT_MAX_MESSAGE_SIZE (256 * 1024) // sMaxPorts must be power of 2 static int32 sMaxPorts = 4096;