libafs: use kthread_run when available
authorTom Keiser <tkeiser@sinenomine.net>
Tue, 10 Apr 2012 20:26:42 +0000 (16:26 -0400)
committerDerrick Brashear <shadow@dementix.org>
Tue, 14 Aug 2012 13:21:00 +0000 (06:21 -0700)
commitb440d8ffcbb0ac58ecaa34a9c60fe27a0fc91026
tree66a2be820f408299c94dcf24c29d68cb9705b7a7
parent355b8c73ed5adc5c182cf29561cc360ef4674f9e
libafs: use kthread_run when available

Use the kthread_run interface on linux to create kernel
threads.  This interface allows all the cpus to schedule
afsd threads, instead of just inheriting the cpu affinity of
the main afsd thread.

Written by Tom Keiser.

Change-Id: I69eb852d168bd85e9aa7ec075013c0346207dbcf
Reviewed-on: http://gerrit.openafs.org/7915
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
acinclude.m4
src/afs/afs_call.c