diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-06-23 13:27:42 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-06-23 13:27:42 -0700 |
commit | b15a58e688689b75563eb2936f7e19c949bca699 (patch) | |
tree | c8cf608f816d1007eb3e60f1d79835bd4e3cebbf /src/setup.h | |
parent | f8606bd69655b5bfce053d80d6b9f7ead6e7f03f (diff) |
til_fb: prevent 0-height slices
til_fb_fragment_slice_single() and indirectly
til_fragmenter_slice_per_cpu() could get into infinite loops when
slicing small fragments into many slices.
This became more likely with commit a2f7397 which increased
per_cpu slice counts by 16X, which is how I tripped over it
running rtv. A checkers,size=8,fill_module=moire sent things
spinning...
This commit prevents it in the obvious manner.
Diffstat (limited to 'src/setup.h')
0 files changed, 0 insertions, 0 deletions