lkml.org 
[lkml]   [2011]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] xip: export xip_file_fault
On Sat, Sep 17, 2011 at 02:18:11PM +0200, Marco Stornelli wrote:
> From: Marco Stornelli <marco.stornelli@gmail.com>
>
> There aren't sufficient sync points for a fs for xip operations. In
> particular for the mmap case. It can be not sufficient to lock/unlock
> to do some operation inside get_xip_mem callback. For xip_file_read
> it's really easy to write a fs specific wrapper, xip_file_write hold
> i_mutex so no problem. With this patch it's possible to reuse the
> generic xip_file_fault, using a wrapper function in a fs, without to
> reinvent the wheel.

As usual please send patches to add exports only while adding callers
for it.



\
 
 \ /
  Last update: 2011-09-17 15:55    [W:0.069 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site