lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQU7h4oXmJOPHVTvat7epujeAWodZWMZU5MAJs0TNkLeLg@mail.gmail.com>
Date:	Fri, 8 Jun 2012 15:36:57 -0700
From:	Yinghai Lu <yinghai@...nel.org>
To:	Alexander Gordeev <agordeev@...hat.com>
Cc:	Suresh Siddha <suresh.b.siddha@...el.com>,
	Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
	x86@...nel.org
Subject: Re: [PATCH] x86/apic: Eliminate cpu_mask_to_apicid() operation

On Fri, Jun 8, 2012 at 9:53 AM, Alexander Gordeev <agordeev@...hat.com> wrote:
> Since there are only two locations where cpu_mask_to_apicid() is called
> from, remove the operation and use only cpu_mask_to_apicid_and() instead.
>
> Signed-off-by: Alexander Gordeev <agordeev@...hat.com>
> ---
>  arch/x86/include/asm/apic.h           |   33 ++++++++-------------------------
>  arch/x86/kernel/apic/apic.c           |   24 ++++++------------------
>  arch/x86/kernel/apic/apic_flat_64.c   |    2 --
>  arch/x86/kernel/apic/apic_noop.c      |    1 -
>  arch/x86/kernel/apic/apic_numachip.c  |    1 -
>  arch/x86/kernel/apic/bigsmp_32.c      |    1 -
>  arch/x86/kernel/apic/es7000_32.c      |    4 +---
>  arch/x86/kernel/apic/io_apic.c        |    3 ++-
>  arch/x86/kernel/apic/numaq_32.c       |    8 --------
>  arch/x86/kernel/apic/probe_32.c       |    1 -
>  arch/x86/kernel/apic/summit_32.c      |    3 +--
>  arch/x86/kernel/apic/x2apic_cluster.c |   17 -----------------
>  arch/x86/kernel/apic/x2apic_phys.c    |    1 -
>  arch/x86/kernel/apic/x2apic_uv_x.c    |   29 ++++++-----------------------
>  arch/x86/platform/uv/uv_irq.c         |    2 +-
>  15 files changed, 25 insertions(+), 105 deletions(-)

good, kill 80 lines.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