mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-rt: Default RLIMIT_RTTIME to -1/unlimited
As discussed in !1118.
This commit is contained in:
		
							parent
							
								
									baabcbe606
								
							
						
					
					
						commit
						75212a4054
					
				
					 12 changed files with 24 additions and 24 deletions
				
			
		| 
						 | 
					@ -39,8 +39,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,8 +24,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,8 +16,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,8 +16,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,8 +17,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,8 +16,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,8 +16,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,8 +16,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,8 +39,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,8 +23,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -75,8 +75,8 @@ context.modules = [
 | 
				
			||||||
        args = {
 | 
					        args = {
 | 
				
			||||||
            #nice.level   = -11
 | 
					            #nice.level   = -11
 | 
				
			||||||
            #rt.prio      = 88
 | 
					            #rt.prio      = 88
 | 
				
			||||||
            #rt.time.soft = 2000000
 | 
					            #rt.time.soft = -1
 | 
				
			||||||
            #rt.time.hard = 2000000
 | 
					            #rt.time.hard = -1
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        flags = [ ifexists nofail ]
 | 
					        flags = [ ifexists nofail ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -70,8 +70,8 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define DEFAULT_NICE_LEVEL	-11
 | 
					#define DEFAULT_NICE_LEVEL	-11
 | 
				
			||||||
#define DEFAULT_RT_PRIO		88
 | 
					#define DEFAULT_RT_PRIO		88
 | 
				
			||||||
#define DEFAULT_RT_TIME_SOFT	2000000
 | 
					#define DEFAULT_RT_TIME_SOFT	-1
 | 
				
			||||||
#define DEFAULT_RT_TIME_HARD	2000000
 | 
					#define DEFAULT_RT_TIME_HARD	-1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MODULE_USAGE	"[nice.level=<priority: default "SPA_STRINGIFY(DEFAULT_NICE_LEVEL)">] "	\
 | 
					#define MODULE_USAGE	"[nice.level=<priority: default "SPA_STRINGIFY(DEFAULT_NICE_LEVEL)">] "	\
 | 
				
			||||||
			"[rt.prio=<priority: default "SPA_STRINGIFY(DEFAULT_RT_PRIO)">] "		\
 | 
								"[rt.prio=<priority: default "SPA_STRINGIFY(DEFAULT_RT_PRIO)">] "		\
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue