lkml.org 
[lkml]   [2011]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH v2 0/5] Fix oom killer doesn't work at all if system have > gigabytes memory (aka CAI founded issue)
    > OK, there was also a panic at the end. Is that expected?
    >
    > BUG: unable to handle kernel NULL pointer dereference at 00000000000002a8
    > IP: [<ffffffff811227d4>] get_mm_counter+0x14/0x30
    > PGD 0
    > Oops: 0000 [#1] SMP
    > CPU 7
    > Modules linked in: autofs4 sunrpc cpufreq_ondemand acpi_cpufreq freq_table mperf ipv6 dm_mirror dm_region_hash dm_log microcode serio_raw pcspkr cdc_ether usbnet mii i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support sg shpchp ioatdma dca i7core_edac edac_core bnx2 ext4 mbcache jbd2 sd_mod crc_t10dif pata_acpi ata_generic ata_piix mptsas mptscsih mptbase scsi_transport_sas dm_mod [last unloaded: scsi_wait_scan]

    My fault. my [1/5] has a bug. please apply following incremental patch.


    index 9c7f149..f0e34d4 100644
    --- a/mm/oom_kill.c
    +++ b/mm/oom_kill.c
    @@ -448,8 +448,8 @@ static void dump_tasks(const struct mem_cgroup *mem, const nodemask_t *no
    task_tgid_nr(task), task_tgid_nr(task->real_parent),
    task_uid(task),
    task->mm->total_vm,
    - get_mm_rss(task->mm) + p->mm->nr_ptes,
    - get_mm_counter(p->mm, MM_SWAPENTS),
    + get_mm_rss(task->mm) + task->mm->nr_ptes,
    + get_mm_counter(task->mm, MM_SWAPENTS),
    task->signal->oom_score_adj,
    task->comm);
    task_unlock(task);



    \
     
     \ /
      Last update: 2011-05-31 06:51    [W:2.106 / U:1.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site