lkml.org 
[lkml]   [2009]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    SubjectRe: OOM killer, page fault
    From
    Hi.

    On Mon, Nov 2, 2009 at 11:19 PM, Norbert Preining <preining@logic.at> wrote:
    > Hi all,
    >
    > wow, many messages ... At the end I lost track of which patch I should try?
    >
    > BTW, that happened only once, and whatever I do I cannot reproduce that.
    >
    > I will anyway include any patch you send me and hope that it happens again.

    Pz forget my previous patch.
    Could you test following patch?

    diff --git a/mm/memory.c b/mm/memory.c
    index 7e91b5f..47e4b15 100644
    --- a/mm/memory.c
    +++ b/mm/memory.c
    @@ -2713,7 +2713,11 @@ static int __do_fault(struct mm_struct *mm,
    struct vm_area_struct *vma,
    vmf.page = NULL;

    ret = vma->vm_ops->fault(vma, &vmf);
    - if (unlikely(ret & (VM_FAULT_ERROR | VM_FAULT_NOPAGE)))
    + if (unlikely(ret & (VM_FAULT_ERROR | VM_FAULT_NOPAGE))) {
    + printk(KERN_DEBUG "vma->vm_ops->fault : 0x%lx\n",
    vma->vm_ops->fault);
    + WARN_ON(1);
    +
    + }
    return ret;

    if (unlikely(PageHWPoison(vmf.page))) {

    > Thanks
    >
    > Norbert
    >
    > -------------------------------------------------------------------------------
    > Dr. Norbert Preining                                        Associate Professor
    > JAIST Japan Advanced Institute of Science and Technology   preining@jaist.ac.jp
    > Vienna University of Technology                               preining@logic.at
    > Debian Developer (Debian TeX Task Force)                    preining@debian.org
    > gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
    > -------------------------------------------------------------------------------
    > BAUMBER
    > A fitted elasticated bottom sheet which turns your mattress
    > bananashaped.
    >                        --- Douglas Adams, The Meaning of Liff
    >



    --
    Kind regards,
    Minchan Kim
    --
    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/

    \
     
     \ /
      Last update: 2009-11-02 15:43    [W:0.032 / U:185.116 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site