lkml.org 
[lkml]   [2000]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch-2.4.0-test8-pre6] misc fixes


On Thu, 7 Sep 2000, Tigran Aivazian wrote:
>
> k) all swapout functions in mm/vmscan.c can be optimized by removing 'mm'
> argument. This part was reviewed by Rick van Riel and approved.

But they then get "mm" themselves anyway.

What's the point? With argument passing, on certain architectures it stays
in registers. On other architectures it is in memory on the stack, but
that's not slower than accessing it from memory off another pointer.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.028 / U:0.832 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site