]> git.baikalelectronics.ru Git - kernel.git/commit
mm: move free_unref_page to mm/internal.h
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 15 Dec 2020 03:08:02 +0000 (19:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:41 +0000 (12:13 -0800)
commitcb2b70bee0038739c06d7def88198e0460471d2a
treed52ec324bdbfe6a36577e1d1b07905e2ba2f0ae0
parent3557f0e14e5f6255c1649ab4fcfaaf219c87e8d0
mm: move free_unref_page to mm/internal.h

Code outside mm/ should not be calling free_unref_page().  Also move
free_unref_page_list().

Link: https://lkml.kernel.org/r/20201125034655.27687-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/gfp.h
mm/internal.h