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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 28 Mar 2013 21:10:30 +0530
From:	"Srivatsa S. Bhat" <srivatsa.bhat@...ux.vnet.ibm.com>
To:	Thomas Gleixner <tglx@...utronix.de>
CC:	LKML <linux-kernel@...r.kernel.org>, linux-arch@...r.kernel.org,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Rusty Russell <rusty@...tcorp.com.au>,
	Paul McKenney <paulmck@...ux.vnet.ibm.com>,
	Ingo Molnar <mingo@...e.hu>,
	Peter Zijlstra <peterz@...radead.org>,
	Magnus Damm <magnus.damm@...il.com>,
	Tony Luck <tony.luck@...el.com>
Subject: Re: [patch 17/34] ia64: Use generic idle loop

On 03/22/2013 03:23 AM, Thomas Gleixner wrote:
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Cc: Tony Luck <tony.luck@...el.com>
> ---
>  arch/ia64/Kconfig          |    1 
>  arch/ia64/kernel/perfmon.c |   13 ++-----
>  arch/ia64/kernel/process.c |   83 +++++++++------------------------------------
>  arch/ia64/kernel/smpboot.c |    2 -
>  4 files changed, 23 insertions(+), 76 deletions(-)
> 
[...]
> -void
> -update_pal_halt_status(int status)
> -{
> -	can_do_pal_halt = pal_halt && status;
> -}
> -
> -/*
> - * We use this if we don't have any better idle routine..
> - */
> -void
> -default_idle (void)
> -{
> -	local_irq_enable();
> -	while (!need_resched()) {
> -		if (can_do_pal_halt) {
> -			local_irq_disable();
> -			if (!need_resched()) {
> -				safe_halt();
> -			}
> -			local_irq_enable();
> -		} else
> -			cpu_relax();
> -	}
> -}
> -
 
We can also get rid of the function prototype declaration of default_idle()
inside arch/ia64/include/asm/processor.h

Regards,
Srivatsa S. Bhat

--
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