mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: User & <breno_silva@beta.bandnet.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Expand VM
Date: Thu, 23 Jan 2003 15:02:07 -0500	[thread overview]
Message-ID: <200301232002.h0NK2875012830@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Thu, 23 Jan 2003 16:40:14 -0300." <20030123194014.M374@beta.bandnet.com.br>

[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]

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 can 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 Linux 
> 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


[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

  reply	other threads:[~2003-01-23 19:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23 15:56 User &
2003-01-23 16:04 ` Richard B. Johnson
2003-01-23 16:19   ` John Bradford
2003-01-23 16:33     ` Sean Neakums
2003-01-23 16:56       ` John Bradford
2003-01-23 17:58         ` Herman Oosthuysen
2003-01-23 18:46           ` John Bradford
2003-01-23 19:42             ` Herman Oosthuysen
2003-01-23 16:18 ` Patrizio Bruno
2003-01-23 16:55 ` Valdis.Kletnieks
2003-01-23 19:40   ` User &
2003-01-23 20:02     ` Valdis.Kletnieks [this message]
2003-01-23 23:20     ` Thomas Cataldo
2003-01-23 17:09 ` kkonaka
2003-01-24 15:20 ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200301232002.h0NK2875012830@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=breno_silva@beta.bandnet.com.br \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®