diff options
Diffstat (limited to 'litmus/Kconfig')
-rw-r--r-- | litmus/Kconfig | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig index bf802b760e1f..fad4220ae49f 100644 --- a/litmus/Kconfig +++ b/litmus/Kconfig | |||
@@ -400,7 +400,7 @@ config LITMUS_SOFTIRQD_NONE | |||
400 | Don't schedule tasklets in Litmus. Default. | 400 | Don't schedule tasklets in Litmus. Default. |
401 | 401 | ||
402 | config LITMUS_SOFTIRQD | 402 | config LITMUS_SOFTIRQD |
403 | bool "Spawn klmirqd interrupt handling threads." | 403 | bool "Enable klmirqd interrupt (and workqueue) handling threads." |
404 | help | 404 | help |
405 | Create klmirqd interrupt handling threads. Work must be | 405 | Create klmirqd interrupt handling threads. Work must be |
406 | specifically dispatched to these workers. (Softirqs for | 406 | specifically dispatched to these workers. (Softirqs for |
@@ -423,11 +423,10 @@ endchoice | |||
423 | 423 | ||
424 | 424 | ||
425 | config LITMUS_NVIDIA | 425 | config LITMUS_NVIDIA |
426 | bool "Litmus handling of NVIDIA interrupts." | 426 | bool "Litmus handling of NVIDIA driver." |
427 | default n | 427 | default n |
428 | help | 428 | help |
429 | Direct tasklets from NVIDIA devices to Litmus's klmirqd | 429 | Enable Litmus control of NVIDIA driver tasklet/workqueues. |
430 | or PAI interrupt handling routines. | ||
431 | 430 | ||
432 | If unsure, say No. | 431 | If unsure, say No. |
433 | 432 | ||
@@ -444,6 +443,36 @@ config LITMUS_NVIDIA_NONSPLIT_INTERRUPTS | |||
444 | 443 | ||
445 | If unsure, say No. | 444 | If unsure, say No. |
446 | 445 | ||
446 | choice | ||
447 | prompt "Litmus handling of NVIDIA workqueues." | ||
448 | depends on LITMUS_NVIDIA | ||
449 | default LITMUS_NVIDIA_WORKQ_OFF | ||
450 | help | ||
451 | Select method for handling NVIDIA workqueues. | ||
452 | |||
453 | config LITMUS_NVIDIA_WORKQ_OFF | ||
454 | bool "Use Linux's default work queues." | ||
455 | help | ||
456 | Let Linux process all NVIDIA work queue items. | ||
457 | |||
458 | config LITMUS_NVIDIA_WORKQ_ON | ||
459 | bool "Schedule work with interrupt thread." | ||
460 | depends on LITMUS_SOFTIRQD | ||
461 | help | ||
462 | Direct work queue items from NVIDIA devices Litmus's | ||
463 | klmirqd handling routines. Use the same thread | ||
464 | as interrupt handling. | ||
465 | |||
466 | config LITMUS_NVIDIA_WORKQ_ON_DEDICATED | ||
467 | bool "Sechedule work in dedicated threads." | ||
468 | depends on LITMUS_SOFTIRQD | ||
469 | help | ||
470 | Direct work queue items from NVIDIA devices to Litmus's | ||
471 | klmirqd handling routines. Use dedicated thread for | ||
472 | work (seperate thread from interrupt handling). | ||
473 | |||
474 | endchoice | ||
475 | |||
447 | config LITMUS_AFFINITY_AWARE_GPU_ASSINGMENT | 476 | config LITMUS_AFFINITY_AWARE_GPU_ASSINGMENT |
448 | bool "Enable affinity-aware heuristics to improve GPU assignment." | 477 | bool "Enable affinity-aware heuristics to improve GPU assignment." |
449 | depends on LITMUS_NVIDIA && LITMUS_AFFINITY_LOCKING | 478 | depends on LITMUS_NVIDIA && LITMUS_AFFINITY_LOCKING |