<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/kernel/printk.c, branch v2.6.28</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.28</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.28'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-10-23T19:54:29Z</updated>
<entry>
<title>printk: remove unused code from kernel/printk.c</title>
<updated>2008-10-23T19:54:29Z</updated>
<author>
<name>roel kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2008-10-21T23:49:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=acff181d3574244e651913df77332e897b88bff4'/>
<id>urn:sha1:acff181d3574244e651913df77332e897b88bff4</id>
<content type='text'>
both log_buf_copy() and log_buf_len are unused.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>Merge branch 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip</title>
<updated>2008-10-16T22:17:40Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-10-16T22:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e533b227055598b1f7dc8503a3b4f36b14b9da8a'/>
<id>urn:sha1:e533b227055598b1f7dc8503a3b4f36b14b9da8a</id>
<content type='text'>
* 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  do_generic_file_read: s/EINTR/EIO/ if lock_page_killable() fails
  softirq, warning fix: correct a format to avoid a warning
  softirqs, debug: preemption check
  x86, pci-hotplug, calgary / rio: fix EBDA ioremap()
  IO resources, x86: ioremap sanity check to catch mapping requests exceeding, fix
  IO resources, x86: ioremap sanity check to catch mapping requests exceeding the BAR sizes
  softlockup: Documentation/sysctl/kernel.txt: fix softlockup_thresh description
  dmi scan: warn about too early calls to dmi_check_system()
  generic: redefine resource_size_t as phys_addr_t
  generic: make PFN_PHYS explicitly return phys_addr_t
  generic: add phys_addr_t for holding physical addresses
  softirq: allocate less vectors
  IO resources: fix/remove printk
  printk: robustify printk, update comment
  printk: robustify printk, fix #2
  printk: robustify printk, fix
  printk: robustify printk

Fixed up conflicts in:
	arch/powerpc/include/asm/types.h
	arch/powerpc/platforms/Kconfig.cputype
manually.
</content>
</entry>
<entry>
<title>Add kerneldoc documentation for new printk format extensions</title>
<updated>2008-10-16T18:21:32Z</updated>
<author>
<name>Andi Kleen</name>
<email>andi@firstfloor.org</email>
</author>
<published>2008-10-16T05:02:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=20036fdcaf05fac0a84ed81a56906493a7d822e2'/>
<id>urn:sha1:20036fdcaf05fac0a84ed81a56906493a7d822e2</id>
<content type='text'>
Add documentation in kerneldoc for new printk format extensions

This patch documents the new %pS/%pF options in printk in kernel doc.

Hope I didn't miss any other extension.

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Remove Andrew Morton's old email accounts</title>
<updated>2008-10-16T18:21:32Z</updated>
<author>
<name>Francois Cami</name>
<email>francois.cami@free.fr</email>
</author>
<published>2008-10-16T05:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e1f8e87449147ffe5ea3de64a46af7de450ce279'/>
<id>urn:sha1:e1f8e87449147ffe5ea3de64a46af7de450ce279</id>
<content type='text'>
People can use the real name an an index into MAINTAINERS to find the
current email address.

Signed-off-by: Francois Cami &lt;francois.cami@free.fr&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branches 'core/softlockup', 'core/softirq', 'core/resources', 'core/printk' and 'core/misc' into core-v28-for-linus</title>
<updated>2008-10-15T10:48:44Z</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2008-10-15T10:48:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6b2ada82101a08e2830fb29d7dc9b858be637dd4'/>
<id>urn:sha1:6b2ada82101a08e2830fb29d7dc9b858be637dd4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tty: Move tty_write_message out of kernel/printk</title>
<updated>2008-10-13T16:51:41Z</updated>
<author>
<name>Alan Cox</name>
<email>alan@redhat.com</email>
</author>
<published>2008-10-13T09:39:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=95f9bfc6b76e862265a2d70ae061eec18fe14140'/>
<id>urn:sha1:95f9bfc6b76e862265a2d70ae061eec18fe14140</id>
<content type='text'>
This is pure tty code so put it in the tty layer where it can be with the
locking relevant material it uses

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>printk: robustify printk, update comment</title>
<updated>2008-08-20T13:39:59Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2008-08-20T12:40:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1fa63a817d27af7dc0d5ed454eb8fe5dec65fac7'/>
<id>urn:sha1:1fa63a817d27af7dc0d5ed454eb8fe5dec65fac7</id>
<content type='text'>
Remove the comment describing the possibility of printk() deadlocking on
runqueue lock.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Acked-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>printk: robustify printk, fix #2</title>
<updated>2008-08-20T10:22:37Z</updated>
<author>
<name>Peter Zijlstra</name>
<email>a.p.zijlstra@chello.nl</email>
</author>
<published>2008-08-20T07:31:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fa33507a22623b3bd543b15a21c362cf364b6cff'/>
<id>urn:sha1:fa33507a22623b3bd543b15a21c362cf364b6cff</id>
<content type='text'>
Dmitry Adamushko reported:

