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


Groups > linux.kernel > #1257568 > unrolled thread

[PATCH 0/3] context_tracking: streamline code, avoid IRQ save/restore

Started byPaolo Bonzini <pbonzini@redhat.com>
First post2015-10-28 02:50 +0100
Last post2015-10-28 03:10 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/3] context_tracking: streamline code, avoid IRQ save/restore Paolo Bonzini <pbonzini@redhat.com> - 2015-10-28 02:50 +0100
    Re: [PATCH 0/3] context_tracking: streamline code, avoid IRQ  save/restore Paolo Bonzini <pbonzini@redhat.com> - 2015-10-28 03:10 +0100

#1257568 — [PATCH 0/3] context_tracking: streamline code, avoid IRQ save/restore

FromPaolo Bonzini <pbonzini@redhat.com>
Date2015-10-28 02:50 +0100
Subject[PATCH 0/3] context_tracking: streamline code, avoid IRQ save/restore
Message-ID<qoo2d-4uc-5@gated-at.bofh.it>
The first two of these patches were posted last February, the last one
is new.  Rik's old measurements were that it shaved around .3 microseconds
on each iteration of his KVM benchmark.

I guess three days before the start of the merge window is not
the best time to post patches.  However, I brought this series up at
kernel summit yesterday, and Andy's cleanups actually makes it trivial
to apply this to syscall entry.  So here it is, perhaps it's worth it.

Assuming it works, of course, because this is compile-tested only. :)

Paolo

Paolo Bonzini (3):
  context_tracking: remove duplicate enabled check
  context_tracking: avoid irq_save/irq_restore on guest entry and exit
  x86: context_tracking: avoid irq_save/irq_restore on kernel entry and exit

 arch/x86/entry/common.c          |  4 +-
 include/linux/context_tracking.h | 50 +++++++++++++++++--------
 kernel/context_tracking.c        | 80 ++++++++++++++++++++--------------------
 3 files changed, 76 insertions(+), 58 deletions(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1257582 — Re: [PATCH 0/3] context_tracking: streamline code, avoid IRQ save/restore

FromPaolo Bonzini <pbonzini@redhat.com>
Date2015-10-28 03:10 +0100
SubjectRe: [PATCH 0/3] context_tracking: streamline code, avoid IRQ save/restore
Message-ID<qoolB-4PZ-21@gated-at.bofh.it>
In reply to#1257568

On 28/10/2015 02:39, Paolo Bonzini wrote:
> The first two of these patches were posted last February, the last one
> is new.  Rik's old measurements were that it shaved around .3 microseconds
> on each iteration of his KVM benchmark.
> 
> I guess three days before the start of the merge window is not
> the best time to post patches.  However, I brought this series up at
> kernel summit yesterday, and Andy's cleanups actually makes it trivial
> to apply this to syscall entry.  So here it is, perhaps it's worth it.
> 
> Assuming it works, of course, because this is compile-tested only. :)

Heh, Andy said it doesn't. :)

However, we could still merge the first two patches for 4.4 since they
have been tested.  I can even take them myself if I get Acked-by.  The
third one will have to wait for 4.5.

Thanks,

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web