Re: fadvise doesn't work well.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 09, 2013 at 02:18:28AM -0600, Simon Jeons wrote:
> On Wed, 2013-01-09 at 16:09 +0800, Fengguang Wu wrote:
> > Hi Simon,
> > 
> > Try run "sync" before doing fadvise, because fadvise won't drop
> > dirty/writeback/mapped pages.
> > 
> 
> Hi Fengguang,
> 
> Thanks for your quick response. But the result is the same in
> attachment. 
> 
> > Thanks,
> > Fengguang
> > 
> > On Wed, Jan 09, 2013 at 02:05:21AM -0600, Simon Jeons wrote:
> > > In attanchment.
> > 
> > > root@kernel:~/Documents/mm/tools/linux-ftools# dd if=../../../images/ubuntu-11.04-desktop-i386.iso of=/tmpfs
> 
> The pages of ../../../images/ubuntu-11.04-desktop-i386.iso is mapped or
> unmapped?

You may check if anyone is using (hence possibly mapping) it with

        lsof | grep ubuntu-11.04-desktop-i386.iso

Thanks,
Fengguang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]