mm/mempolicy.c: use in_task() in mempolicy_slab_node()
authorVasily Averin <vvs@virtuozzo.com>
Thu, 2 Sep 2021 22:00:23 +0000 (15:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Sep 2021 16:58:17 +0000 (09:58 -0700)
commit38b031dd4d03542d963eebe600d67ea34f47eb65
tree88755d368bbba98b4395462ad41beda9989ee2f2
parentbe897d48a971e36daadbd9289967e7e4f3749528
mm/mempolicy.c: use in_task() in mempolicy_slab_node()

Obsoleted in_intrrupt() include task context with disabled BH, it's better
to use in_task() instead.

Link: https://lkml.kernel.org/r/984ee771-4834-21da-801f-c15c18ddf4d1@virtuozzo.com
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempolicy.c