aboutsummaryrefslogtreecommitdiff
path: root/migration/migration.c
diff options
context:
space:
mode:
authorLiang Li <liang.z.li@intel.com>2015-07-13 17:34:10 +0800
committerJuan Quintela <quintela@redhat.com>2015-07-15 12:21:28 +0200
commit9f5f380b54d6ad80cf35d93c8cd71c8d7a1b52b7 (patch)
tree83f006700918d86365571f29873403fa3f9c04a0 /migration/migration.c
parent48212d87d6655b029231d830a77983c21552fe49 (diff)
migration: reduce the count of strlen call
'strlen' is called three times in 'save_page_header', it's inefficient. Signed-off-by: Liang Li <liang.z.li@intel.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/migration.c')
0 files changed, 0 insertions, 0 deletions