From: Liang Li
'strlen' is called three times in 'save_page_header', it's
inefficient.
Signed-off-by: Liang Li
Reviewed-by: Juan Quintela
Reviewed-by: Amit Shah
Signed-off-by: Juan Quintela
---
migration/ram.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mi
From: Liang Li
'strlen' is called three times in 'save_page_header', it's
inefficient.
Signed-off-by: Liang Li
Reviewed-by: Juan Quintela
Reviewed-by: Amit Shat
Signed-off-by: Juan Quintela
---
migration/ram.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mi