]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/fork.c: virtually mapped stacks: do not disable interrupts
authorChristoph Lameter <cl@linux.com>
Wed, 12 Jul 2017 21:33:11 +0000 (14:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Jul 2017 23:25:59 +0000 (16:25 -0700)
commit84094d8aa8e253b695253f2e2f7b674a4bff70e3
treea111199c9d0cb26065fc0023879f53d904657d1f
parente7ea8a25aad408ed7962f10f7078f97a5a8ee6e6
kernel/fork.c: virtually mapped stacks: do not disable interrupts

The reason to disable interrupts seems to be to avoid switching to a
different processor while handling per cpu data using individual loads and
stores.  If we use per cpu RMV primitives we will not have to disable
interrupts.

Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1705171055130.5898@east.gentwo.org
Signed-off-by: Christoph Lameter <cl@linux.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c