OSDN Git Service

multifd: Document the locking of MultiFD{Send/Recv}Params
authorJuan Quintela <quintela@redhat.com>
Tue, 31 May 2022 10:43:06 +0000 (12:43 +0200)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 20 Jul 2022 11:15:09 +0000 (12:15 +0100)
commit4a8f19c95cf55aec5f63c64bd0a67f65a27c43de
tree40bff3b3e74a2f305b89b752c62d958129f5ddbc
parentd59c40cc483729f2e67c80e58df769ad19976fe9
multifd: Document the locking of MultiFD{Send/Recv}Params

Reorder the structures so we can know if the fields are:
- Read only
- Their own locking (i.e. sems)
- Protected by 'mutex'
- Only for the multifd channel

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20220531104318.7494-2-quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  dgilbert: Typo fixes from Chen Zhang
migration/multifd.h