<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/kernel, branch v2.6.19</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.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2006-11-29T01:28:41Z</updated>
<entry>
<title>Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6</title>
<updated>2006-11-29T01:28:41Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.osdl.org</email>
</author>
<published>2006-11-29T01:28:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=707badb80b90d15d97f46155e6af432bd52789a3'/>
<id>urn:sha1:707badb80b90d15d97f46155e6af432bd52789a3</id>
<content type='text'>
* 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6:
  [PATCH] x86-64: Use stricter in process stack check for unwinder
  [PATCH] i386: Fix compilation with UP genericarch
  [PATCH] x86-64: Fix warning in io_apic.c
  [PATCH] x86-64: work around gcc4 issue with -Os in Dwarf2 stack unwind
  [PATCH] x86_64: Align data segment to PAGE_SIZE boundary
</content>
</entry>
<entry>
<title>[PATCH] fix create_write_pipe() error check</title>
<updated>2006-11-29T01:26:50Z</updated>
<author>
<name>Akinobu Mita</name>
<email>akinobu.mita@gmail.com</email>
</author>
<published>2006-11-28T20:29:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3cce4856ff3dfa663b1a168dab48120d70820da6'/>
<id>urn:sha1:3cce4856ff3dfa663b1a168dab48120d70820da6</id>
<content type='text'>
The return value of create_write_pipe()/create_read_pipe() should be
checked by IS_ERR().

Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] x86-64: work around gcc4 issue with -Os in Dwarf2 stack unwind</title>
<updated>2006-11-28T19:12:59Z</updated>
<author>
<name>Jan Beulich</name>
<email>jbeulich@novell.com</email>
</author>
<published>2006-11-28T19:12:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ff0a538d8b08700df2b46f9aafc9fb2765071f0a'/>
<id>urn:sha1:ff0a538d8b08700df2b46f9aafc9fb2765071f0a</id>
<content type='text'>
This fixes a problem with gcc4 mis-compiling the stack unwind code under
-Os, which resulted in 'stuck' messages whenever an assembly routine was
encountered.

(The second hunk is trivial cleanup.)

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] lockdep: spin_lock_irqsave_nested()</title>
<updated>2006-11-25T21:28:34Z</updated>
<author>
<name>Arjan van de Ven</name>
<email>arjan@linux.intel.com</email>
</author>
<published>2006-11-25T19:09:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cfd3ef2346f924d6c0e82236c20fdb3a8840136a'/>
<id>urn:sha1:cfd3ef2346f924d6c0e82236c20fdb3a8840136a</id>
<content type='text'>
Introduce spin_lock_irqsave_nested(); implementation from:
 http://lkml.org/lkml/2006/6/1/122
Patch from:
 http://lkml.org/lkml/2006/9/13/258

[akpm@osdl.org: two compile fixes]
Signed-off-by: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Signed-off-by: Jiri Kosina &lt;jikos@jikos.cz&gt;
Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix copy_process() error check</title>
<updated>2006-11-25T21:28:34Z</updated>
<author>
<name>Akinobu Mita</name>
<email>akinobu.mita@gmail.com</email>
</author>
<published>2006-11-25T19:09:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=753ca4f312a4b26940e4731b4fa5dbbbbcc77e97'/>
<id>urn:sha1:753ca4f312a4b26940e4731b4fa5dbbbbcc77e97</id>
<content type='text'>
The return value of copy_process() should be checked by IS_ERR().

Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Don't call "note_interrupt()" with irq descriptor lock held</title>
<updated>2006-11-22T17:32:06Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.osdl.org</email>
</author>
<published>2006-11-22T17:32:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b42172fc7b569a0ef2b0fa38d71382969074c0e2'/>
<id>urn:sha1:b42172fc7b569a0ef2b0fa38d71382969074c0e2</id>
<content type='text'>
This reverts commit f72fa707604c015a6625e80f269506032d5430dc, and solves
the problem that it tried to fix by simply making "__do_IRQ()" call the
note_interrupt() function without the lock held, the way everybody else
does.

It should be noted that all interrupt handling code must never allow the
descriptor actors to be entered "recursively" (that's why we do all the
magic IRQ_PENDING stuff in the first place), so there actually is
exclusion at that much higher level, even in the absense of locking.

