From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 04 Aug 2015 22:47:20 +0200 (CEST) Received: from mailapp01.imgtec.com ([195.59.15.196]:45931 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27010960AbbHDUrSsUfYi (ORCPT ); Tue, 4 Aug 2015 22:47:18 +0200 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 518849FAD789; Tue, 4 Aug 2015 21:47:09 +0100 (IST) Received: from BAMAIL02.ba.imgtec.org (10.20.40.28) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 4 Aug 2015 21:47:12 +0100 Received: from [10.20.3.79] (10.20.3.79) by bamail02.ba.imgtec.org (10.20.40.28) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 4 Aug 2015 13:47:09 -0700 Message-ID: <55C124CE.3070209@imgtec.com> Date: Tue, 4 Aug 2015 13:47:10 -0700 From: Leonid Yegoshin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: David Daney CC: David Daney , , , David Daney , Subject: Re: MIPS: Make set_pte() SMP safe. References: <1438649323-1082-1-git-send-email-ddaney.cavm@gmail.com> <55C10F4B.2050003@imgtec.com> <55C11A37.5070509@caviumnetworks.com> <55C1214F.8050208@imgtec.com> <55C12263.7070407@imgtec.com> <55C122D7.3040803@caviumnetworks.com> In-Reply-To: <55C122D7.3040803@caviumnetworks.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.20.3.79] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 48574 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: Leonid.Yegoshin@imgtec.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On 08/04/2015 01:38 PM, David Daney wrote: > I don't know what the purpose of guard pages is. I thought it was to > produce an OOPs message if you accessed just beyond the end of the > vmap area. If people are using them for some other reason, then I am > not aware of it. > > Right, but if you have a buddy problem then it means that in your case the guard page IS USED... and doesn't produce OOPs. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailapp01.imgtec.com ([195.59.15.196]:45931 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27010960AbbHDUrSsUfYi (ORCPT ); Tue, 4 Aug 2015 22:47:18 +0200 Message-ID: <55C124CE.3070209@imgtec.com> Date: Tue, 4 Aug 2015 13:47:10 -0700 From: Leonid Yegoshin MIME-Version: 1.0 Subject: Re: MIPS: Make set_pte() SMP safe. References: <1438649323-1082-1-git-send-email-ddaney.cavm@gmail.com> <55C10F4B.2050003@imgtec.com> <55C11A37.5070509@caviumnetworks.com> <55C1214F.8050208@imgtec.com> <55C12263.7070407@imgtec.com> <55C122D7.3040803@caviumnetworks.com> In-Reply-To: <55C122D7.3040803@caviumnetworks.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: David Daney Cc: David Daney , linux-mips@linux-mips.org, ralf@linux-mips.org, David Daney , stable@vger.kernel.org Message-ID: <20150804204710.4pnB6WClGVMxapuhYPN19I1v6A-yXc4Cxs0AKPrlaBY@z> On 08/04/2015 01:38 PM, David Daney wrote: > I don't know what the purpose of guard pages is. I thought it was to > produce an OOPs message if you accessed just beyond the end of the > vmap area. If people are using them for some other reason, then I am > not aware of it. > > Right, but if you have a buddy problem then it means that in your case the guard page IS USED... and doesn't produce OOPs.