&gt; [*] btw., with DEBUG being enabled, pr_debug() generates [1] when
&gt; debug_smp_processor_id() is used (CONFIG_DEBUG_PREEMPT).
&gt;
&gt; the problem seems to be caused by the following commit:
&gt; commit b845b517b5e3706a3729f6ea83b88ab85f0725b0
&gt; Author: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
&gt; Date:   Fri Aug 8 21:47:09 2008 +0200
&gt;
&gt;     printk: robustify printk
&gt;
&gt;
&gt; wake_up_klogd() -&gt; __get_cpu_var() -&gt; smp_processor_id()
&gt;
&gt; and that's being called from release_console_sem() which is, in turn,
&gt; said to be "may be called from any context" [2]
&gt;
&gt; and in this case, it seems to be called from some non-preemptible
&gt; context (although, it can't be printk()...
&gt; although, I haven't looked carefully yet).
&gt;
&gt; Provided [2], __get_cpu_var() is perhaps not the right solution there.
&gt;
&gt;
&gt; [1]
&gt;
&gt; [ 7697.942005] BUG: using smp_processor_id() in preemptible [00000000] code: syslogd/3542
&gt; [ 7697.942005] caller is wake_up_klogd+0x1b/0x50
&gt; [ 7697.942005] Pid: 3542, comm: syslogd Not tainted 2.6.27-rc3-tip-git #2
&gt; [ 7697.942005] Call Trace:
&gt; [ 7697.942005]  [&lt;ffffffff8036b398&gt;] debug_smp_processor_id+0xe8/0xf0
&gt; [ 7697.942005]  [&lt;ffffffff80239d3b&gt;] wake_up_klogd+0x1b/0x50
&gt; [ 7697.942005]  [&lt;ffffffff8023a047&gt;] release_console_sem+0x1e7/0x200
&gt; [ 7697.942005]  [&lt;ffffffff803c0f17&gt;] do_con_write+0xb7/0x1f30
&gt; [ 7697.942005]  [&lt;ffffffff8020d920&gt;] ? show_trace+0x10/0x20
&gt; [ 7697.942005]  [&lt;ffffffff8020dc42&gt;] ? dump_stack+0x72/0x80
&gt; [ 7697.942005]  [&lt;ffffffff8036392d&gt;] ? __ratelimit+0xbd/0xe0
&gt; [ 7697.942005]  [&lt;ffffffff8036b398&gt;] ? debug_smp_processor_id+0xe8/0xf0
&gt; [ 7697.942005]  [&lt;ffffffff80239d3b&gt;] ? wake_up_klogd+0x1b/0x50
&gt; [ 7697.942005]  [&lt;ffffffff8023a047&gt;] ? release_console_sem+0x1e7/0x200
&gt; [ 7697.942005]  [&lt;ffffffff803c2de9&gt;] con_write+0x19/0x30
&gt; [ 7697.942005]  [&lt;ffffffff803b37b6&gt;] write_chan+0x276/0x3c0
&gt; [ 7697.942005]  [&lt;ffffffff80232b20&gt;] ? default_wake_function+0x0/0x10
&gt; [ 7697.942005]  [&lt;ffffffff804cb872&gt;] ? _spin_lock_irqsave+0x22/0x50
&gt; [ 7697.942005]  [&lt;ffffffff803b1334&gt;] tty_write+0x194/0x260
&gt; [ 7697.942005]  [&lt;ffffffff803b3540&gt;] ? write_chan+0x0/0x3c0
&gt; [ 7697.942005]  [&lt;ffffffff803b14a4&gt;] redirected_tty_write+0xa4/0xb0
&gt; [ 7697.942005]  [&lt;ffffffff803b1400&gt;] ? redirected_tty_write+0x0/0xb0
&gt; [ 7697.942005]  [&lt;ffffffff802a88c2&gt;] do_loop_readv_writev+0x52/0x80
&gt; [ 7697.942005]  [&lt;ffffffff802a939d&gt;] do_readv_writev+0x1bd/0x1d0
&gt; [ 7697.942005]  [&lt;ffffffff802a93e9&gt;] vfs_writev+0x39/0x60
&gt; [ 7697.942005]  [&lt;ffffffff802a9870&gt;] sys_writev+0x50/0x90
&gt; [ 7697.942005]  [&lt;ffffffff8020bb3b&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Reported-by: Dmitry Adamushko &lt;dmitry.adamushko@gmail.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>printk: robustify printk</title>
<updated>2008-08-11T11:46:53Z</updated>
<author>
<name>Peter Zijlstra</name>
<email>a.p.zijlstra@chello.nl</email>
</author>
<published>2008-08-08T19:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b845b517b5e3706a3729f6ea83b88ab85f0725b0'/>
<id>urn:sha1:b845b517b5e3706a3729f6ea83b88ab85f0725b0</id>
<content type='text'>
Avoid deadlocks against rq-&gt;lock and xtime_lock by deferring the klogd
wakeup by polling from the timer tick.

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>printk: fix comment for printk ratelimiting</title>
<updated>2008-07-30T16:41:45Z</updated>
<author>
<name>Uwe Kleine-König</name>
<email>Uwe.Kleine-Koenig@digi.com</email>
</author>
<published>2008-07-30T05:33:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=641de9d8f505db055d451b50e6e38117f84e79bb'/>
<id>urn:sha1:641de9d8f505db055d451b50e6e38117f84e79bb</id>
<content type='text'>
The comment assumed the burst to be one and the ratelimit used to be named
printk_ratelimit_jiffies.

Signed-off-by: Uwe Kleine-König &lt;Uwe.Kleine-Koenig@digi.com&gt;
Cc: Dave Young &lt;hidave.darkstar@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
