From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758095AbcATUgK (ORCPT ); Wed, 20 Jan 2016 15:36:10 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:41996 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754364AbcATUgD (ORCPT ); Wed, 20 Jan 2016 15:36:03 -0500 Subject: Re: [4.4-rt2 PATCH] ARM: highmem: take into account FIX_KMAP_BEGIN in switch_kmaps() To: Russell King - ARM Linux , Sebastian Andrzej Siewior References: <1452867647-1410-1-git-send-email-grygorii.strashko@ti.com> <20160120202139.GC2741@linutronix.de> <20160120202317.GV19062@n2100.arm.linux.org.uk> CC: , , , Sekhar Nori From: Grygorii Strashko Message-ID: <569FEF89.1020806@ti.com> Date: Wed, 20 Jan 2016 22:35:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160120202317.GV19062@n2100.arm.linux.org.uk> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/20/2016 10:23 PM, Russell King - ARM Linux wrote: > On Wed, Jan 20, 2016 at 09:21:39PM +0100, Sebastian Andrzej Siewior wrote: >> * Grygorii Strashko | 2016-01-15 16:20:47 [+0200]: >> >>> --- a/arch/arm/mm/highmem.c >>> +++ b/arch/arm/mm/highmem.c >>> @@ -175,7 +180,7 @@ void switch_kmaps(struct task_struct *prev_p, struct task_struct *next_p) >>> * Restore @next_p's kmap_atomic mappings >>> */ >>> for (i = 0; i < next_p->kmap_idx; i++) { >>> - int idx = i + KM_TYPE_NR * smp_processor_id(); >>> + int idx = fixmap_idx(i); >>> >>> if (!pte_none(next_p->kmap_pte[i])) >>> set_fixmap_pte(idx, next_p->kmap_pte[i]); >> >> Grygorii, if you remove this chunk then it should apply upstream. Could >> you forward it upstream then please? So the -RT piece would shrink a >> little:) > > Or I could commit my own patch which forms a proportion of this change. > np from my side. -- regards, -grygorii