aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNicolas Pitre <[email protected]>2020-05-02 11:01:07 -0400
committerGreg Kroah-Hartman <[email protected]>2020-05-04 11:49:59 +0200
commit57d38f26d81e4275748b69372f31df545dcd9b71 (patch)
treeb807b3654d8da30cf43cc7f3843870b8d90ec63b /tools/perf/scripts/python/export-to-postgresql.py
parent092a9f59bc05904d4555fa012db12e768734ba1a (diff)
vt: fix unicode console freeing with a common interface
By directly using kfree() in different places we risk missing one if it is switched to using vfree(), especially if the corresponding vmalloc() is hidden away within a common abstraction. Oh wait, that's exactly what happened here. So let's fix this by creating a common abstraction for the free case as well. Signed-off-by: Nicolas Pitre <[email protected]> Reported-by: [email protected] Fixes: 9a98e7a80f95 ("vt: don't use kmalloc() for the unicode screen buffer") Cc: <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions