Skip to content
Snippets Groups Projects
Unverified Commit 54e1b9f1 authored by Piotr Balcer's avatar Piotr Balcer Committed by GitHub
Browse files

Merge pull request #4861 from pbalcer/master

common: 1.9-rc1 release
parents 17d5872e d5b76759
No related branches found
No related tags found
No related merge requests found
Fri Jun 19 2020 Piotr Balcer <piotr.balcer@intel.com>
* Version 1.9-rc1
This release:
- Switches the default instruction set for memcpy, memmove and memset
implementations on x86 to AVX512, and introduces numerous performance
improvements for those operations on AVX and SSE2 fallback paths.
- Optimizes transactional allocations in libpmemobj by avoiding one
extraneous cache miss and reducing the amount of work required to perform
a reservation.
- Introduces a new API in libpmemobj, pmemobj_tx_set_failure_behavior,
that enables the application to control the behavior of aborting
transactions.
- Improves performance of pool creation on Windows by avoiding expensive
physical page allocation during file allocation.
Other changes:
- pmem: mem[cpy|set] optimization when eADR is available
- obj: detect msync failures in non-pmem variants of mem[cpy|move|set]
Notable bug fixes:
- core: fix Last_errormsg_get when NO_LIBPTHREAD is defined
- pmem: read Unsafe Shutdown Count from region instead of interleave set
- common: fix deep_flushes failing on platforms that don't need them
- pmem: fix data cache flush on ppc64
- obj: fix run allocated recalculation
Fri Jan 31 2020 Marcin Ślusarz <marcin.slusarz@intel.com>
* Version 1.8
......
......@@ -63,7 +63,7 @@ ppc_flush(const void *addr, size_t size)
}
static void
ppc_flush_msync(const void *addr, size_t size)
ppc_flush_msync(const void *addr, size_t len)
{
LOG(15, "addr %p len %zu", addr, len);
/* this implementation is copy of pmem_msync */
......@@ -90,8 +90,7 @@ ppc_flush_msync(const void *addr, size_t size)
*/
VALGRIND_DO_DISABLE_ERROR_REPORTING;
int ret;
if ((ret = msync((void *)uptr, len, MS_SYNC)) < 0)
if (msync((void *)uptr, len, MS_SYNC) < 0)
ERR("!msync");
VALGRIND_DO_ENABLE_ERROR_REPORTING;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment