Hi,
Unless I am mistaken, we return stuff (entry) from the local=20
stack in swapfile.c::get_swap_page. Am I mistaken?
Code in question:
swp_entry_t get_swap_page(void)
{
struct swap_info_struct * p;
unsigned long offset;
swp_entry_t entry;
int type, wrapped =3D 0;
entry.val =3D 0; /* Out of memory */
[...]
out:
swap_list_unlock();
return entry;
}
Regards,
Rasmus
--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE9swTAlZJASZ6eJs4RAlVPAJ94e0AUsOsrpbFeiHu40gphZl0FSQCfemPf
4fpK3IsdLSEZzboZJZ92kFw=
=o5LY
-----END PGP SIGNATURE-----
--nFreZHaLTZJo0R7j--
-
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/