lkml.org 
[lkml]   [2015]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [FYI] tux3: Core changes
Date
On Tuesday, May 26, 2015 12:09:10 AM PDT, Jan Kara wrote:
> E.g. video drivers (or infiniband or direct IO for that matter) which
> have buffers in user memory (may be mmapped file), grab references to pages
> and hand out PFNs of those pages to the hardware to store data in them...
> If you fork a page after the driver has handed PFNs to the hardware, you've
> just lost all the writes hardware will do.

Hi Jan,

The page forked because somebody wrote to it with write(2) or mmap write at
the same time as a video driver (or infiniband or direct IO) was doing io
to
it. Isn't the application trying hard to lose data in that case? It would
not need page fork to lose data that way.

Regards,

Daniel


\
 
 \ /
  Last update: 2015-05-26 10:21    [W:0.825 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site