Re: 2.5.31 kmap_atomic copy_*_user benefits

From: Andrew Morton (akpm@zip.com.au)
Date: Fri Aug 16 2002 - 01:33:59 EST


Dave Hansen wrote:
>
> William Lee Irwin III wrote:
> > With and without kmap_atomic() -based copy_*_user() patches from akpm.
> > Taken on a 16x/16GB box.
>
> Have you seen any instability with these things applied? I seem to be
> getting a fair amount of these BUG()s. But, I imagine that it could
> be a race uncovered because of the serialization that highmem locks
> caused.
>
> kernel BUG at softirq.c:229!

I just hit it. No kmap patches though.

> ...
>
> >>EIP; 8011c8dd <tasklet_hi_action+5d/c4> <=====
>
> >>ebx; 80374f54 <bh_task_vec+14/280>
> >>ecx; 8037e194 <tv1+14/804>
> >>ebp; 80357560 <__bss_start+0/0>
>
> Trace; 8011c62a <do_softirq+5a/ac>
> Trace; 801092e1 <do_IRQ+f1/100>
> Trace; 80105334 <poll_idle+0/48>
> Trace; 80107d28 <common_interrupt+18/20>
> Trace; 80105334 <poll_idle+0/48>
> Trace; 8010535d <poll_idle+29/48>
> Trace; 801053b3 <cpu_idle+37/48>

#0 tasklet_hi_action (a=0xc03671a0) at softirq.c:230
#1 0xc011e74d in do_softirq () at softirq.c:89
#2 0xc0112b53 in smp_apic_timer_interrupt (regs=
      {ebx = -1056148556, ecx = 8, edx = 1024, esi = 134587171, edi = -997773344, ebp = -870006964, eax = 0, xds = -870055832, xes = -1072562072, orig_eax = -17, eip = -1072501662, xcs = 96, eflags = 66054, esp = -965588688, xss = 63491})
    at apic.c:1091
#3 0xc0107f7a in apic_timer_interrupt () at stats.c:204
#4 0xc012ee3f in generic_file_write (file=0xcb90d5e0, buf=0x804b340 '\001' <repeats 200 times>..., count=63491,
    ppos=0xcb90d600) at filemap.c:2085
#5 0xc013e210 in vfs_write (file=0xcb90d5e0, buf=0x804b340 '\001' <repeats 200 times>..., count=63491, pos=0xcb90d600)

(gdb) p t->func
$1 = (void (*)()) 0xc011eb90 <bh_action>
(gdb) p t->data
$2 = 0
(gdb) p bh_base[0]
$3 = (void (*)()) 0xc0121c94 <timer_bh>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:11 EST