diff options
author | Sidhartha Kumar <sidhartha.kumar@oracle.com> | 2022-12-12 14:55:29 -0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-12-12 16:47:11 -0800 |
commit | c45bc55a99957b20e4e0333bcd42e12d1833a7f5 (patch) | |
tree | 351f020a04282256fcacfa458d36c3efc205a59e /drivers/gpu/drm/etnaviv/etnaviv_gem.c | |
parent | c47454823bd4e3ab34ed3f795afd4479ab938a3f (diff) | |
download | linux-stable-c45bc55a99957b20e4e0333bcd42e12d1833a7f5.tar.gz linux-stable-c45bc55a99957b20e4e0333bcd42e12d1833a7f5.tar.bz2 linux-stable-c45bc55a99957b20e4e0333bcd42e12d1833a7f5.zip |
mm/hugetlb: set head flag before setting compound_order in __prep_compound_gigantic_folio
folio_set_compound_order() checks if the passed in folio is a large folio.
A large folio is indicated by the PG_head flag. Call __folio_set_head()
before setting the order.
Link: https://lkml.kernel.org/r/20221212225529.22493-1-sidhartha.kumar@oracle.com
Fixes: d1c6095572d0 ("mm/hugetlb: convert hugetlb prep functions to folios")
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reported-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gem.c')
0 files changed, 0 insertions, 0 deletions