]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_alloc.c: use in_task()
authorVasily Averin <vvs@virtuozzo.com>
Thu, 2 Sep 2021 21:58:13 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Sep 2021 16:58:15 +0000 (09:58 -0700)
commit04429e4561016c73e21345dd7adb7873da4eb6cf
tree61c6b24a194624f5063eac22ad10852ba7213ab9
parent5a5d4c9ff2303c26dfb7ad55b0d7f4a62ba1fde2
mm/page_alloc.c: use in_task()

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

Link: https://lkml.kernel.org/r/877caa99-1994-5545-92d2-d0bb2e394182@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/page_alloc.c