Re: Error in get_swap_page? (2.5.44)

From: bert hubert (ahu@ds9a.nl)
Date: Sun Oct 20 2002 - 14:36:52 EST


On Sun, Oct 20, 2002 at 09:32:17PM +0200, Rasmus Andersen wrote:

> Unless I am mistaken, we return stuff (entry) from the local
> stack in swapfile.c::get_swap_page. Am I mistaken?

Yes. This just returns a struct by value over the stack, which is frowned
upon in some circles, but is not an error per se.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
-
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/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:50 EST