lkml.org 
[lkml]   [2012]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: resend--[PATCH] improve read ahead in kernel
xtu4 <xiaobing.tu@intel.com> 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.
I would like to have this ability via fadvise (and not CONFIG_).

Also, I think your patch has too many #ifdefs to be accepted.


\
 
 \ /
  Last update: 2012-12-16 03:41    [W:0.073 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site