Re: Kernel 2.6.9 Multiple Page Allocation Failures

From: Andrew Morton (akpm_at_osdl.org)
Date: 11/10/04

  • Next message: Robert Love: "Re: mmap vs. O_DIRECT"
    Date:	Wed, 10 Nov 2004 13:09:43 -0800
    To: Lukas Hejtmanek <xhejtman@mail.muni.cz>
    
    

    Lukas Hejtmanek <xhejtman@mail.muni.cz> wrote:
    >
    > 2.6.10-rc1-mm3 with CONFIG_PREEMPT=y and CONFIG_PREEMPT_BKL=y
    > results with: (and many more xfs related calls)
    >
    > Nov 10 21:21:05 undomiel1 kernel: BUG: using smp_processor_id() in preemptible [00000001] code: swapper/1
    > Nov 10 21:21:05 undomiel1 kernel: caller is xfs_dir2_lookup+0x26/0x157
    > Nov 10 21:21:05 undomiel1 kernel: [<c025dbf4>] smp_processor_id+0xa8/0xb8
    > Nov 10 21:21:05 undomiel1 kernel: [<c020679b>] xfs_dir2_lookup+0x26/0x157
    > Nov 10 21:21:05 undomiel1 kernel: [<c020679b>] xfs_dir2_lookup+0x26/0x157
    > Nov 10 21:21:05 undomiel1 kernel: [<c025a4e7>] send_uevent+0x148/0x1a0

    That's XFS_STATS_INC() and friends.

    I don't think there's really a bug here. It's a tiny bit racy, but that
    will merely cause a small inaccuracy in the stats.

    I think I'll just drop the debug patch. You can disable
    CONFIG_DEBUG_PREEMPT to shut things up.

    -
    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/


  • Next message: Robert Love: "Re: mmap vs. O_DIRECT"

    Relevant Pages

    • Re: 2.6.0-test11, 2.6.0-test9 and gdb 6.0
      ... Lukas Hejtmanek wrote: ... >With 2.6.0-test9 I got a message about gdb cannot read thread registers. ... Is it a bug in ptrace in kernel or a bug in gdb? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: AGP problem SiS 746FX Linux 2.6.5-rc3
      ... the Empire squashes the Federation like a bug. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9bk6 msdos fs OOPS
      ... >This bug is triggered by race condition. ... Apparently my lashup doesn't trigger it. ... Copyright 2004 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch 0/3] j_state_lock, j_list_lock, remove-bitlocks
      ... BUG: Unable to handle kernel NULL pointer dereference at virtual address ... TAS_BUFFER_FNS(RevokeValid, revokevalid) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: BUG at mm/memory.c:1501 in 2.6.0-test5
      ... >Any module running inside the kernel can destroy anything. ... A simple bug in any ... You should send your report to the vendor. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)