]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: assign NUMA node locality if appropriate
authorJens Axboe <axboe@kernel.dk>
Thu, 15 Oct 2020 16:13:07 +0000 (10:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 17 Oct 2020 15:25:44 +0000 (09:25 -0600)
commit1f8cb9610f069197b00b2beaf4d79d749e2e2673
treed16fad2aa6470eb99755f5fc02960e6fb86b0730
parentc6f503397a9a94bb6b94f1a99bfc0252081a83bc
io-wq: assign NUMA node locality if appropriate

There was an assumption that kthread_create_on_node() would properly set
NUMA affinities in terms of CPUs allowed, but it doesn't. Make sure we
do this when creating an io-wq context on NUMA.

Cc: stable@vger.kernel.org
Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c