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


Groups > linux.kernel > #1531116

[PATCH 0/2] use mmu gather logic for tlb flush in mremap

From Aaron Lu <aaron.lu@intel.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] use mmu gather logic for tlb flush in mremap
Date 2016-11-28 09:40 +0100
Message-ID <sIpDH-8b7-9@gated-at.bofh.it> (permalink)
References <sEpCi-66D-15@gated-at.bofh.it> <sIpDH-8b7-5@gated-at.bofh.it> <sIpDH-8b7-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Nov 18, 2016 at 10:48:20AM +0800, Aaron Lu wrote:
> On 11/18/2016 01:53 AM, Linus Torvalds wrote:
> > I'm not entirely happy with the force_flush vs need_flush games, and I
> > really think this code should be updated to use the same "struct
> > mmu_gather" that we use for the other TLB flushing cases (no need for
> > the page freeing batching, but the tlb_flush_mmu_tlbonly() logic
> > should be the same).
> 
> I see.
> 
> > 
> > But I guess that's a bigger change, so that wouldn't be approriate for
> > rc5 or stable back-porting anyway. But it would be lovely if somebody
> > could look at that. Hint hint.
> 
> I'll work on it, thanks for the suggestion.

So here it is. I'm not quite sure if I've done the right thing in patch
2/2, i.e. should I just use tlb_flush_mmu or export tlb_flush_mmu_tlbonly
and then use it in mremap.c. Please take a look and let me know what you
think, thanks!

Regards,
Aaron

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


Thread

[PATCH 0/2] use mmu gather logic for tlb flush in mremap Aaron Lu <aaron.lu@intel.com> - 2016-11-28 09:40 +0100
  [PATCH 2/2] mremap: use mmu gather logic for tlb flush in mremap Aaron Lu <aaron.lu@intel.com> - 2016-11-28 09:50 +0100
    Re: [PATCH 2/2] mremap: use mmu gather logic for tlb flush in mremap Linus Torvalds <torvalds@linux-foundation.org> - 2016-11-28 18:20 +0100
      [PATCH] mremap: move_ptes: check pte dirty after its removal Aaron Lu <aaron.lu@intel.com> - 2016-11-29 04:00 +0100
        Re: [PATCH] mremap: move_ptes: check pte dirty after its removal Linus Torvalds <torvalds@linux-foundation.org> - 2016-11-29 04:10 +0100
          Re: [PATCH] mremap: move_ptes: check pte dirty after its removal Aaron Lu <aaron.lu@intel.com> - 2016-11-29 04:30 +0100
          [PATCH update] mremap: move_ptes: check pte dirty after its removal Aaron Lu <aaron.lu@intel.com> - 2016-11-29 06:30 +0100
    Re: [PATCH 2/2] mremap: use mmu gather logic for tlb flush in mremap Dave Hansen <dave.hansen@intel.com> - 2016-11-28 18:40 +0100
      Re: [PATCH 2/2] mremap: use mmu gather logic for tlb flush in mremap Linus Torvalds <torvalds@linux-foundation.org> - 2016-11-28 18:50 +0100

csiph-web