lkml.org 
[lkml]   [2022]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 2/6] mm: clone3: Add CLONE_COW_PGTABLE flag
On Fri, May 20, 2022 at 02:13:25PM +0000, Christophe Leroy wrote:
>
>
> Le 19/05/2022 à 20:31, Chih-En Lin a écrit :
> > Add CLONE_COW_PGTABLE flag to support clone3() system call to enable the
> > Copy-On-Write (COW) mechanism on the page table.
>
> Is that really something we want the user to decide ? Isn't it an
> internal stuff that should be transparent for users ?
>
> As far as I know, there is no way today to decide whether you want COW
> or not for main memory. Why should there be a choice for the COW of page
> tables ?

Agree.
It should not expose to the user.
COW of page table should become the configuration.
Or, if the change is fine, it can even be the default setting.

Thanks.

---

Sorry I did not group reply the first time.

\
 
 \ /
  Last update: 2022-05-21 05:50    [W:0.313 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site