linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Dave Martin <dave.martin@linaro.org>
To: Will Deacon <will.deacon@arm.com>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	linux-mm <linux-mm@kvack.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	naveen yadav <yad.naveen@gmail.com>
Subject: Re: Crash when memset of shared mapped memory in ARM
Date: Thu, 17 Nov 2011 12:10:18 +0000	[thread overview]
Message-ID: <20111117121017.GA3044@localhost.localdomain> (raw)
In-Reply-To: <20111116115435.GI4942@mudshark.cambridge.arm.com>

On Wed, Nov 16, 2011 at 11:54:35AM +0000, Will Deacon wrote:
> (Replying to Russell so as to lose the -request addresses)
> 
> On Wed, Nov 16, 2011 at 08:45:47AM +0000, Russell King - ARM Linux wrote:
> > Please do not spam mailing lists -request addresses when you post.  The
> > -request addresses are there for you to give the mailing list software
> > _instructions_ on what to do with your subscription.  It is not for
> > posts to the mailing list.
> 
> For what it's worth, I was brave/daft enough to compile and run the testcase
> with an -rc1 kernel and Linaro 11.09 filesystem on the quad A9 Versatile
> Express:
> 
> root@dancing-fool:~# ./yad
> mmap: addr 0x20000000
> root@dancing-fool:~# ./yad
> shm_open: File exists
> mmap: addr 0x20000000
> 
> Looks like I'm missing the fireworks, despite the weirdy MAP_SHARED |
> MAP_FIXED mmap flags.

I did't see any problem on a random 3.1-rc4 kernel either on A9...

(Since when was MAP_SHARED "weirdy"...?)

Cheers
---Dave

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2011-11-17 12:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16  5:35 Crash when memset of shared mapped memory in ARM naveen yadav
2011-11-16  8:27 ` Russell King - ARM Linux
2011-11-16  9:07   ` naveen yadav
2011-11-16  8:45 ` Russell King - ARM Linux
2011-11-16 11:54   ` Will Deacon
2011-11-17 12:10     ` Dave Martin [this message]

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=20111117121017.GA3044@localhost.localdomain \
    --to=dave.martin@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux@arm.linux.org.uk \
    --cc=will.deacon@arm.com \
    --cc=yad.naveen@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;
as well as URLs for NNTP newsgroup(s).