diff options
author | Jianlin Lv <iecedge@gmail.com> | 2022-12-19 16:49:17 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-18 17:12:45 -0800 |
commit | ef1faf0e370a8e33fe625088ddc5fde02cf8c4c4 (patch) | |
tree | 3a48aab6932e9207aebbc586f3a402aeefe204f2 /mm | |
parent | 44383cef54c0ce1201f884d83cc2b367bc5aa4f7 (diff) |
tools/vm/page_owner_sort: free memory before exit
Although when a process terminates, the kernel will removes memory
associated with that process, It's neither good style nor proper design to
leave it to kernel. This patch free allocated memory before process exit.
Link: https://lkml.kernel.org/r/20221219164917.14132-1-iecedge@gmail.com
Signed-off-by: Jianlin Lv <iecedge@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions