Re: Expand VM

Valdis.Kletnieks@vt.edu
Thu, 23 Jan 2003 15:02:07 -0500


--==_Exmh_-264112535P
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, 23 Jan 2003 16:40:14 -0300, User & said:
> Create a new VMA on Linux B for Linux A is easy , but i have a problem =
, the =

> address of VMA is returned on Linux B , so the VMA created on Linux B c=
an not
=

> be used for process of linux A.

It's unclear whether you're just trying to use B for added swap space, or=

if you want B to actually run code.

If it's the former, all you have to do is allocate a lot of disk space on=
B,
and NFS export it to A, and then have A mount it (you might need to
use a loopback mount of a file on the NFS partition and then 'swapon' the=

loopback - I dont think swapon will directly take an NFS file)

> The problem is "how can i return address of VMA created on LINUX B to L=
inux =

> A , and use this space ?".

If you're trying to get B to actually run code, it gets a lot more messy,=
as
you have to worry about open file descriptors, race conditions, and many
other things.
-- =

Valdis Kletnieks
Computer Systems Senior Engineer
Virginia Tech

--==_Exmh_-264112535P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE+MEo/cC3lWbTT17ARAq1cAKDspBeZAwaGLpcF0YoHEKBFL0xToQCbBMh8
A4Q7l+K8FVwkHnTeQnGVMLI=
=jSLd
-----END PGP SIGNATURE-----

--==_Exmh_-264112535P--
-
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/