]> git.baikalelectronics.ru Git - kernel.git/commit
mm/filemap.c: add comment for confusing logic in page_cache_tree_insert()
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Tue, 13 Dec 2016 00:43:17 +0000 (16:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Dec 2016 02:55:08 +0000 (18:55 -0800)
commit182df15b67e6351ec308d3dd35f05d0cc0eb7dc4
tree69e6fe37d37e0db4297f9e08d7b48ec38ed6b3cb
parent6abf78c8c8e72862350c1639e93025eed534de7a
mm/filemap.c: add comment for confusing logic in page_cache_tree_insert()

Unlike THP, hugetlb pages are represented by one entry in the
radix-tree.

[akpm@linux-foundation.org: tweak comment]
Link: http://lkml.kernel.org/r/20161110163640.126124-1-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c