lkml.org 
[lkml]   [2001]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectrw==WRITE in rw_swap_page_base()
From
Date
Dear all,

In mm/page_io.c the function rw_swap_page_base() , since 2.4.14 the
rw==WRITE case is missing. Does that mean rw_swap_page_base will never
be called with rw==WRITE? That is rw_swap_page_base will never used to
write a swap page? Then where does the swap write goes? Also the auto
int "zone_used" is never used twice and it seems useless, it is sitting
there and wasting for memory. The 2.4.16 still keep the traditon int
"zone_used" which is totally usless.

regards,

David Chow
-
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:18    [W:3.188 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site