Changeset: d8f393eb0cc6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d8f393eb0cc6
Modified Files:
gdk/gdk_bat.mx
Branch: Apr2012
Log Message:
The 4th parameter of MT_mmap_inform in an advice.
diffs (12 lines):
diff --git a/gdk/gdk_bat.mx b/gdk/gdk_bat.mx
--- a/gdk/gdk_bat.mx
+++ b/gdk/gdk_bat.mx
@@ -2801,7 +2801,7 @@ static int
HEAPchangeaccess(Heap *hp, int dstmode, int existing)
{
if (hp->storage == STORE_MMAP && hp->size >= MT_MMAP_TILE) {
- MT_mmap_inform(hp->base, hp->size, 0, 0, (dstmode == BAT_READ)
? -1 : 1); /* inform vmtrim of the new mode */
+ MT_mmap_inform(hp->base, hp->size, 0, MMAP_NORMAL, (dstmode ==
BAT_READ) ? -1 : 1); /* inform vmtrim of the new mode */
}
if (hp->base == NULL || hp->newstorage == STORE_MEM || !existing ||
dstmode == -1)
return hp->newstorage; /* 0<=>2,1<=>3,a<=>b */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list