]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_alloc: remove obsolete gfpflags_normal_context()
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 16 Sep 2022 07:22:56 +0000 (15:22 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:30 +0000 (14:03 -0700)
commit4bee9ed92b7b8746db448b7c86663e90a8e9bb1e
treee453317cf40d3161a07b6ef24925201aebd10e7e
parent2666119acdbf027d3a10bd743448d2fc88025ed8
mm/page_alloc: remove obsolete gfpflags_normal_context()

Since commit 46f358021e7d ("tcp: fix page frag corruption on page fault"),
there's no caller of gfpflags_normal_context().  Remove it as this helper
is strictly tied to the sk page frag usage and there won't be other user
in the future.

[linmiaohe@huawei.com: fix htmldocs]
Link: https://lkml.kernel.org/r/1bc55727-9b66-0e9e-c306-f10c4716ea89@huawei.com
Link: https://lkml.kernel.org/r/20220916072257.9639-16-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/core-api/mm-api.rst
include/linux/gfp.h