From b6c5aa4aa67df1864d8e21c1c195583d36fcd8ff Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 21 Apr 2021 04:03:39 +0000 Subject: internals: increase the anonymous memory region buffer. --- src/driver/tpax_driver_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/driver') diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c index 1498718..30f3ce5 100644 --- a/src/driver/tpax_driver_ctx.c +++ b/src/driver/tpax_driver_ctx.c @@ -283,7 +283,7 @@ static struct tpax_driver_ctx_impl * tpax_driver_ctx_alloc( *units++ = entry->arg; if (cctx->drvflags & TPAX_DRIVER_EXEC_MODE_WRITE_COPY) { - ictx->ctx.bufsize = 64 * 1024; + ictx->ctx.bufsize = TPAX_FILEIO_BUFLEN; ictx->ctx.bufaddr = mmap( 0,ictx->ctx.bufsize, PROT_READ|PROT_WRITE, -- cgit v1.2.3