From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761277AbcALBWA (ORCPT ); Mon, 11 Jan 2016 20:22:00 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:46816 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753760AbcALBV7 (ORCPT ); Mon, 11 Jan 2016 20:21:59 -0500 Message-ID: <569454F6.1060207@huawei.com> Date: Tue, 12 Jan 2016 09:20:54 +0800 From: Xishi Qiu User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Mark Rutland CC: zhong jiang , Laura Abbott , Hanjun Guo , "linux-arm-kernel@lists.infradead.org" , LKML Subject: Re: Have any influence on set_memory_** about below patch ?? References: <5693A740.7070408@huawei.com> <20160111133145.GM6499@leverpostej> In-Reply-To: <20160111133145.GM6499@leverpostej> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.25.179] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A0B0206.56945502.00C1,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 5b2e8da8845bf286e623ba3de4429c64 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016/1/11 21:31, Mark Rutland wrote: > Hi, > > On Mon, Jan 11, 2016 at 08:59:44PM +0800, zhong jiang wrote: >> >> http://www.spinics.net/lists/arm-kernel/msg472090.html >> >> Hi, Can I ask you a question? Say, This patch tells that the section spilting >> and merging wiil produce confilct in the liner mapping area. Based on the >> situation, Assume that set up page table in 4kb page table way in the liner >> mapping area, Does the set_memroy_** will work without any conplict?? > > I'm not sure I understand the question. > > I'm also not a fan of responding to off-list queries as information gets > lost. > > Please ask your question on the mailing list. I am more than happy to > respond there. > > Thanks, > Mark. > Hi Mark, In your patch it said "The presence of conflicting TLB entries may result in a variety of behaviours detrimental to the system " and "but this(break-before-make approach) cannot work for modifications to the swapper page tables that cover the kernel text and data." I'm not quite understand this, why the direct mapping can't work? flush tlb can't resolve it? I find x86 does not have this limit. e.g. set_memory_r*. Thanks, Xishi Qiu > . >