tizen: Adjust QUARK_BLOCK_SIZE value
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 22 Jul 2020 05:20:43 +0000 (14:20 +0900)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 3 Sep 2024 08:56:16 +0000 (10:56 +0200)
2048 -> 32

Change-Id: I7d668b50905ba0c9022a0e4d82128032981a0550
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
glib/gquark.c
packaging/q_quark_block_size.patch [new file with mode: 0644]

index 0b6863a..5bc2dfa 100644 (file)
@@ -45,7 +45,7 @@
 #include "glib-init.h"
 #include "glib-private.h"
 
-#define QUARK_BLOCK_SIZE         2048
+#define QUARK_BLOCK_SIZE         32
 #define QUARK_STRING_BLOCK_SIZE (4096 - sizeof (gsize))
 
 static inline GQuark  quark_new (gchar *string);
diff --git a/packaging/q_quark_block_size.patch b/packaging/q_quark_block_size.patch
new file mode 100644 (file)
index 0000000..88542f1
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/glib/gquark.c b/glib/gquark.c
+index 2a0861094..d18ac89c5 100644
+--- a/glib/gquark.c
++++ b/glib/gquark.c
+@@ -42,7 +42,7 @@
+ #include "glib_trace.h"
+ #include "glib-init.h"
+
+-#define QUARK_BLOCK_SIZE         2048
++#define QUARK_BLOCK_SIZE         32
+ #define QUARK_STRING_BLOCK_SIZE (4096 - sizeof (gsize))
+
+ static inline GQuark  quark_new (gchar *string);