diff options
| author | Dev Jain <dev.jain@arm.com> | 2024-10-18 12:41:51 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-11-07 07:11:16 +0300 |
| commit | 5bb6345cd2edfceef1749950ce786f205e56a90b (patch) | |
| tree | b18a76b0fa13c873e808fc7aaf8c49e5a914aba6 /include/linux/debugobjects.h | |
| parent | 4b6b0a5188c219cf40d6e863e55e2a5ca39e51cd (diff) | |
| download | linux-5bb6345cd2edfceef1749950ce786f205e56a90b.tar.xz | |
mm: remove redundant condition for THP folio
folio_test_pmd_mappable() implies folio_test_large(), therefore, simplify
the expression for is_thp.
Link: https://lkml.kernel.org/r/20241018094151.3458-1-dev.jain@arm.com
Signed-off-by: Dev Jain <dev.jain@arm.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
