<feed xmlns='http://www.w3.org/2005/Atom'>
<title>litmus-rt.git/kernel, branch tracing-devel</title>
<subtitle>The LITMUS^RT kernel.</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/'/>
<entry>
<title>Test kernel tracing events capabilities</title>
<updated>2009-12-18T14:08:44+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2009-12-18T14:08:44+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=2f41251f9febad2e54fa338ea63a62818970af0c'/>
<id>2f41251f9febad2e54fa338ea63a62818970af0c</id>
<content type='text'>
Can events be applied to LITMUS code instead of sched_task_trace ?

PROS:
	- architectural indipendency
	- easy porting on newer kernel version
	- lock free ring buffer implementation already there

CONS:
	- need userspace tools conversion to slightly different format
	- is it possible to replicate all the previous functionalities?
	- only sched_trace_* functions can be implemented through events,
	  TRACE() debugging features are still implemented in the old way
	  (??? cannot we simply use the tracing features of the kernel for
	   debugging purposes ????)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Can events be applied to LITMUS code instead of sched_task_trace ?

PROS:
	- architectural indipendency
	- easy porting on newer kernel version
	- lock free ring buffer implementation already there

CONS:
	- need userspace tools conversion to slightly different format
	- is it possible to replicate all the previous functionalities?
	- only sched_trace_* functions can be implemented through events,
	  TRACE() debugging features are still implemented in the old way
	  (??? cannot we simply use the tracing features of the kernel for
	   debugging purposes ????)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add release-master support</title>
<updated>2009-12-18T02:47:19+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2009-12-18T02:47:19+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=3d6e88ccd9fbb6f96a8bb3af09bdfbb151f353e4'/>
<id>3d6e88ccd9fbb6f96a8bb3af09bdfbb151f353e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add hrtimer_start_on() API</title>
<updated>2009-12-18T02:45:38+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2009-12-18T02:45:38+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=58054c96a3e5cb03a1ffa13a42caf877f0152a37'/>
<id>58054c96a3e5cb03a1ffa13a42caf877f0152a37</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Stack Resource Policy (SRP) support</title>
<updated>2009-12-18T02:34:09+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2009-12-18T02:34:09+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=a2ac69aab6a363f3e450e4f54d72026dfcd2c72d'/>
<id>a2ac69aab6a363f3e450e4f54d72026dfcd2c72d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add File Descriptor Attached Shared Objects (FDSO) infrastructure</title>
<updated>2009-12-18T02:33:26+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2009-12-18T02:33:26+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=a18a4da0233492c15bb7b62a329061cf7dcce7a2'/>
<id>a18a4da0233492c15bb7b62a329061cf7dcce7a2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for quantum alignment</title>
<updated>2009-12-18T02:30:47+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2009-12-18T02:30:47+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=5789b583c78f06d046c3585c8def400f65ae2b68'/>
<id>5789b583c78f06d046c3585c8def400f65ae2b68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add complete_n() call</title>
<updated>2009-12-18T02:29:31+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2009-12-18T02:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=4db5b318390ff38488ef1f066e6cacc8f7479064'/>
<id>4db5b318390ff38488ef1f066e6cacc8f7479064</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tracing support and hook up Litmus KConfig for x86</title>
<updated>2009-12-18T02:26:50+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2009-12-18T02:26:50+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=10f45252adb78753aa50d25b148fc608e3b4c224'/>
<id>10f45252adb78753aa50d25b148fc608e3b4c224</id>
<content type='text'>
 - fix requesting more than 2^11 pages (MAX_ORDER)
   to system allocator

to be merged:
 - feather-trace generic implementation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - fix requesting more than 2^11 pages (MAX_ORDER)
   to system allocator

to be merged:
 - feather-trace generic implementation
</pre>
</div>
</content>
</entry>
<entry>
<title>Core LITMUS^RT infrastructure.</title>
<updated>2009-12-18T02:23:36+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2009-12-18T02:23:36+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=0fc918fd60c7f6b2ed5783b6be7886de178704f0'/>
<id>0fc918fd60c7f6b2ed5783b6be7886de178704f0</id>
<content type='text'>
to be merged:
- SRP (sched.c)
- feather-trace implementation (to be fixed)
- sync support (KConfig)

litmus_sched_class implements 3 new methods:
.prio_changed:
  void
.switched_to:
  void
.get_rr_interval:
  return infinity (i.e., 0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to be merged:
- SRP (sched.c)
- feather-trace implementation (to be fixed)
- sync support (KConfig)

litmus_sched_class implements 3 new methods:
.prio_changed:
  void
.switched_to:
  void
.get_rr_interval:
  return infinity (i.e., 0)
</pre>
</div>
</content>
</entry>
<entry>
<title>modules: don't export section names of empty sections via sysfs</title>
<updated>2009-12-02T23:38:25+00:00</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2009-12-02T23:29:15+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=35dead4235e2b67da7275b4122fed37099c2f462'/>
<id>35dead4235e2b67da7275b4122fed37099c2f462</id>
<content type='text'>
On the parisc architecture we face for each and every loaded kernel module
this kernel "badness warning":
  sysfs: cannot create duplicate filename '/module/ac97_bus/sections/.text'
  Badness at fs/sysfs/dir.c:487

Reason for that is, that on parisc all kernel modules do have multiple
.text sections due to the usage of the -ffunction-sections compiler flag
which is needed to reach all jump targets on this platform.

An objdump on such a kernel module gives:
Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .note.gnu.build-id 00000024  00000000  00000000  00000034  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .text         00000000  00000000  00000000  00000058  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .text.ac97_bus_match 0000001c  00000000  00000000  00000058  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  3 .text         00000000  00000000  00000000  000000d4  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
...
Since the .text sections are empty (size of 0 bytes) and won't be
loaded by the kernel module loader anyway, I don't see a reason
why such sections need to be listed under
/sys/module/&lt;module_name&gt;/sections/&lt;section_name&gt; either.

The attached patch does solve this issue by not exporting section
names which are empty.

This fixes bugzilla http://bugzilla.kernel.org/show_bug.cgi?id=14703

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
CC: rusty@rustcorp.com.au
CC: akpm@linux-foundation.org
CC: James.Bottomley@HansenPartnership.com
CC: roland@redhat.com
CC: dave@hiauly1.hia.nrc.ca
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On the parisc architecture we face for each and every loaded kernel module
this kernel "badness warning":
  sysfs: cannot create duplicate filename '/module/ac97_bus/sections/.text'
  Badness at fs/sysfs/dir.c:487

Reason for that is, that on parisc all kernel modules do have multiple
.text sections due to the usage of the -ffunction-sections compiler flag
which is needed to reach all jump targets on this platform.

An objdump on such a kernel module gives:
Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .note.gnu.build-id 00000024  00000000  00000000  00000034  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .text         00000000  00000000  00000000  00000058  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .text.ac97_bus_match 0000001c  00000000  00000000  00000058  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  3 .text         00000000  00000000  00000000  000000d4  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
...
Since the .text sections are empty (size of 0 bytes) and won't be
loaded by the kernel module loader anyway, I don't see a reason
why such sections need to be listed under
/sys/module/&lt;module_name&gt;/sections/&lt;section_name&gt; either.

The attached patch does solve this issue by not exporting section
names which are empty.

This fixes bugzilla http://bugzilla.kernel.org/show_bug.cgi?id=14703

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
CC: rusty@rustcorp.com.au
CC: akpm@linux-foundation.org
CC: James.Bottomley@HansenPartnership.com
CC: roland@redhat.com
CC: dave@hiauly1.hia.nrc.ca
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
