diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-05-07 04:04:48 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-07 10:26:32 +0300 |
commit | 3180c44fe1baf14fc876a4cdad77ea7b51ddc387 (patch) | |
tree | e1de9e0ae4e4559ea91788ecf79e771289151973 /kernel/gcov/clang.c | |
parent | 7a1d55b987dfcbddecdb67eecc76fe555d4348ba (diff) | |
download | linux-3180c44fe1baf14fc876a4cdad77ea7b51ddc387.tar.xz |
gcov: simplify buffer allocation
Use just a single vmalloc() with struct_size() instead of a separate
kmalloc() for the iter struct.
Link: https://lkml.kernel.org/r/20210315235453.b6de4a92096e.Iac40a5166589cefbff8449e466bd1b38ea7a17af@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/gcov/clang.c')
0 files changed, 0 insertions, 0 deletions