mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Galbraith <efault@gmx.de>
To: Andi Kleen <andi@firstfloor.org>
Cc: "Américo Wang" <xiyou.wangcong@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.33 pagemap endless read loop
Date: Tue, 12 Jan 2010 06:59:59 +0100	[thread overview]
Message-ID: <1263275999.5987.26.camel@marge.simson.net> (raw)
In-Reply-To: <20100110123702.GC25323@basil.fritz.box>

On Sun, 2010-01-10 at 13:37 +0100, Andi Kleen wrote:
> > Are you sure
> 
> I don't know if it's really endless, but it's doing a good emulation
> of it if it's not.
> 
> > 
> > On my 32bit machine, it runs for a long time, but finally exits.
> 
> That was on 64bit.
> 
> proc01 had accumulated several minutes of CPU time when I stopped it.
> 
> > From the document of pagemap, it is the mapping of all the virtual pages
> > of a process, on x86-32, it should be 4G/4K = 1024*1024 pages, also
> 
> Only the mapped ones surely?
> 
> Right now it looks like it dumps all the holes and that obviously
> will never finish on 64bit which has 47bits of address space.

Takes forever if you whack .pagemap_pte_hole too, just spends it's life
in pagemap_pte_range() instead.

start_vaddr:0x0 end_vaddr:0x7ffffffff000

Hm, zillion paces ain't a walk.

	-Mike


  reply	other threads:[~2010-01-12  6:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-10  2:09 Andi Kleen
2010-01-10  6:33 ` Américo Wang
2010-01-10 12:37   ` Andi Kleen
2010-01-12  5:59     ` Mike Galbraith [this message]
2010-01-12 15:32     ` Américo Wang
2010-01-12 16:28       ` Andi Kleen
2010-01-13  2:08         ` Américo Wang
     [not found] ` <20100113141648.42eff724.akpm@linux-foundation.org>
     [not found]   ` <1263421562.29868.5000.camel@calx>
     [not found]     ` <20100113143055.7bea30c5.akpm@linux-foundation.org>
     [not found]       ` <1263423916.29868.5009.camel@calx>
     [not found]         ` <20100113151502.fa425247.akpm@linux-foundation.org>
     [not found]           ` <20100114055319.GA17671@localhost>
     [not found]             ` <20100113221013.b1beecb4.akpm@linux-foundation.org>
2010-01-14  8:06               ` Wu Fengguang
2010-01-14  8:30                 ` Andi Kleen
2010-01-14  8:52                   ` [PATCH] pagemap: early return on unmapped areas Wu Fengguang
2010-01-14 17:02                     ` Matt Mackall

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=1263275999.5987.26.camel@marge.simson.net \
    --to=efault@gmx.de \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.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