lkml.org 
[lkml]   [2008]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [bad page] memcg: another bad page at page migration (2.6.26-rc5-mm3 + patch collection)
    On Tue, 24 Jun 2008 10:37:09 +0900
    Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> wrote:

    > > I don't use shmem explicitly, but I'll test this patch anyway
    > > and report the result.
    > >
    > Unfortunately, this patch doesn't solve my problem, hum...
    > I'll dig more, too.
    > In my test, I don't use large amount of memory, so I think
    > no swap activities happens, perhaps.
    >
    Sigh, one hint in the log is
    ==
    Bad page state in process 'switch.sh'
    page:ffffe2000c8e59c0 flags:0x0200000000080018 mapping:000
    0000000000000 mapcount:0 count:0
    cgroup:ffff81062a817050
    ==

    - the page was mapped one.
    - a page is swapbacked ....Anon or Shmem/tmpfs.
    - mapping is NULL

    When it was a *source* page.
    .. if it was Anon, page->mapping was cleared by migrate_page_copy()
    .. if not, replacement in radix-tree was succeeded.

    When it was a destination page
    .. page-flags is copied, then, migrate_page_copy() was called.
    .. newpage->mapping is cleared only at migration failure.

    Hmm..I think the troublesome page is *source* page now.

    Anyway, thanks.
    -Kame



    \
     
     \ /
      Last update: 2008-06-24 05:19    [W:0.029 / U:1.380 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site