linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Paul Menzel <pmenzel+linux-mm@molgen.mpg.de>
Cc: linux-mm@kvack.org, x86@kernel.org
Subject: Re: How to profile 160 ms spent in `add_highpages_with_active_regions()`?
Date: Wed, 22 Aug 2018 15:41:52 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.21.1808221539190.1652@nanos.tec.linutronix.de> (raw)
In-Reply-To: <4f8d0de0-e9f1-e3cd-1f94-e95e6fa47ecf@molgen.mpg.de>

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

On Wed, 22 Aug 2018, Paul Menzel wrote:
> Am 21.08.2018 um 11:37 schrieb Paul Menzel:
> > [Removed non-working Pavel Tatashin <pasha.tatashin@oracle.com>]
> 
> So a??freea??inga?? pfn = 225278 to e_pfn = 818492 in the for loop takes 160 ms.

That's 593214 pages and each one takes about 270ns. I don't see much
optimization potential with that.

32bit and highmem sucks ...

  reply	other threads:[~2018-08-22 13:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-17  8:12 Paul Menzel
2018-08-21  9:37 ` Paul Menzel
2018-08-22 13:25   ` Paul Menzel
2018-08-22 13:41     ` Thomas Gleixner [this message]
2018-09-04  9:16       ` Paul Menzel
2018-09-13 12:04         ` Thomas Gleixner

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=alpine.DEB.2.21.1808221539190.1652@nanos.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=linux-mm@kvack.org \
    --cc=pmenzel+linux-mm@molgen.mpg.de \
    --cc=x86@kernel.org \
    /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