aboutsummaryrefslogtreecommitdiff
path: root/crypto/md4.c
diff options
context:
space:
mode:
authorJiajian Ye2022-03-24 18:09:29 -0700
committerLinus Torvalds2022-03-24 19:06:45 -0700
commit578d8f2761a828f6c3409d0931b036bf3a999246 (patch)
treed35afcfdd5b2484907a3ccd90fb557659e0aa6fd /crypto/md4.c
parentcf3c2c8678a0b21052d00b64d7a5903f3b1d1197 (diff)
tools/vm/page_owner_sort: fix three trivival places
The following adjustments are made: 1. Instead of using another array to cull the blocks after sorting, reuse the old array. So there is no need to malloc a new array. 2. When enabling '-f' option to filter out the blocks which have been released, only add those have not been released in the list, rather than add all of blocks in the list and then do the filtering when printing the result. 3. When enabling '-c' option to cull the blocks by comparing stacktrace, print the stacetrace rather than the total block. Link: https://lkml.kernel.org/r/20220306030640.43054-1-yejiajian2018@email.szu.edu.cn Signed-off-by: Jiajian Ye <yejiajian2018@email.szu.edu.cn> Cc: <hanshenghong2019@email.szu.edu.cn> Cc: Sean Anderson <seanga2@gmail.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Yixuan Cao <caoyixuan2019@email.szu.edu.cn> Cc: <zhangyinan2019@email.szu.edu.cn> Cc: Zhenliang Wei <weizhenliang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/md4.c')
0 files changed, 0 insertions, 0 deletions