aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/Kconfig')
-rw-r--r--litmus/Kconfig20
1 files changed, 6 insertions, 14 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig
index f2434b87239b..9aeae659ae32 100644
--- a/litmus/Kconfig
+++ b/litmus/Kconfig
@@ -382,7 +382,7 @@ menu "Interrupt Handling"
382choice 382choice
383 prompt "Scheduling of interrupt bottom-halves in Litmus." 383 prompt "Scheduling of interrupt bottom-halves in Litmus."
384 default LITMUS_SOFTIRQD_NONE 384 default LITMUS_SOFTIRQD_NONE
385 depends on LITMUS_LOCKING && !LITMUS_THREAD_ALL_SOFTIRQ 385 depends on LITMUS_LOCKING
386 help 386 help
387 Schedule tasklets with known priorities in Litmus. 387 Schedule tasklets with known priorities in Litmus.
388 388
@@ -398,7 +398,7 @@ config LITMUS_SOFTIRQD
398 specifically dispatched to these workers. (Softirqs for 398 specifically dispatched to these workers. (Softirqs for
399 Litmus tasks are not magically redirected to klmirqd.) 399 Litmus tasks are not magically redirected to klmirqd.)
400 400
401 G-EDF/RM, C-EDF/RM ONLY for now! 401 G-EDF, C-EDF ONLY for now!
402 402
403 403
404config LITMUS_PAI_SOFTIRQD 404config LITMUS_PAI_SOFTIRQD
@@ -409,19 +409,11 @@ config LITMUS_PAI_SOFTIRQD
409 at the cost of non-preemptive durations of bottom half 409 at the cost of non-preemptive durations of bottom half
410 processing. 410 processing.
411 411
412 G-EDF/RM, C-EDF/RM ONLY for now! 412 G-EDF, C-EDF ONLY for now!
413 413
414endchoice 414endchoice
415 415
416 416
417config NR_LITMUS_SOFTIRQD
418 int "Number of klmirqd."
419 depends on LITMUS_SOFTIRQD
420 range 1 4096
421 default "1"
422 help
423 Should be <= to the number of CPUs in your system.
424
425config LITMUS_NVIDIA 417config LITMUS_NVIDIA
426 bool "Litmus handling of NVIDIA interrupts." 418 bool "Litmus handling of NVIDIA interrupts."
427 default n 419 default n
@@ -445,7 +437,7 @@ config LITMUS_AFFINITY_AWARE_GPU_ASSINGMENT
445config NV_DEVICE_NUM 437config NV_DEVICE_NUM
446 int "Number of NVIDIA GPUs." 438 int "Number of NVIDIA GPUs."
447 depends on LITMUS_SOFTIRQD || LITMUS_PAI_SOFTIRQD 439 depends on LITMUS_SOFTIRQD || LITMUS_PAI_SOFTIRQD
448 range 1 4096 440 range 1 16
449 default "1" 441 default "1"
450 help 442 help
451 Should be (<= to the number of CPUs) and 443 Should be (<= to the number of CPUs) and
@@ -453,11 +445,11 @@ config NV_DEVICE_NUM
453 445
454config NV_MAX_SIMULT_USERS 446config NV_MAX_SIMULT_USERS
455 int "Maximum number of threads sharing a GPU simultanously" 447 int "Maximum number of threads sharing a GPU simultanously"
456 depends on LITMUS_SOFTIRQD || LITMUS_PAI_SOFTIRQD 448 depends on LITMUS_NVIDIA
457 range 1 3 449 range 1 3
458 default "2" 450 default "2"
459 help 451 help
460 Should be equal to the #copy_engines + #execution_engines 452 Should be at least equal to the #copy_engines + #execution_engines
461 of the GPUs in your system. 453 of the GPUs in your system.
462 454
463 Scientific/Professional GPUs = 3 (ex. M2070, Quadro 6000?) 455 Scientific/Professional GPUs = 3 (ex. M2070, Quadro 6000?)