Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29651
Modified Files:
Tag: MonetDB_1-22
gdk_utils.mx
Log Message:
disable use of vmalloc()
Index: gdk_utils.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_utils.mx,v
retrieving revision 1.206
retrieving revision 1.206.2.1
diff -u -d -r1.206 -r1.206.2.1
--- gdk_utils.mx 14 Jan 2008 10:48:58 -0000 1.206
+++ gdk_utils.mx 9 Feb 2008 15:38:11 -0000 1.206.2.1
@@ -1050,6 +1050,7 @@
#endif
}
size = (size + 7) & ~7; /* round up to a multiple of eight */
+#if 0
if (size > GDK_mem_bigsize) {
size_t newsize = size + sizeof(size_t) + sizeof(size_t);
size_t newmax = MAX(*maxsize, newsize);
@@ -1064,6 +1065,7 @@
*maxsize = newmax - (sizeof(size_t) + sizeof(size_t));
return (void *) s;
}
+#endif
CHKMEM(size, 0);
GDKmalloc_prefixsize(s, size);
if (s == NULL) {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins