From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.123] helo=mx.sourceforge.net) by 335xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1MMkIH-00026x-SE for ltp-list@lists.sourceforge.net; Fri, 03 Jul 2009 15:03:17 +0000 Received: from moutng.kundenserver.de ([212.227.126.187]) by 3b2kzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1MMkI6-0004z2-Gr for ltp-list@lists.sourceforge.net; Fri, 03 Jul 2009 15:03:12 +0000 From: Arnd Bergmann Date: Fri, 3 Jul 2009 17:02:52 +0200 References: <4A4DFB77.1080700@petalogix.com> In-Reply-To: <4A4DFB77.1080700@petalogix.com> MIME-Version: 1.0 Message-Id: <200907031702.52612.arnd@arndb.de> Subject: Re: [LTP] mmap syscall problem List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: michal.simek@petalogix.com Cc: LTP , Linux Kernel list , Grant Likely , Andrew Morton , Ingo Molnar , John Williams On Friday 03 July 2009, Michal Simek wrote: > I am trying to solve problem with mmap syscall on Microblaze which I have. > I am running mmap01 test program from LTP. In attachment is hacked > version and inline version is below too. Does this happen on microblaze-mmu or microblaze-nommu, or both? The mmap code for the two is very different. What file system is backing the temporary file? For -nommu, there are a number of ristrictions from Documentation/nommu-mmap.txt, in particular, MAP_FIXED is forbidden, as is PROT_WRITE with regular files. > Arnd: Anyway maybe worth to move sys_mmap2 to any generic location. What > do you think? Yes, that would be good. I actually have a patch for that somewhere in my playground repository, but it build-breaks some architectures in the current state. I'm planning to fix that (and do the same for execve and maybe some of the other remaining arch specific syscalls) at some point. Arnd <>< ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list