mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Andy Chittenden <AChittenden@bluearc.com>
Cc: Andi Kleen <ak@suse.de>, Anton Altaparmakov <aia21@cam.ac.uk>,
	Andrew Morton <akpm@osdl.org>,
	davej@redhat.com, linux-kernel@vger.kernel.org,
	lwoodman@redhat.com,
	Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: Re: adding swap workarounds oom - was: Re: Out of Memory: Killed process 16498 (java).
Date: Wed, 1 Mar 2006 14:41:23 +0100	[thread overview]
Message-ID: <20060301134123.GU4816@suse.de> (raw)
In-Reply-To: <89E85E0168AD994693B574C80EDB9C270393C104@uk-email.terastack.bluearc.com>

On Wed, Mar 01 2006, Andy Chittenden wrote:
> with revised patch that does:
> 
>                 printk("sg%d: dma=%llx, dma_len=%u/%u, pfn=%lu\n", i,
> (unsigned long long) sg->dma_address, sg->dma_length, sg->offset,
> page_to_pfn(sg->page));

That is correct, thanks!

> hda: DMA table too small
> ide dma table, 255 entries, bounce pfn 1310720
> sg0: dma=81c8800, dma_len=4096/0, pfn=1296369

Still the same badness here, it's 2kb into a page so straddles two pages
for one entry.

> sg1: dma=81c9800, dma_len=4096/0, pfn=1292696
> sg2: dma=81ca800, dma_len=4096/0, pfn=1296278
> sg3: dma=81cb800, dma_len=4096/0, pfn=1296092
> sg4: dma=81cc800, dma_len=4096/0, pfn=1296090
> sg5: dma=81cd800, dma_len=4096/0, pfn=1296088
> sg6: dma=81ce800, dma_len=4096/0, pfn=1296086
> sg7: dma=81cf800, dma_len=4096/0, pfn=1296083

This one gets split.

> sg8: dma=81d0800, dma_len=4096/0, pfn=1296081
> sg9: dma=81d1800, dma_len=4096/0, pfn=1292712
> sg10: dma=81d2800, dma_len=4096/0, pfn=1297008
> sg11: dma=81d3800, dma_len=4096/0, pfn=1297063
> sg12: dma=81d4800, dma_len=4096/0, pfn=1297146
> sg13: dma=81d5800, dma_len=4096/0, pfn=1297193
> sg14: dma=81d6800, dma_len=4096/0, pfn=1297198
> sg15: dma=81d7800, dma_len=4096/0, pfn=1296363
> sg16: dma=81d8800, dma_len=4096/0, pfn=1304021
> sg17: dma=81d9800, dma_len=4096/0, pfn=1303030
> sg18: dma=81da800, dma_len=4096/0, pfn=1302151
> sg19: dma=81db800, dma_len=4096/0, pfn=1303979
> sg20: dma=81dc800, dma_len=4096/0, pfn=1306158
> sg21: dma=81dd800, dma_len=4096/0, pfn=1304015
> sg22: dma=81de800, dma_len=4096/0, pfn=1304957
> sg23: dma=81df800, dma_len=4096/0, pfn=1304001

This one as well.

> sg24: dma=81e0800, dma_len=4096/0, pfn=1292710
> sg25: dma=81e1800, dma_len=4096/0, pfn=1304035
> sg26: dma=81e2800, dma_len=4096/0, pfn=1303025
> sg27: dma=81e3800, dma_len=4096/0, pfn=1304019
> sg28: dma=81e4800, dma_len=4096/0, pfn=1302256
> sg29: dma=81e5800, dma_len=4096/0, pfn=1304738
> sg30: dma=81e6800, dma_len=4096/0, pfn=1302998
> sg31: dma=81e7800, dma_len=4096/0, pfn=1304148
> sg32: dma=81e8800, dma_len=4096/0, pfn=1304126
> sg33: dma=81e9800, dma_len=4096/0, pfn=1303079
> sg34: dma=81ea800, dma_len=4096/0, pfn=1302996
> sg35: dma=81eb800, dma_len=4096/0, pfn=1296243
> sg36: dma=81ec800, dma_len=4096/0, pfn=1306396
> sg37: dma=81ed800, dma_len=4096/0, pfn=1306474
> sg38: dma=81ee800, dma_len=4096/0, pfn=1295929
> sg39: dma=81ef800, dma_len=4096/0, pfn=1296156

And this. And a few more below. The end result is that we are about ~20
entries short.

Andi, any idea what is going on here? Why is this throwing up all of a
sudden??

-- 
Jens Axboe


  reply	other threads:[~2006-03-01 13:41 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01 13:34 Andy Chittenden
2006-03-01 13:41 ` Jens Axboe [this message]
2006-03-01 14:05   ` Andi Kleen
2006-03-01 14:18     ` Jens Axboe
2006-03-01 14:26       ` Andi Kleen
2006-03-01 14:34         ` Jens Axboe
2006-03-01 14:41           ` Andi Kleen
2006-03-01 15:00             ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2006-03-03  9:16 Andy Chittenden
2006-03-02 10:46 Andy Chittenden
2006-03-02 11:10 ` Jens Axboe
2006-03-02 12:21   ` Andi Kleen
2006-03-02 12:26     ` Jens Axboe
     [not found] <89E85E0168AD994693B574C80EDB9C270393C141@uk-email.terastack.bluearc.com>
2006-03-01 15:57 ` Jens Axboe
2006-03-01 14:40 Andy Chittenden
2006-03-01 10:47 Andy Chittenden
2006-03-01 12:15 ` Jens Axboe
2006-03-01 12:19   ` Jens Axboe
2006-03-01 12:23     ` Andi Kleen
2006-03-01 12:25       ` Jens Axboe
2006-03-01  9:42 Andy Chittenden
2006-03-01  9:55 ` Jens Axboe
2006-02-28 10:27 Andy Chittenden
2006-02-28 10:29 ` Jens Axboe
2006-02-28 10:10 Andy Chittenden
2006-02-28 10:20 ` Jens Axboe
2006-02-27 16:39 Andy Chittenden
2006-02-27 14:50 Andy Chittenden
2006-02-27 14:56 ` Jens Axboe
     [not found] <89E85E0168AD994693B574C80EDB9C270393BF0E@uk-email.terastack.bluearc.com>
2006-02-27 14:28 ` Jens Axboe
2006-02-24  9:33 Andy Chittenden
2006-02-22 10:43 Andy Chittenden
2006-02-22 13:34 ` Jens Axboe
2006-02-22 13:35   ` Jens Axboe
2006-02-22 13:38     ` Jens Axboe
2006-02-03 13:56 Andy Chittenden
2006-02-03 14:00 ` Jens Axboe
2006-01-27 11:53 Andy Chittenden
2006-01-27 14:21 ` Jens Axboe
2006-01-27 14:39   ` Anton Altaparmakov
2006-02-03  9:20     ` adding swap workarounds oom - was: " Anton Altaparmakov
2006-02-03  9:26       ` Andrew Morton
2006-02-03 11:01         ` Anton Altaparmakov
2006-02-03 13:54           ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060301134123.GU4816@suse.de \
    --to=axboe@suse.de \
    --cc=AChittenden@bluearc.com \
    --cc=aia21@cam.ac.uk \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=bzolnier@gmail.com \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lwoodman@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome