lkml.org 
[lkml]   [2013]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] Fadvise: Directory level page cache cleaning support
On 12/30/2013 05:45 AM, Li Wang wrote:
> This patch extends 'fadvise' to support directory level page cache
> cleaning. The call to posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED)
> with 'fd' referring to a directory will recursively reclaim page cache
> entries of files inside 'fd'. For secruity concern, those inodes
> which the caller does not own appropriate permissions will not
> be manipulated.

Why is this necessary to do in the kernel? Why not leave it to
userspace to walk the filesystem(s)?




\
 
 \ /
  Last update: 2013-12-30 21:01    [W:0.960 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site