linux-mips
[Top] [All Lists]

RE: flush_anon_page for MIPS

To: "Atsushi Nemoto" <anemo@mba.ocn.ne.jp>
Subject: RE: flush_anon_page for MIPS
From: "Ravi Pratap" <Ravi.Pratap@hillcrestlabs.com>
Date: Fri, 23 Mar 2007 11:47:20 -0400
Cc: <ralf@linux-mips.org>, <miklos@szeredi.hu>, <linux-mips@linux-mips.org>
In-reply-to: <20070324.004146.41631259.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Thread-index: AcdtYcV4NOyVj69cRWOxO5zuQnun1AAAH0BQ
Thread-topic: flush_anon_page for MIPS
> From: Atsushi Nemoto [mailto:anemo@mba.ocn.ne.jp] 
> Sent: Friday, March 23, 2007 11:42 AM
> To: Ravi Pratap
> Cc: ralf@linux-mips.org; miklos@szeredi.hu; linux-mips@linux-mips.org
> Subject: Re: flush_anon_page for MIPS
> 
> On Fri, 23 Mar 2007 10:51:32 -0400, "Ravi Pratap" 
> <Ravi.Pratap@hillcrestlabs.com> wrote:
> > > Was this one found by code inspection or actually 
> triggered by like 
> > > FUSE?
> > 
> > It was actually triggered by FUSE.
> 
> Could you point us any good (simple, easy to install, 
> independent from any special device) FUSE program to test it?

The standard FUSE hello program triggers the bug every single time. All
you have to do is follow the example on the FUSE web page:
http://fuse.sourceforge.net 

~/fuse/example$ mkdir /tmp/fuse
~/fuse/example$ ./hello /tmp/fuse
~/fuse/example$ ls -l /tmp/fuse
total 0
-r--r--r--  1 root root 13 Jan  1  1970 hello
~/fuse/example$ cat /tmp/fuse/hello
Hello World!
~/fuse/example$ fusermount -u /tmp/fuse
~/fuse/example$


It hangs when you do ls -l /tmp/fuse, in the above example.


HTH,

Ravi.

<Prev in Thread] Current Thread [Next in Thread>