rw==WRITE in rw_swap_page_base()

David Chow (davidchow@rcn.com.hk)
03 Dec 2001 04:18:49 +0800


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/