augment comment
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
* if PageLRU is set) but the lock is not necessarily taken
* here and it is wasteful to take it just to check transhuge.
* Check transhuge without lock and skip if it's either a
- * transhuge or hugetlbfs page.
+ * transhuge or hugetlbfs page because calling compound_order()
+ * requires lru_lock to exclude isolation and splitting.
*/
if (PageTransHuge(page)) {
if (!locked)