[PATCH 1/1] Improve message when disabling sleep states

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The message "/dev/cpu_dma_latency set to 0us" may not always correctly
transmit the message that the purpose of doing so is to disable sleep
states. Added this detail to the message.

Signed-off-by: Carsten Emde <C.Emde@xxxxxxxxx>

Index: rt-tests/src/cyclictest/cyclictest.c
===================================================================
--- rt-tests.orig/src/cyclictest/cyclictest.c
+++ rt-tests/src/cyclictest/cyclictest.c
@@ -227,7 +227,8 @@ static void set_latency_target(void)
 			close(latency_target_fd);
 			return;
 		}
-		printf("# /dev/cpu_dma_latency set to %dus\n", latency_target_value);
+		printf("# /dev/cpu_dma_latency set to %dus (disabling sleep states)\n",
+		    latency_target_value);
 	}
 }


--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux