Re: resend--[PATCH] improve read ahead in kernel

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

 



On Sun, 2012-12-16 at 02:15 +0000, Eric Wong wrote:
> xtu4 <xiaobing.tu@xxxxxxxxx> wrote:
> > resend it, due to format error
> > 
> > Subject: [PATCH] when system in low memory scenario, imaging there is a mp3
> >  play, ora video play, we need to read mp3 or video file
> >  from memory to page cache,but when system lack of memory,
> >  page cache of mp3 or video file will be reclaimed.once read
> >  in memory, then reclaimed, it will cause audio or video
> >  glitch,and it will increase the io operation at the same
> >  time.
> 
> To me, this basically describes how POSIX_FADV_NOREUSE should work.

Hi Eric,

But why fadvise POSIX_FADV_NOREUSE almost do nothing? Why not set some
flag or other things for these use once data?

> I would like to have this ability via fadvise (and not CONFIG_).
> 
> Also, I think your patch has too many #ifdefs to be accepted.
> 
> --
> 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>


--
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]