memobj_attr_set_lazywrite()

Indicate whether the object shall be created with the lazy writing mechanism

Synopsis:

#include <memobj/alloc.h>
void memobj_attr_set_lazywrite(struct memobj_attr *attr, bool lazy)

Arguments:

attr
The attribute structure to modify.
lazy
Specifies whether to use the lazy writing mechanism.

Library:

libmemobj

Description:

Note:
This function is provided for compatibility, use the function memobj_attr_set_cache_mode() instead.
The memobj_attr_set_lazywrite() function indicates whether the object shall be created with the lazy writing mechanism. On AARCH64, it uses WTnWA cache mode. On X86_64, it uses WC cache mode.

Page updated: