From: Mark Jackson <mpfj-list@mimc.co.uk>
To: richard -rw- weinberger <richard.weinberger@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Advice on mmap() "feature"
Date: Mon, 17 Sep 2012 08:54:04 +0100 [thread overview]
Message-ID: <5056D71C.70209@mimc.co.uk> (raw)
In-Reply-To: <CAFLxGvy_VMTMZxESgDoZrOaxm94q+BeSfEb+tXeWrUc5J0gHbw@mail.gmail.com>
On 16/09/12 21:52, richard -rw- weinberger wrote:
> On Sun, Sep 16, 2012 at 9:21 PM, Mark Jackson <mpfj-list@mimc.co.uk> wrote:
>> // now remove the mapping
>> if (m_pFram)
>> munmap(m_pFram, FRAM_SIZE);
>
> You unmap less memory than you map...
>
I hang my head in shame ... what a stupid mistake to miss !!
Thank you
next prev parent reply other threads:[~2012-09-17 7:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-16 19:21 Advice on mmap() "feature" Mark Jackson
2012-09-16 20:52 ` richard -rw- weinberger
2012-09-17 7:54 ` Mark Jackson [this message]
2012-09-17 11:17 ` Alan Cox
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=5056D71C.70209@mimc.co.uk \
--to=mpfj-list@mimc.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=richard.weinberger@gmail.com \
/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