From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bl2on0071.outbound.protection.outlook.com ([65.55.169.71]:36304 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753247AbbHDUyO (ORCPT ); Tue, 4 Aug 2015 16:54:14 -0400 Message-ID: <55C122D7.3040803@caviumnetworks.com> Date: Tue, 4 Aug 2015 13:38:47 -0700 From: David Daney MIME-Version: 1.0 To: Leonid Yegoshin 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> In-Reply-To: <55C12263.7070407@imgtec.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 08/04/2015 01:36 PM, Leonid Yegoshin wrote: > David, > > Note: Excuse me for bothering you but if guard page logic doesn't work > anymore then it can be scraped. It allows me to optimize some cache > flushes in VMAP area - instead of flushing a full cache, just flush a > range of pages. > 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. David.