diff options
author | Yang Shi <[email protected]> | 2020-04-01 21:09:59 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-04-02 09:35:31 -0700 |
commit | 565dc842313fde3d0a2e817f96b42bd6a1eb0cad (patch) | |
tree | 96c7a1c7bd1749abeb64af931347745dc0ceffd3 /tools/perf/scripts/python/syscall-counts.py | |
parent | fe925c0cb05b5616353e8b68eb914c9840cad2f9 (diff) |
mm: vmpressure: don't need call kfree if kstrndup fails
When kstrndup fails, no memory was allocated and we can exit directly.
[[email protected]: reword changelog]
Signed-off-by: Yang Shi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: David Rientjes <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions