]> git.karo-electronics.de Git - linux-beck.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)
commitc70b647d381cba1899c953b0016b7dc185892f90
tree69e6fe37d37e0db4297f9e08d7b48ec38ed6b3cb
parentd5e6eff265fe7537fa494e6ab125747813be76a0
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