<feed xmlns='http://www.w3.org/2005/Atom'>
<title>litmus-rt.git, branch wip-extra-debug</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>DBG: add additional tracing</title>
<updated>2011-01-05T13:13:18+00:00</updated>
<author>
<name>Bjoern B. Brandenburg</name>
<email>bbb@cs.unc.edu</email>
</author>
<published>2010-11-11T07:31:38+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=69d8772cb575fe71cfb6a7fbc07ca21acfbb4665'/>
<id>69d8772cb575fe71cfb6a7fbc07ca21acfbb4665</id>
<content type='text'>
This is not meant to be merged into master...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is not meant to be merged into master...
</pre>
</div>
</content>
</entry>
<entry>
<title>DBG: enable additional debug tracing</title>
<updated>2011-01-05T13:13:18+00:00</updated>
<author>
<name>Bjoern B. Brandenburg</name>
<email>bbb@cs.unc.edu</email>
</author>
<published>2010-11-10T17:19:35+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=a698e30c15dc3ce113f7f7c0c821a38f4f8cbab0'/>
<id>a698e30c15dc3ce113f7f7c0c821a38f4f8cbab0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup C-EDF cluster size configuration</title>
<updated>2011-01-05T13:02:21+00:00</updated>
<author>
<name>Bjoern B. Brandenburg</name>
<email>bbb@cs.unc.edu</email>
</author>
<published>2011-01-03T12:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=7648363e5636bd865aeac3236eb4675f0687eb4a'/>
<id>7648363e5636bd865aeac3236eb4675f0687eb4a</id>
<content type='text'>
Refactor the code that determines the C-EDF cluster size.
- Use an enum with symbolic constants instead of magic int values.
- Complain and fail to switch if an unsupported cluster size is requested.
- Default to ALL as suggested by Glenn and Andrea.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactor the code that determines the C-EDF cluster size.
- Use an enum with symbolic constants instead of magic int values.
- Complain and fail to switch if an unsupported cluster size is requested.
- Default to ALL as suggested by Glenn and Andrea.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: clear scheduled field of the correct CPU upon task_exit in C-EDF</title>
<updated>2011-01-03T11:45:28+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2010-12-21T23:19:27+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=73da50b48b6e7c60add2fcf0b683318b76ecb340'/>
<id>73da50b48b6e7c60add2fcf0b683318b76ecb340</id>
<content type='text'>
Do not use the "scheduled_on" field to address the cpus structure
within a cluster. cpus may contain less items than num_online_cpus and
we may cause an out-of-bound access. Instead, use "scheduled_on" to
directly access the per-cpu cpu_entry_t structure.

Reported-by: Jonathan Herman &lt;hermanjl@cs.unc.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not use the "scheduled_on" field to address the cpus structure
within a cluster. cpus may contain less items than num_online_cpus and
we may cause an out-of-bound access. Instead, use "scheduled_on" to
directly access the per-cpu cpu_entry_t structure.

Reported-by: Jonathan Herman &lt;hermanjl@cs.unc.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: avoid underflow in budget_remaining()</title>
<updated>2010-11-29T17:58:09+00:00</updated>
<author>
<name>Bjoern B. Brandenburg</name>
<email>bbb@cs.unc.edu</email>
</author>
<published>2010-11-29T14:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=f07bb0a4549916107a7619d0bc4cb5dc09d5744a'/>
<id>f07bb0a4549916107a7619d0bc4cb5dc09d5744a</id>
<content type='text'>
budget_remaining() reports incorrect values due to the operands being
switched, which leads to an integer underflow.

Reported-by: Chris Kenna &lt;cjk@cs.unc.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
budget_remaining() reports incorrect values due to the operands being
switched, which leads to an integer underflow.

Reported-by: Chris Kenna &lt;cjk@cs.unc.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: fix out-of-bound array access in cedf_activate_plugin()</title>
<updated>2010-11-29T17:57:44+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2010-11-25T12: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=7b544c16beaa1f6ec70a72d53fe84cae95f70a41'/>
<id>7b544c16beaa1f6ec70a72d53fe84cae95f70a41</id>
<content type='text'>
Make sure to check for maximum index value when accessing cedf_domain_t
array in cedf_activate_plugin().

Reported-by: Jeremy Erickson &lt;jerickso@cs.unc.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure to check for maximum index value when accessing cedf_domain_t
array in cedf_activate_plugin().

