]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/kthread.c:kthread_create_on_node(): clarify documentation
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 4 Sep 2015 22:42:42 +0000 (15:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commit0efb2d4a4d2c7b17d2c4cfc3d47e596d66e9645d
treef2b2146fdd2aebab3130c66815fddbd71ce3249a
parentd8bd66dd3af477e01c50b0b0290b791647ba7d1a
kernel/kthread.c:kthread_create_on_node(): clarify documentation

- Make it clear that the `node' arg refers to memory allocations only:
  kthread_create_on_node() does not pin the new thread to that node's
  CPUs.

- Encourage the use of NUMA_NO_NODE.

[nzimmer@sgi.com: use NUMA_NO_NODE in kthread_create() also]
Cc: Nathan Zimmer <nzimmer@sgi.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kthread.h
kernel/kthread.c