PM / sleep: Measure the time of filesystems syncing
authorHarry Pan <harry.pan@intel.com>
Mon, 25 Feb 2019 12:36:43 +0000 (20:36 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 2 Apr 2019 08:53:19 +0000 (10:53 +0200)
commitc64546b17bc940643545dd34eac21f51764d633c
treedf9f9504498caaee4392800ea26f2276fe0161aa
parentb5dee3130bb4014511f5d0dd46855ed843e3fdc8
PM / sleep: Measure the time of filesystems syncing

Measure the filesystems sync time during system sleep more precisely.

Among other things, this allows the pr_cont() to be dropped from
ksys_sync_helper() and makes automatic system suspend and hibernation
profiling somewhat more straightforward.

Signed-off-by: Harry Pan <harry.pan@intel.com>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/main.c