Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1313510

Re: [4.4-rt2 PATCH] ARM: highmem: take into account FIX_KMAP_BEGIN in switch_kmaps()

From Russell King - ARM Linux <linux@arm.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [4.4-rt2 PATCH] ARM: highmem: take into account FIX_KMAP_BEGIN in switch_kmaps()
Date 2016-01-20 21:30 +0100
Message-ID <qT7yb-3ae-35@gated-at.bofh.it> (permalink)
References <qRdy2-7l8-13@gated-at.bofh.it> <qT7yb-3ae-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

-- 
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[4.4-rt2 PATCH] ARM: highmem: take into account FIX_KMAP_BEGIN in switch_kmaps() Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-15 15:30 +0100
  Re: [4.4-rt2 PATCH] ARM: highmem: take into account FIX_KMAP_BEGIN  in switch_kmaps() Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-15 18:00 +0100
  Re: [4.4-rt2 PATCH] ARM: highmem: take into account FIX_KMAP_BEGIN  in switch_kmaps() Russell King - ARM Linux <linux@arm.linux.org.uk> - 2016-01-20 21:30 +0100
    Re: [4.4-rt2 PATCH] ARM: highmem: take into account FIX_KMAP_BEGIN in  switch_kmaps() Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-20 21:40 +0100
  Re: [4.4-rt2 PATCH] ARM: highmem: take into account FIX_KMAP_BEGIN  in switch_kmaps() Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-20 21:30 +0100

csiph-web