Acked-by: Vivek Goyal &lt;vgoyal@in.ibm.com&gt;
Acked-by:Pavel Emelianov &lt;xemul@openvz.org&gt;
Cc: Andrew Morton &lt;akpm@osdl.org&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Cc: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] lockdep: fix static keys in module-allocated percpu areas</title>
<updated>2006-11-17T19:10:37Z</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2006-11-17T18:57:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1ff5683043196b9ad628a5de6bf8eeca52ee8bfd'/>
<id>urn:sha1:1ff5683043196b9ad628a5de6bf8eeca52ee8bfd</id>
<content type='text'>
lockdep got confused by certain locks in modules:

 INFO: trying to register non-static key.
 the code is fine but needs lockdep annotation.
 turning off the locking correctness validator.

 Call Trace:
  [&lt;ffffffff8026f40d&gt;] dump_trace+0xaa/0x3f2
  [&lt;ffffffff8026f78f&gt;] show_trace+0x3a/0x60
  [&lt;ffffffff8026f9d1&gt;] dump_stack+0x15/0x17
  [&lt;ffffffff802abfe8&gt;] __lock_acquire+0x724/0x9bb
  [&lt;ffffffff802ac52b&gt;] lock_acquire+0x4d/0x67
  [&lt;ffffffff80267139&gt;] rt_spin_lock+0x3d/0x41
  [&lt;ffffffff8839ed3f&gt;] :ip_conntrack:__ip_ct_refresh_acct+0x131/0x174
  [&lt;ffffffff883a1334&gt;] :ip_conntrack:udp_packet+0xbf/0xcf
  [&lt;ffffffff8839f9af&gt;] :ip_conntrack:ip_conntrack_in+0x394/0x4a7
  [&lt;ffffffff8023551f&gt;] nf_iterate+0x41/0x7f
  [&lt;ffffffff8025946a&gt;] nf_hook_slow+0x64/0xd5
  [&lt;ffffffff802369a2&gt;] ip_rcv+0x24e/0x506
  [...]

Steven Rostedt found the bug: static_obj() check did not take
PERCPU_ENOUGH_ROOM into account, so in-module DEFINE_PER_CPU-area locks
were triggering this message.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Steven Rostedt &lt;srostedt@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] some irq_chip variables point to NULL</title>
<updated>2006-11-16T19:43:37Z</updated>
<author>
<name>Zhang, Yanmin</name>
<email>yanmin_zhang@linux.intel.com</email>
</author>
<published>2006-11-16T09:19:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b86432b42eba5671969a9e6483ee219674b7ee25'/>
<id>urn:sha1:b86432b42eba5671969a9e6483ee219674b7ee25</id>
<content type='text'>
I got an oops when booting 2.6.19-rc5-mm1 on my ia64 machine.

Below is the log.

Oops 11012296146944 [1]
Modules linked in: binfmt_misc dm_mirror dm_multipath dm_mod thermal processor f
an container button sg eepro100 e100 mii

Pid: 0, CPU 0, comm:              swapper
psr : 0000121008022038 ifs : 800000000000040b ip  : [&lt;a0000001000e1411&gt;]    Not
tainted
ip is at __do_IRQ+0x371/0x3e0
unat: 0000000000000000 pfs : 000000000000040b rsc : 0000000000000003
rnat: 656960155aa56aa5 bsps: a00000010058b890 pr  : 656960155aa55a65
ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c0270033f
csd : 0000000000000000 ssd : 0000000000000000
b0  : a0000001000e1390 b6  : a0000001005beac0 b7  : e00000007f01aa00
f6  : 000000000000000000000 f7  : 0ffe69090000000000000
f8  : 1000a9090000000000000 f9  : 0ffff8000000000000000
f10 : 1000a908ffffff6f70000 f11 : 1003e0000000000000909
r1  : a000000100fbbff0 r2  : 0000000000010002 r3  : 0000000000010001
r8  : fffffffffffbffff r9  : a000000100bd8060 r10 : a000000100dd83b8
r11 : fffffffffffeffff r12 : a000000100bcbbb0 r13 : a000000100bc4000
r14 : 0000000000010000 r15 : 0000000000010000 r16 : a000000100c01aa8
r17 : a000000100d2c350 r18 : 0000000000000000 r19 : a000000100d2c300
r20 : a000000100c01a88 r21 : 0000000080010100 r22 : a000000100c01ac0
r23 : a0000001000108e0 r24 : e000000477980004 r25 : 0000000000000000
r26 : 0000000000000000 r27 : e00000000913400c r28 : e0000004799ee51c
r29 : e0000004778b87f0 r30 : a000000100d2c300 r31 : a00000010005c7e0

