lkml.org 
[lkml]   [2009]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[BUGFIX][PATCH 0/3] fix bug for /proc/kcore causes panic (Was: [Bugme-new] [Bug 13850] New: reading /proc/kcore causes oops
    On Wed, 29 Jul 2009 12:32:09 +0900
    KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

    > On Tue, 28 Jul 2009 22:46:56 -0400
    > Mike Smith <scgtrp@gmail.com> wrote:
    >
    > > > What's layout of memory does your server have ?
    > > The log I gave was from my desktop, so I'll assume you wanted that
    > > instead of the server:
    > > [mike: mike in ~]$ grep "System RAM" /proc/iomem
    > > 00010000-0009efff : System RAM
    > > 00100000-1dedffff : System RAM
    > >
    > From this, your kernel's valid direct-map address range will be
    >
    > c0010000-c009efff
    > c0100000-ddedffff
    >
    Ok, I reproduced the bug on x86-32 and here is a fix.

    I reproduced the bug on x86-32 host with mem=512M boot option.

    As I expected, the bug is from holes in vmalloc area.
    (This hole means thera are a memory hole withing [start ...start+size-PAGE_SIZE)
    of valid vm_struct.)

    For review, I divided all into 3 patches. all series will be reply to this email.

    Thanks,
    -Kame



    \
     
     \ /
      Last update: 2009-07-31 09:11    [W:0.022 / U:29.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site