linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Clarify the meaning of setting /dev/cpu_dma_latency to 0
@ 2012-12-19 15:35 Carsten Emde
  2012-12-19 15:35 ` [PATCH 1/1] Improve message when disabling sleep states Carsten Emde
  0 siblings, 1 reply; 2+ messages in thread
From: Carsten Emde @ 2012-12-19 15:35 UTC (permalink / raw)
  To: RT-users; +Cc: John Kacur, Clark Williams, Carsten Emde

Hi John,
hi Clark,

this patch relates to the rt-users thread
  http://permalink.gmane.org/gmane.linux.rt.user/9293. 

Thanks,
	-Carsten.
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] Improve message when disabling sleep states
  2012-12-19 15:35 [PATCH 0/1] Clarify the meaning of setting /dev/cpu_dma_latency to 0 Carsten Emde
@ 2012-12-19 15:35 ` Carsten Emde
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Emde @ 2012-12-19 15:35 UTC (permalink / raw)
  To: RT-users; +Cc: John Kacur, Clark Williams, Carsten Emde

[-- Attachment #1: improve-message-when-disabling-sleep-states.patch --]
[-- Type: text/plain, Size: 722 bytes --]

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@osadl.org>

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);
 	}
 }



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-19 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-19 15:35 [PATCH 0/1] Clarify the meaning of setting /dev/cpu_dma_latency to 0 Carsten Emde
2012-12-19 15:35 ` [PATCH 1/1] Improve message when disabling sleep states Carsten Emde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).