Call Trace:
 [&lt;a000000100014600&gt;] show_stack+0x40/0xa0
                                sp=a000000100bcb760 bsp=a000000100bc4f40
 [&lt;a000000100014f00&gt;] show_regs+0x840/0x880
                                sp=a000000100bcb930 bsp=a000000100bc4ee8
 [&lt;a000000100037fb0&gt;] die+0x250/0x320
                                sp=a000000100bcb930 bsp=a000000100bc4ea0
 [&lt;a00000010005e5f0&gt;] ia64_do_page_fault+0x8d0/0xa20
                                sp=a000000100bcb950 bsp=a000000100bc4e50
 [&lt;a00000010000caa0&gt;] ia64_leave_kernel+0x0/0x290
                                sp=a000000100bcb9e0 bsp=a000000100bc4e50
 [&lt;a0000001000e1410&gt;] __do_IRQ+0x370/0x3e0
                                sp=a000000100bcbbb0 bsp=a000000100bc4df0
 [&lt;a000000100011f50&gt;] ia64_handle_irq+0x170/0x220
                                sp=a000000100bcbbb0 bsp=a000000100bc4dc0
 [&lt;a00000010000caa0&gt;] ia64_leave_kernel+0x0/0x290
                                sp=a000000100bcbbb0 bsp=a000000100bc4dc0
 [&lt;a000000100012390&gt;] ia64_pal_call_static+0x90/0xc0
                                sp=a000000100bcbd80 bsp=a000000100bc4d78
 [&lt;a000000100015630&gt;] default_idle+0x90/0x160
                                sp=a000000100bcbd80 bsp=a000000100bc4d58
 [&lt;a000000100014290&gt;] cpu_idle+0x1f0/0x440
                                sp=a000000100bcbe20 bsp=a000000100bc4d18
 [&lt;a000000100009980&gt;] rest_init+0xc0/0xe0
                                sp=a000000100bcbe20 bsp=a000000100bc4d00
 [&lt;a0000001009f8ea0&gt;] start_kernel+0x6a0/0x6c0
                                sp=a000000100bcbe20 bsp=a000000100bc4ca0
 [&lt;a0000001000089f0&gt;] __end_ivt_text+0x6d0/0x6f0
                                sp=a000000100bcbe30 bsp=a000000100bc4c00
 &lt;0&gt;Kernel panic - not syncing: Aiee, killing interrupt handler!

The root cause is that some irq_chip variables, especially ia64_msi_chip,
initiate their memeber end to point to NULL. __do_IRQ doesn't check
if irq_chip-&gt;end is null and just calls it after processing the interrupt.

As irq_chip-&gt;end is called at many places, so I fix it by reinitiating
irq_chip-&gt;end to dummy_irq_chip.end, e.g., a noop function.

Signed-off-by: Zhang Yanmin &lt;yanmin.zhang@intel.com&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: "Luck, Tony" &lt;tony.luck@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Revert "[PATCH] fix Data Acess error in dup_fd"</title>
<updated>2006-11-14T23:20:51Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.osdl.org</email>
</author>
<published>2006-11-14T23:20:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9a3a04ac386f44175b6a4142eaeab3d4170a57f3'/>
<id>urn:sha1:9a3a04ac386f44175b6a4142eaeab3d4170a57f3</id>
<content type='text'>
This reverts commit 0130b0b32ee53dc7add773fcea984f6a26ef1da3.

Sergey Vlasov points out (and Vadim Lobanov concurs) that the bug it was
supposed to fix must be some unrelated memory corruption, and the "fix"
actually causes more problems:

  "However, the new code does not look safe in all cases.  If some other
   task has opened more files while dup_fd() released oldf-&gt;file_lock, the
   new code will update open_files to the new larger value.  But newf was
   allocated with the old smaller value of open_files, therefore subsequent
   accesses to newf may try to write into unallocated memory."

so revert it.

Cc: Sharyathi Nagesh &lt;sharyath@in.ibm.com&gt;
Cc: Sergey Vlasov &lt;vsu@altlinux.ru&gt;
Cc: Vadim Lobanov &lt;vlobanov@speakeasy.net&gt;
Cc: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] setup_irq(): better mismatch debugging</title>
<updated>2006-11-14T17:09:26Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2006-11-14T10:03:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8b126b77536186eef69d408eb7959ce7f558f251'/>
<id>urn:sha1:8b126b77536186eef69d408eb7959ce7f558f251</id>
<content type='text'>
When we get a mismatch between handlers on the same IRQ, all we get is "IRQ
handler type mismatch for IRQ n".  Let's print the name of the
presently-registered handler with which we got the mismatch.

Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