Reported-by: Jeremy Erickson &lt;jerickso@cs.unc.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>add optional [function@file:line] tag to TRACE() log</title>
<updated>2010-11-22T20:12:40+00:00</updated>
<author>
<name>Bjoern B. Brandenburg</name>
<email>bbb@cs.unc.edu</email>
</author>
<published>2010-11-22T06:25:19+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=2aad06b056054442964f46752bdb098030cdb866'/>
<id>2aad06b056054442964f46752bdb098030cdb866</id>
<content type='text'>
Add information to each trace message that makes it easier to locate
where it came from. It is disabled by default since this adds a lot of
clutter. Example:

  81281 P1 [gsnedf_schedule@litmus/sched_gsn_edf.c:406]: (rtspin/1483:1) blocks:0 out_of_time:0 np:0 sleep:1 preempt:0 state:0 sig:0
  81282 P1 [job_completion@litmus/sched_gsn_edf.c:303]: (rtspin/1483:1) job_completion().
  81283 P1 [__add_release@litmus/rt_domain.c:344]: (rtspin/1483:2) add_release(), rel=41941764351
  81284 P1 [gsnedf_schedule@litmus/sched_gsn_edf.c:453]: (rtspin/1483:2) scheduled_on = NO_CPU
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add information to each trace message that makes it easier to locate
where it came from. It is disabled by default since this adds a lot of
clutter. Example:

  81281 P1 [gsnedf_schedule@litmus/sched_gsn_edf.c:406]: (rtspin/1483:1) blocks:0 out_of_time:0 np:0 sleep:1 preempt:0 state:0 sig:0
  81282 P1 [job_completion@litmus/sched_gsn_edf.c:303]: (rtspin/1483:1) job_completion().
  81283 P1 [__add_release@litmus/rt_domain.c:344]: (rtspin/1483:2) add_release(), rel=41941764351
  81284 P1 [gsnedf_schedule@litmus/sched_gsn_edf.c:453]: (rtspin/1483:2) scheduled_on = NO_CPU
</pre>
</div>
</content>
</entry>
<entry>
<title>log job number in TRACE_TASK() and TRACE_CUR()</title>
<updated>2010-11-22T20:12:06+00:00</updated>
<author>
<name>Bjoern B. Brandenburg</name>
<email>bbb@cs.unc.edu</email>
</author>
<published>2010-11-22T05:39:45+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=7779685f05219ff6e713ee6591644c080f51a8bf'/>
<id>7779685f05219ff6e713ee6591644c080f51a8bf</id>
<content type='text'>
For some problems it can be helpful to know which job of a task
generated a log message. This patch changes TRACE_TASK to add :&lt;jobno&gt;
to the existing (&lt;comm&gt;/&lt;pid&gt;) tag.

The result is a trace such as the following, in which the third job of
rtspin/1511 completes and the fourth job is added to the release
queue.

  137615 P0: (rtspin/1511:3) job_completion().
  137616 P0: (rtspin/1511:4) add_release(), rel=262013223089
  137617 P0: (rtspin/1511:4) scheduled_on = NO_CPU

The job number for non-real-time tasks is always zero.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some problems it can be helpful to know which job of a task
generated a log message. This patch changes TRACE_TASK to add :&lt;jobno&gt;
to the existing (&lt;comm&gt;/&lt;pid&gt;) tag.

The result is a trace such as the following, in which the third job of
rtspin/1511 completes and the fourth job is added to the release
queue.

  137615 P0: (rtspin/1511:3) job_completion().
  137616 P0: (rtspin/1511:4) add_release(), rel=262013223089
  137617 P0: (rtspin/1511:4) scheduled_on = NO_CPU

The job number for non-real-time tasks is always zero.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bugfix: synchronize with all other CPUs before switching plugin</title>
<updated>2010-11-20T23:15:14+00:00</updated>
<author>
<name>Andrea Bastoni</name>
<email>bastoni@cs.unc.edu</email>
</author>
<published>2010-11-19T11:52:08+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=d40413efabc0ab388f6ed83f48b28dc253d47238'/>
<id>d40413efabc0ab388f6ed83f48b28dc253d47238</id>
<content type='text'>
The CPU triggering the plugin switch should wait until all other CPUs
are in a proper state (synch_on_plugin_switch()) before performing the
actual switch.

Based on the original patch from Jeremy Erickson &lt;jerickso@cs.unc.edu&gt;.

This should solve (for most practical cases) the C-EDF-related
plugin-switch problem reported on the ML.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The CPU triggering the plugin switch should wait until all other CPUs
are in a proper state (synch_on_plugin_switch()) before performing the
actual switch.

Based on the original patch from Jeremy Erickson &lt;jerickso@cs.unc.edu&gt;.

This should solve (for most practical cases) the C-EDF-related
plugin-switch problem reported on the ML.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve help message for TRACE() buffer</title>
<updated>2010-11-16T16:44:54+00:00</updated>
<author>
<name>Bjoern B. Brandenburg</name>
<email>bbb@cs.unc.edu</email>
</author>
<published>2010-11-16T16:44:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=1726017e944d0086f14f867befbf5ebf07adc7dd'/>
<id>1726017e944d0086f14f867befbf5ebf07adc7dd</id>
<content type='text'>
It's not being allocated per cpu anymore. Further, provide a hint to
the user where to find the data in userspace.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's not being allocated per cpu anymore. Further, provide a hint to
the user where to find the data in userspace.
</pre>
</div>
</content>
</entry>
</feed>
