All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel
@ 2013-03-15  5:09 Insop Song
  2013-03-15  5:15 ` Bruce Ashfield
  2013-03-15  6:27 ` Bruce Ashfield
  0 siblings, 2 replies; 11+ messages in thread
From: Insop Song @ 2013-03-15  5:09 UTC (permalink / raw)
  To: Bruce Ashfield
  Cc: Yocto Project Discussion, Darren Hart,
	Development list for the linux-yocto*.git Linux kernel repositories

[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]

Hi Bruce,

I've added recipes-kernel to use edf branch and cfg.

- tested on qemux86
===========================================

root@qemux86:~# uname -a
Linux qemux86 3.8.1-yocto-standard #1 SMP PREEMPT Thu Mar 14 21:57:12
PDT 2013 i686 GNU/Linux
root@qemux86:~# rt-app -t 100000:35000:d -D 2
[rt-app] <notice> [0] Using SCHED_DEADLINE policy:
[rt-app] <notice> [0] starting thread with period: 100000, exec:
35000,deadline: 100000, priority: 10
[rt-app] <notice> [0] Locking pages in memory
#idx	period	min_et	max_et	rel_st	start		end		deadline	dur.	slack	Budget	Used
Budget
0	100000	35000	35000	65466	354577907	354612918	354677899	35011	64981
0	100000	35000	35000	165585	354678026	354713105	354777899	35079	64794
...
0	100000	35000	35000	1965672	356478113	356513126	356577899	35014	64772
[rt-app] <notice> [0] Exiting.
root@qemux86:~#

===========================================

Let me know what you think.

Regards,

Insop

===========================================


Subject: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8
 kernel

---
 recipes-kernel/linux/linux-yocto/edf.cfg      |    4 ++++
 recipes-kernel/linux/linux-yocto_3.8.bbappend |   14 ++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg
 create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend

diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg
b/recipes-kernel/linux/linux-yocto/edf.cfg
new file mode 100644
index 0000000..ccf004f
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto/edf.cfg
@@ -0,0 +1,4 @@
+CONFIG_CGROUPS=y
+CONFIG_CGROUP_SCHED=y
+CONFIG_DEADLINE_GROUP_SCHED=y
+
diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend
b/recipes-kernel/linux/linux-yocto_3.8.bbappend
new file mode 100644
index 0000000..c6a969f
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend
@@ -0,0 +1,14 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+COMPATIBLE_MACHINE_qemux86 = "qemux86"
+COMPATIBLE_MACHINE_fri2 = "fri2"
+
+KBRANCH_qemux86 = "standard/edf"
+KBRANCH_fri2 = "standard/edf"
+
+KMACHINE_qemux86 = "qemux86"
+KMACHINE_fri2 = "fri2"
+
+SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f"
+SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f"
+
+KERNEL_FEATURES_append =" cfg/edf.scc"
-- 
1.7.9.5

[-- Attachment #2: 0001-add-sched_deadline-reckpies-kernel-for-3.8-kernel.patch --]
[-- Type: application/octet-stream, Size: 1491 bytes --]

From 576d97302faf5615ff5e8fc1a101be35c6206ea0 Mon Sep 17 00:00:00 2001
From: Insop Song <insop.song@gmail.com>
Date: Thu, 14 Mar 2013 21:52:38 -0700
Subject: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8
 kernel

---
 recipes-kernel/linux/linux-yocto/edf.cfg      |    4 ++++
 recipes-kernel/linux/linux-yocto_3.8.bbappend |   14 ++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg
 create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend

diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg b/recipes-kernel/linux/linux-yocto/edf.cfg
new file mode 100644
index 0000000..ccf004f
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto/edf.cfg
@@ -0,0 +1,4 @@
+CONFIG_CGROUPS=y
+CONFIG_CGROUP_SCHED=y
+CONFIG_DEADLINE_GROUP_SCHED=y
+
diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend
new file mode 100644
index 0000000..c6a969f
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend
@@ -0,0 +1,14 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+COMPATIBLE_MACHINE_qemux86 = "qemux86"
+COMPATIBLE_MACHINE_fri2 = "fri2"
+
+KBRANCH_qemux86 = "standard/edf"
+KBRANCH_fri2 = "standard/edf"
+
+KMACHINE_qemux86 = "qemux86"
+KMACHINE_fri2 = "fri2"
+
+SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f"
+SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f"
+
+KERNEL_FEATURES_append =" cfg/edf.scc"
-- 
1.7.9.5


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

end of thread, other threads:[~2013-03-15 11:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-15  5:09 [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel Insop Song
2013-03-15  5:15 ` Bruce Ashfield
2013-03-15  5:59   ` Insop Song
2013-03-15  6:13     ` Bruce Ashfield
2013-03-15  6:36       ` Insop Song
2013-03-15  6:44         ` Bruce Ashfield
2013-03-15  6:46           ` [linux-yocto] " Bruce Ashfield
2013-03-15 10:51             ` Insop Song
2013-03-15 10:51           ` Insop Song
2013-03-15  6:27 ` Bruce Ashfield
2013-03-15 11:55   ` Insop Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.