mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Ravikiran G Thirumalai <kiran@in.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] Inline vm_acct_memory
Date: Wed, 28 May 2003 04:04:44 -0700	[thread overview]
Message-ID: <20030528040444.331575f1.akpm@digeo.com> (raw)
In-Reply-To: <20030528110552.GF5604@in.ibm.com>

Ravikiran G Thirumalai <kiran@in.ibm.com> wrote:
>
> I found that inlining vm_acct_memory speeds up vm_enough_memory.  
>  Since vm_acct_memory is only called by vm_enough_memory,
>  theoritically inlining should help, and my tests proved so -- there was
>  an improvement of about 10 % in profile ticks (vm_enough_memory) on a 
>  4 processor PIII Xeon running kernbench.

OK.  But with just a single call site we may as well implement vm_acct_memory()
inside mm/memory.c.  Could you please make that change?

Thanks.

  reply	other threads:[~2003-05-28 10:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 11:05 Ravikiran G Thirumalai
2003-05-28 11:04 ` Andrew Morton [this message]
2003-05-28 15:45 ` Hugh Dickins
2003-05-29  2:23   ` Andrew Morton
2003-05-29  4:43     ` Ravikiran G Thirumalai
2003-05-29  5:59       ` Hugh Dickins
2003-05-29  9:52         ` Ravikiran G Thirumalai

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=20030528040444.331575f1.akpm@digeo.com \
    --to=akpm@digeo.com \
    --cc=kiran@in.ibm.com \
    --cc=linux-kernel@vger.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

all inboxes | Powered by JetHome®