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:	Tue, 19 Nov 2013 11:08:08 +0000
From:	Vineet Gupta <Vineet.Gupta1@...opsys.com>
To:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:	David Daney <david.daney@...ium.com>,
	Michal Marek <mmarek@...e.cz>,
	Francois Bedard <Francois.Bedard@...opsys.com>
Subject: Re: [PATCH] ARC: extable: Enable sorting at build time

Ping ? people OK if I take this via arc tree (after baking it in linux-next for
some time).

-Vineet

On 11/15/2013 12:15 PM, Vineet Gupta wrote:
> Avoids wasting cycles at boot specially on slower simulators
>
> Signed-off-by: Vineet Gupta <vgupta@...opsys.com>
> Cc: David Daney <david.daney@...ium.com>
> Cc: Michal Marek <mmarek@...e.cz>
> Cc: Francois Bedard <fbedard@...opsys.com>
> Cc: linux-kernel@...r.kernel.org
> ---
>  arch/arc/Kconfig      | 1 +
>  scripts/sortextable.c | 5 +++++
>  2 files changed, 6 insertions(+)
>
> diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
> index 91dbb2757afd..080580216301 100644
> --- a/arch/arc/Kconfig
> +++ b/arch/arc/Kconfig
> @@ -8,6 +8,7 @@
>  
>  config ARC
>  	def_bool y
> +	select BUILDTIME_EXTABLE_SORT
>  	select CLONE_BACKWARDS
>  	# ARC Busybox based initramfs absolutely relies on DEVTMPFS for /dev
>  	select DEVTMPFS if !INITRAMFS_SOURCE=""
> diff --git a/scripts/sortextable.c b/scripts/sortextable.c
> index 7c2310c5b996..e3fb1c36ed0f 100644
> --- a/scripts/sortextable.c
> +++ b/scripts/sortextable.c
> @@ -31,6 +31,10 @@
>  #include <tools/be_byteshift.h>
>  #include <tools/le_byteshift.h>
>  
> +#ifndef EM_ARCOMPACT
> +#define EM_ARCOMPACT	93
> +#endif
> +
>  #ifndef EM_AARCH64
>  #define EM_AARCH64	183
>  #endif
> @@ -244,6 +248,7 @@ do_file(char const *const fname)
>  	case EM_S390:
>  		custom_sort = sort_relative_table;
>  		break;
> +	case EM_ARCOMPACT:
>  	case EM_ARM:
>  	case EM_AARCH64:
>  	case EM_MIPS:

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