lkml.org 
[lkml]   [2004]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Can't make use of swap memory in 2.6.7-bk19
    From
    Date
    William Lee Irwin III <wli@holomorphy.com> writes:

    > Peter Osterlund wrote:
    > >> I created a test program that allocates a 300MB buffer and writes to
    > >> all bytes sequentially. On my computer, which has 256MB RAM and 512MB
    > >> swap, the program gets OOM killed after dirtying about 140-180MB, and
    > >> the kernel reports:
    >
    > On Thu, Jul 08, 2004 at 12:14:16PM +1000, Nick Piggin wrote:
    > > Someone hand me a paper bag... Peter, can you give this patch a try?
    >
    > Heh, one goes in while I'm not looking, and look what happens.

    Actually, the failure is caused by this change:

    http://linux.bkbits.net:8080/linux-2.5/cset@40db004cKFYB35xMHcRXNijl81BLag?nav=index.html|ChangeSet@-3w

    It only fails when /proc/sys/vm/laptop_mode is 1.

    --
    Peter Osterlund - petero2@telia.com
    http://w1.894.telia.com/~u89404340
    -
    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: 2005-03-22 14:04    [W:0.045 / U:94.840 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site