-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '4c95db3223336cc85cb495c90e58d6be3826beed' into masync
- Loading branch information
Showing
51 changed files
with
2,330 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,31 @@ | ||
Thu Aug 11 2022 Łukasz Plewa <[email protected]> | ||
|
||
* Version 0.2.0-rc1 | ||
|
||
common: use correct atomics in ringbuf | ||
common: fix use-after-free in membuf in mt scenarios | ||
common: replace improper 'RPMA' in man pages with 'MINIASYNC' | ||
doc: add async property to documentation | ||
doc: update async property documentation | ||
doc: update code styling to properly appear in manpage | ||
masync: drop unused #ifdefs that block portability | ||
masync: add hashmap example | ||
masync: add flush operation for DML data mover | ||
masync: add flag indicating that future is async | ||
masync: add destination_readback flag to persistent memory writes | ||
masync: add macro to check if chain entry was initialized | ||
|
||
|
||
Fri May 20 2022 Weronika Lewandowska <[email protected]> | ||
|
||
* Version 0.1.0 | ||
|
||
This is the first official release of the miniasync library. | ||
|
||
The library provides the API for asynchronous memory operations | ||
through the use of features and runtime mechanisms and independence | ||
in terms of hardware by implementing a virtual data mover. | ||
|
||
This release also contains: | ||
- documentation on the implemented functionality | ||
- basic examples | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ runtime_wait.3 | |
vdm_memcpy.3 | ||
vdm_memmove.3 | ||
vdm_memset.3 | ||
vdm_flush.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
layout: manual | ||
Content-Style: 'text/css' | ||
title: _MP(VDM_FLUSH, 3) | ||
collection: miniasync | ||
header: VDM_FLUSH | ||
secondary_title: miniasync | ||
... | ||
|
||
[comment]: <> (SPDX-License-Identifier: BSD-3-Clause) | ||
[comment]: <> (Copyright 2022, Intel Corporation) | ||
|
||
[comment]: <> (vdm_flush.3 -- man page for miniasync vdm_flush operation) | ||
|
||
[NAME](#name)<br /> | ||
[SYNOPSIS](#synopsis)<br /> | ||
[DESCRIPTION](#description)<br /> | ||
[RETURN VALUE](#return-value)<br /> | ||
[SEE ALSO](#see-also)<br /> | ||
|
||
# NAME # | ||
|
||
**vdm_flush**() - create a new flush virtual data mover operation structure | ||
|
||
# SYNOPSIS # | ||
|
||
```c | ||
#include <libminiasync.h> | ||
struct vdm_operation_output_flush { | ||
uint64_t unused; | ||
}; | ||
FUTURE(vdm_operation_future, | ||
struct vdm_operation_data, struct vdm_operation_output); | ||
struct vdm_operation_future vdm_flush(struct vdm *vdm, void *dest, size_t n, uint64_t flags); | ||
``` | ||
|
||
For general description of virtual data mover API, see **miniasync_vdm**(7). | ||
|
||
# DESCRIPTION # | ||
|
||
**vdm_flush**() initializes and returns a new flush future based on the virtual data mover | ||
implementation instance *vdm*. The parameters: *dest*, *n* are standard flush parameters. | ||
The *flags* represents data mover specific flags. The **flush** operation is | ||
implemented only for the DML data mover and cannot be used with synchronous and thread data movers. | ||
|
||
Flush future obtained using **vdm_flush**() will attempt to flush the *n* bytes of the processor | ||
caches at the *dest* address when its polled. | ||
|
||
## RETURN VALUE ## | ||
|
||
The **vdm_flush**() function returns an initialized *struct vdm_operation_future* flush future. | ||
|
||
# SEE ALSO # | ||
|
||
**vdm_memcpy**(3), **vdm_memmove**(3), **vdm_memset**(3), **miniasync**(7), **miniasync_vdm**(7), | ||
**miniasync_vdm_dml**(7) and **<https://pmem.io>** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.