diff options
author | Alex Waterman <alexw@nvidia.com> | 2015-06-10 16:53:23 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-06-11 14:12:58 -0400 |
commit | ed776185eca52c6ed044a45f42c61d50a1803dc6 (patch) | |
tree | bb2d508f66b6147b12bdc01a6dc8ac400cae9693 /include/linux/tegra_vgpu.h | |
parent | 0035aff30712a4506a028345b171eb616572bddb (diff) |
gpu: nvgpu: Check for split_order > max_order
When choosing an order of buddy to start splitting from (happens when
no buddies of the requested alloc order exist) don't sit in the while
loop past max_order. This makes no sense and hangs the system.
Bug 1647902
Change-Id: I6900597d24944d3170bc76cd75f33794b07707d1
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/756591
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/tegra_vgpu.h')
0 files changed, 0 insertions, 0 deletions