lkml.org 
[lkml]   [2003]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.137 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site