diff options
| author | Kees Cook <[email protected]> | 2018-05-29 23:44:59 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-05-30 15:15:43 +0000 |
| commit | 1389053e1bed93b75b0c3cd292f61032334c81b3 (patch) | |
| tree | 71087216205118034caf293b8bf84090bc791bac /tools/perf/scripts/python/sctop.py | |
| parent | btrfs: return error value if create_io_em failed in cow_file_range (diff) | |
| download | kernel-1389053e1bed93b75b0c3cd292f61032334c81b3.tar.gz kernel-1389053e1bed93b75b0c3cd292f61032334c81b3.zip | |
btrfs: raid56: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this
allocates the working buffers during regular init, instead of using stack
space. This refactors the allocation code a bit to make it easier
to review.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
