From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761154Ab0J0Mv7 (ORCPT ); Wed, 27 Oct 2010 08:51:59 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:59997 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756250Ab0J0Mv4 (ORCPT ); Wed, 27 Oct 2010 08:51:56 -0400 Date: Wed, 27 Oct 2010 08:51:54 -0400 From: Christoph Hellwig To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org Subject: another potentioal kmap rework issue Message-ID: <20101027125154.GA23679@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I haven't tracked it down to the kmap_atomic rework but it seems rather likely: [ 2111.896469] ------------[ cut here ]------------ [ 2111.898408] kernel BUG at /home/hch/work/linux-2.6/arch/x86/mm/highmem_32.c:46! [ 2111.900385] invalid opcode: 0000 [#1] SMP [ 2111.900385] last sysfs file: /sys/devices/virtio-pci/virtio1/block/vdb/removable [ 2111.900385] Modules linked in: [ 2111.900385] [ 2111.900385] Pid: 10286, comm: aio-stress Not tainted 2.6.36+ #32 /Bochs [ 2111.900385] EIP: 0060:[] EFLAGS: 00010006 CPU: 0 [ 2111.900385] EIP is at kmap_atomic_prot+0xec/0xf0 [ 2111.900385] EAX: f75df040 EBX: 00000001 ECX: 3c6d7163 EDX: 00000163 [ 2111.900385] ESI: fffffffc EDI: 00000001 EBP: f6801e5c ESP: f6801e4c [ 2111.900385] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [ 2111.900385] Process aio-stress (pid: 10286, ti=f6800000 task=f13c8280task.ti=f1356000) [ 2111.900385] Stack: [ 2111.900385] fffff000 f2840ef0 f20ac690 00010000 f6801e64 c0158e6e f6801e9c c024ee0d [ 2111.900385] <0> ffffffff 00000000 f6801eac 00000046 f13c870c 00000002 00000000 00000096 [ 2111.900385] <0> f20ac6d8 d4c23950 00010000 00000000 f6801ed0 c0244be7 d4c23a24 00000096 [ 2111.900385] Call Trace: [ 2111.900385] [] ? __kmap_atomic+0xe/0x10 [ 2111.900385] [] ? aio_complete+0xdd/0x1a0 [ 2111.900385] [] ? dio_complete+0x107/0x110 [ 2111.900385] [] ? dio_bio_end_aio+0x45/0xa0 [ 2111.900385] [] ? dio_bio_end_aio+0x6b/0xa0 [ 2111.900385] [] ? bio_endio+0x15/0x30 [ 2111.900385] [] ? req_bio_endio+0xa2/0x100 [ 2111.900385] [] ? blk_update_request+0x17e/0x420 [ 2111.900385] [] ? blk_update_request+0xe9/0x420 [ 2111.900385] [] ? blk_update_request+0x17e/0x420 [ 2111.900385] [] ? kfree+0xfe/0x170 [ 2111.900385] [] ? blk_update_bidi_request+0x16/0x80 [ 2111.900385] [] ? __blk_end_request_all+0x25/0x50 [ 2111.900385] [] ? blk_done+0x42/0xd0 [ 2111.900385] [] ? vring_interrupt+0x24/0x40 [ 2111.900385] [] ? handle_IRQ_event+0x44/0x160 [ 2111.900385] [] ? handle_edge_irq+0x9c/0x140 [ 2111.900385] [] ? handle_edge_irq+0xa6/0x140 [ 2111.900385] [] ? handle_edge_irq+0x0/0x140 [ 2111.900385] [ 2111.900385] [] ? do_IRQ+0x44/0xc0 [ 2111.900385] [] ? run_timer_softirq+0xd6/0x350 [ 2111.900385] [] ? __do_softirq+0x0/0x1f0 [ 2111.900385] [] ? common_interrupt+0x2e/0x34 [ 2111.900385] [] ? do_softirq+0x94/0xe0 [ 2111.900385] [] ? __do_softirq+0x0/0x1f0 [ 2111.900385] [] ? __do_softirq+0x50/0x1f0 [ 2111.900385] [] ? __do_softirq+0x52/0x1f0 [ 2111.900385] [] ? __do_softirq+0x0/0x1f0 [ 2111.900385] [ 2111.900385] [] ? irq_exit+0x6d/0x80 [ 2111.900385] [] ? smp_apic_timer_interrupt+0x56/0x90 [ 2111.900385] [] ? trace_hardirqs_off_thunk+0xc/0x18 [ 2111.900385] [] ? apic_timer_interrupt+0x2f/0x34 [ 2111.900385] [] ? native_set_pte_at+0x1/0x10 [ 2111.900385] [] ? __kunmap_atomic+0x70/0xa0 [ 2111.900385] [] ? aio_read_evt+0xca/0xf0 [ 2111.900385] [] ? read_events+0xcf/0x340 [ 2111.900385] [] ? trace_hardirqs_on+0xb/0x10 [ 2111.900385] [] ? pvclock_clocksource_read+0xf5/0x190 [ 2111.900385] [] ? default_wake_function+0x0/0x10 [ 2111.900385] [] ? sys_io_getevents+0x43/0x90 [ 2111.900385] [] ? syscall_call+0x7/0xb