[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <38c80313-ba1c-092c-ae31-f58fe6ffa82c@yandex.ru>
Date: Thu, 30 Mar 2023 19:45:14 +0500
From: stsp <stsp2@...dex.ru>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: linux-mm@...ck.org, Brian Geffon <bgeffon@...gle.com>,
Li Xinhai <lixinhai.lxh@...il.com>,
Dmitry Safonov <0x7f454c46@...il.com>
Subject: Re: MREMAP_DONTUNMAP corrupts initial mapping
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.
Powered by blists - more mailing lists