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


Groups > linux.kernel > #1719994

Re: [patch 39/41] x86/idt: Simplify alloc_intr_gate

From Juergen Gross <jgross@suse.com>
Newsgroups linux.kernel
Subject Re: [patch 39/41] x86/idt: Simplify alloc_intr_gate
Date 2017-08-25 13:20 +0200
Message-ID <uikOB-3kP-9@gated-at.bofh.it> (permalink)
References <uikvf-2YQ-3@gated-at.bofh.it> <uikvi-2YQ-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 25/08/17 12:31, Thomas Gleixner wrote:
> The only users of alloc_intr_gate() are hypervisors, which both check the
> used_vectors bitmap whether they have allocated the gate already. Move that
> check into alloc_intr_gate() and simplify the users.
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: "K. Y. Srinivasan" <kys@microsoft.com>
> Cc: Stephen Hemminger <sthemmin@microsoft.com>
> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Cc: Juergen Gross <jgross@suse.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

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


Thread

[patch 39/41] x86/idt: Simplify alloc_intr_gate Thomas Gleixner <tglx@linutronix.de> - 2017-08-25 13:00 +0200
  Re: [patch 39/41] x86/idt: Simplify alloc_intr_gate Juergen Gross <jgross@suse.com> - 2017-08-25 13:20 +0200

csiph-web