[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <23352bc3a9914e79a0aa29bc63f830bd@huawei.com>
Date: Mon, 14 Sep 2020 01:38:24 +0000
From: linmiaohe <linmiaohe@...wei.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
CC: "christian.brauner@...ntu.com" <christian.brauner@...ntu.com>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"peterz@...radead.org" <peterz@...radead.org>,
"mingo@...nel.org" <mingo@...nel.org>,
"christian@...lner.me" <christian@...lner.me>,
"surenb@...gle.com" <surenb@...gle.com>,
"areber@...hat.com" <areber@...hat.com>,
"shakeelb@...gle.com" <shakeelb@...gle.com>,
"cyphar@...har.com" <cyphar@...har.com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] fork: Use helper function mapping_allow_writable() in
dup_mmap()
Eric W. Biederman <ebiederm@...ssion.com> wrote:
> Miaohe Lin <linmiaohe@...wei.com> writes:
>
>> Use helper function mapping_allow_writable() to atomic_inc
>> i_mmap_writable.
>
>Why?
>
Because I think it's better to use the wrapper function instead of the open hard code.
Thanks.
Powered by blists - more mailing lists