<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/android/logger.c, branch v3.4.30</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/staging/android/logger.c?h=v3.4.30</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/staging/android/logger.c?h=v3.4.30'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-02-24T20:03:14Z</updated>
<entry>
<title>staging: logger: hold mutex while removing reader</title>
<updated>2012-02-24T20:03:14Z</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin.vincent@stericsson.com</email>
</author>
<published>2012-02-22T10:28:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=47de87a234aac8b2121557f3903bb16bb678af67'/>
<id>urn:sha1:47de87a234aac8b2121557f3903bb16bb678af67</id>
<content type='text'>
The readers list is traversed under the log-&gt;mutex lock
(for example from fix_up_readers()), but the deletion of
elements from this list is not being done under this lock.

Cc: Brian Swetland &lt;swetland@google.com&gt;
Cc: Dima Zavin &lt;dima@android.com&gt;
Signed-off-by: Rabin Vincent &lt;rabin.vincent@stericsson.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: logger: clarify non-update of w_off in do_write_log_from_user</title>
<updated>2012-02-09T00:52:45Z</updated>
<author>
<name>Tim Bird</name>
<email>tim.bird@am.sony.com</email>
</author>
<published>2012-02-08T02:34:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=350a1955957d73352c043d0f948e3f28bb118c57'/>
<id>urn:sha1:350a1955957d73352c043d0f948e3f28bb118c57</id>
<content type='text'>
Add comment to explain when w_off is not updated in case of failed second
fragment copy to buffer.

Signed-off-by: Tim Bird &lt;tim.bird@am.sony.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: logger: clarify code in clock_interval</title>
<updated>2012-02-09T00:52:44Z</updated>
<author>
<name>Tim Bird</name>
<email>tim.bird@am.sony.com</email>
</author>
<published>2012-02-08T02:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=169c843afffcb328390ef39ff95227596d6f63c4'/>
<id>urn:sha1:169c843afffcb328390ef39ff95227596d6f63c4</id>
<content type='text'>
Add commentary, rename the function and make the code easier to read.

Signed-off-by: Tim Bird &lt;tim.bird@am.sony.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: logger: reorder prepare_to_wait and mutex_lock</title>
<updated>2012-02-09T00:52:44Z</updated>
<author>
<name>Tim Bird</name>
<email>tim.bird@am.sony.com</email>
</author>
<published>2012-02-08T02:30:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c76c7ca31f16c9556cad527bfa3504b0aafb3045'/>
<id>urn:sha1:c76c7ca31f16c9556cad527bfa3504b0aafb3045</id>
<content type='text'>
If mutex_lock waits, it will return in state TASK_RUNNING,
rubbing out the effect of prepare_to_wait().

Signed-off-by: Tim Bird &lt;tim.bird@am.sony.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: logger: simplify and optimize get_entry_len</title>
<updated>2012-02-09T00:51:45Z</updated>
<author>
<name>Tim Bird</name>
<email>tim.bird@am.sony.com</email>
</author>
<published>2012-02-08T18:37:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3bcfa431334d99fa8bff96c4e7c2108f0b26242e'/>
<id>urn:sha1:3bcfa431334d99fa8bff96c4e7c2108f0b26242e</id>
<content type='text'>
Make this code slightly easier to read, and eliminate calls
to sub-routines.  Some of these were previously optimized away
by the compiler, but one memcpy was not.

In my testing, this makes the code about 20% smaller, and
has no sub-routine calls and no branches (on ARM).

v2 of this patch is, IMHO, easier to read than v1. Compared to
that patch it uses __u8 instead of unsigned char, for
consistency with the __u16 val data type, simplifies the
conditional expression, adds a another comment, and
moves a common statement out of the if.

Signed-off-by: Tim Bird &lt;tim.bird@am.sony.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: logger: Change logger_offset() from macro to function</title>
<updated>2012-02-09T00:51:45Z</updated>
<author>
<name>Tim Bird</name>
<email>tim.bird@am.sony.com</email>
</author>
<published>2012-02-08T02:26:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c626224de9370ae783e8b0cb6aaca2ba3d81fe62'/>
<id>urn:sha1:c626224de9370ae783e8b0cb6aaca2ba3d81fe62</id>
<content type='text'>
Convert to function and add log as a parameter, rather than relying
on log in the context of the macro.

Signed-off-by: Tim Bird &lt;tim.bird@am.sony.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: android: fixed white spaces coding style issue in logger.c</title>
<updated>2011-12-16T18:54:14Z</updated>
<author>
<name>Marco Navarra</name>
<email>fromenglish@gmail.com</email>
</author>
<published>2011-12-15T16:57:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=277cdd01d6e831e2168cb3f2c082eecd7fcaac06'/>
<id>urn:sha1:277cdd01d6e831e2168cb3f2c082eecd7fcaac06</id>
<content type='text'>
This patch fixes some space-before-tabs warnings found by checkpatch tool on the staging android driver file logger.c

Signed-off-by: Marco Navarra &lt;fromenglish@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>android: logger: bump up the logger buffer sizes</title>
<updated>2011-11-30T12:22:32Z</updated>
<author>
<name>JP Abgrall</name>
<email>jpa@google.com</email>
</author>
<published>2011-08-12T04:33:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2b374956f3afee5857c85b073d726be11f4d2e9b'/>
<id>urn:sha1:2b374956f3afee5857c85b073d726be11f4d2e9b</id>
<content type='text'>
(port from common android-2.6.39
  commit: 11430f16545205c614dd5bd58e4a7ee630fc0f9f)

events: (no change, 256)
main: 64 -&gt; 256
radio: 64 -&gt; 256
system: 64 -&gt; 256

Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>android: logger: Add new system log for framework/system log messages</title>
<updated>2011-11-30T11:40:06Z</updated>
<author>
<name>San Mehat</name>
<email>san@google.com</email>
</author>
<published>2010-02-24T00:09:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3537cdaa16205d2af7e1195276c786f22bada574'/>
<id>urn:sha1:3537cdaa16205d2af7e1195276c786f22bada574</id>
<content type='text'>
Signed-off-by: San Mehat &lt;san@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>android-common: Fix slab.h includes for 2.6.34-rc4</title>
<updated>2011-11-30T11:30:14Z</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2010-04-15T22:21:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c11a166cd4c19664355e0e3d9c04cfa7ee4aa9f4'/>
<id>urn:sha1:c11a166cd4c19664355e0e3d9c04cfa7ee4aa9f4</id>
<content type='text'>
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
