lkml.org 
[lkml]   [2023]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: MREMAP_DONTUNMAP corrupts initial mapping
From
Add a few CCs.

30.03.2023 17:38, stsp пишет:
> Hello.
>
> Attached is a small test-case that
> demonstrates the problem.
> The problem happens if you change
> some data in a file-backed private
> mapping and then use mremap on
> it with MREMAP_DONTUNMAP flag.
> The result is:
> - destination copy is valid
> - source copy restored from the original file
>
> So the 2 copies do not match.

\
 
 \ /
  Last update: 2023-03-30 16:45    [W:0.049 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site