Re: Error in get_swap_page? (2.5.44)

Rasmus Andersen (rasmus@jaquet.dk)
Sun, 20 Oct 2002 21:39:06 +0200


--8GpibOaaTibBMecb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 20, 2002 at 09:36:52PM +0200, bert hubert wrote:
> On Sun, Oct 20, 2002 at 09:32:17PM +0200, Rasmus Andersen wrote:
>=20
> > Unless I am mistaken, we return stuff (entry) from the local=20
> > stack in swapfile.c::get_swap_page. Am I mistaken?
>=20
> 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.

Hmm. You are right and I must be confused. -ENEEDSLEEP, apparently.

Thanks,
Rasmus

--8GpibOaaTibBMecb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9swZalZJASZ6eJs4RAv0SAJ9zuAv7hZCt5iXj+u06KpPM2ca9vQCggLcC
hPU/ew6BFbAsZObo2CgA1r8=
=ecyY
-----END PGP SIGNATURE-----

--8GpibOaaTibBMecb--
-
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/