Messages in this thread |  | | Date | Wed, 28 May 2003 04:04:44 -0700 | From | Andrew Morton <> | Subject | Re: [patch] Inline vm_acct_memory |
| |
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. - 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/
|  |