lkml.org 
[lkml]   [2006]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] mm: fix page_mkclean_one
    * Gordon Farquharson <gordonfarquharson@gmail.com> [2006-12-27 22:38]:
    > >> #define TARGETSIZE (100 << 12)
    > >
    > >That's just 400kB!
    > >
    > >There's no way you should see corruption with that kind of value. It
    > >should all stay solidly in the cache.
    > >
    > >Is this perhaps with ARM nommu or something else strange? It may be that
    > >the program just doesn't work at all if mmap() is faked out with a malloc
    > >or similar.
    >
    > Definitely a question for the ARM gurus. I'm out of my depth.

    By the way, I just tried it with TARGETSIZE (100 << 12) on a different
    ARM machine (a Thecus N2100 based on an IOP32x chip with 128 MB of
    memory) and I see similar results to that from Gordon:

    Writing chunk 279/280 (99%)
    Chunk 256 corrupted (1-1455) (1025-2479)
    Expected 0, got 1
    Written as (199)43(184)
    Chunk 258 corrupted (1-1455) (3945-1303)
    Expected 2, got 3
    Written as (184)74(145)
    Chunk 260 corrupted (1-1455) (2769-127)
    Expected 4, got 5
    Written as (145)89(237)
    Chunk 262 corrupted (1-1455) (1593-3047)
    Expected 6, got 7
    Written as (237)168(174)
    Chunk 264 corrupted (1-1455) (417-1871)
    Expected 8, got 9
    Written as (174)135(161)
    Chunk 266 corrupted (1-1455) (3337-695)
    Expected 10, got 11
    Written as (161)123(180)
    Chunk 268 corrupted (1-1455) (2161-3615)
    Expected 12, got 13
    Written as (180)13(19)
    Chunk 270 corrupted (1-1455) (985-2439)
    Expected 14, got 15
    Written as (19)172(106)
    Chunk 272 corrupted (1-1455) (3905-1263)
    Expected 16, got 17
    Written as (106)212(140)
    Chunk 274 corrupted (1-1455) (2729-87)
    Expected 18, got 19
    Written as (140)124(73)
    Chunk 276 corrupted (1-1455) (1553-3007)
    Expected 20, got 21
    Written as (73)151(52)
    Chunk 278 corrupted (1-1455) (377-1831)
    Expected 22, got 23
    Written as (52)215(99)
    Checking chunk 279/280 (99%)

    --
    Martin Michlmayr
    http://www.cyrius.com/
    -
    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: 2006-12-28 11:19    [W:0.026 / U:0.904 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site