From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: align shared memory unconditionally to the SHMLBA boundary
Date: Tue, 16 Jul 2013 11:36:49 +0100 [thread overview]
Message-ID: <20130716103649.GC24642@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <51E51EF1.3010104@parallels.com>
On Tue, Jul 16, 2013 at 02:22:41PM +0400, Alexander Kartashov wrote:
> On 07/16/2013 01:53 PM, Cyrill Gorcunov wrote:
>> Does it mean that we simply can't checkpoint and restore on same
>> node (ie same arm family) if this patch is not applied, right?
> Yes, it does.
>> Is there any possibility to somehow workaround this problem
>> completely in user-space?
> No, it's impossible since an IPC SHM region is allocated
> by the routine shmget() in the dumpee; if the routine
> returns an incorrectly aligned address it's impossible
> to reattach the region at this address while restoring
> the dumpee.
shmget() doesn't allocate space in the process for the SHM region. It
merely creates the shm memory and returns an identifier for it which can
later be used by shmat() to map it.
next prev parent reply other threads:[~2013-07-16 10:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-19 6:11 [PATCH] arm: align shared memory unconditionally to the SHMLBA boundary Alexander Kartashov
2013-07-15 17:32 ` Cyrill Gorcunov
2013-07-15 18:08 ` Russell King - ARM Linux
2013-07-15 18:57 ` Cyrill Gorcunov
2013-07-16 5:37 ` Alexander Kartashov
2013-07-16 9:53 ` Cyrill Gorcunov
2013-07-16 10:22 ` Alexander Kartashov
2013-07-16 10:36 ` Russell King - ARM Linux [this message]
2013-07-16 10:47 ` Alexander Kartashov
2013-07-16 11:07 ` Russell King - ARM Linux
2013-07-16 13:12 ` Alexander Kartashov
2013-08-16 8:20 ` Alexander Kartashov
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=20130716103649.GC24642@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).