aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorzhong jiang <[email protected]>2017-02-22 23:46:51 +0000
committerLinus Torvalds <[email protected]>2017-02-23 00:41:31 +0000
commitf201ebd87652cf1519792f8662bb3f862c76aa33 (patch)
tree3dfc4774407bcc51d5cb91066af04cdc7eb8d3b8 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentmm: fix <linux/pagemap.h> stray kernel-doc notation (diff)
downloadkernel-f201ebd87652cf1519792f8662bb3f862c76aa33.tar.gz
kernel-f201ebd87652cf1519792f8662bb3f862c76aa33.zip
mm/z3fold.c: limit first_num to the actual range of possible buddy indexes
At present, Tying the first_num size to NCHUNKS_ORDER is confusing. the number of chunks is completely unrelated to the number of buddies. The patch limits the first_num to actual range of possible buddy indexes. and that is more reasonable and obvious without functional change. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: zhong jiang <[email protected]> Suggested-by: Dan Streetman <[email protected]> Acked-by: Dan Streetman <[email protected]> Acked-by: Vitaly Wool <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions