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


Groups > linux.kernel > #1437633

Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page table entries

From Martin Schwidefsky <schwidefsky@de.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page table entries
Date 2016-07-06 13:00 +0200
Message-ID <rRSIF-88t-7@gated-at.bofh.it> (permalink)
References (1 earlier) <rRMjT-4hL-9@gated-at.bofh.it> <rROvo-5Cf-35@gated-at.bofh.it> <rROOJ-5IG-9@gated-at.bofh.it> <rRQGS-6SL-29@gated-at.bofh.it> <rRRjA-7oL-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 06 Jul 2016 17:26:08 +0800
"Hillf Danton" <hillf.zj@alibaba-inc.com> wrote:

> > 
> > You are still a bit cryptic, 
> >
> Sorry, Sir, simply because I'm not native English speaker.
> 
> > are you trying to tell me that your hint is
> > about trying to avoid the preempt_enable() call?
> > 
> Yes, since we are already in the context with page table lock held.

Ok, got it. An option would be to drop the preempt_disable/preempt_enable,
add "BUG_ON(preemptible())" and use raw_smp_processor_id. But I wonder if
it is worth the effort.

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

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


Thread

Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page table entries "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-07-06 06:10 +0200
  Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page  table entries Martin Schwidefsky <schwidefsky@de.ibm.com> - 2016-07-06 08:30 +0200
    Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page table entries "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-07-06 08:50 +0200
      Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page  table entries Martin Schwidefsky <schwidefsky@de.ibm.com> - 2016-07-06 10:50 +0200
        Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page table entries "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-07-06 11:30 +0200
          Re: [PATCH 2/2] s390/mm: use ipte range to invalidate multiple page  table entries Martin Schwidefsky <schwidefsky@de.ibm.com> - 2016-07-06 13:00 +0200

csiph-web