Re: [PATCH v2 0/6] generic relative extable support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, linux-alpha@xxxxxxxxxxxxxxx, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, "linux-arm-kernel@xxxxxxxxxxxxxxxxxxx" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, "linux-ia64@xxxxxxxxxxxxxxx" <linux-ia64@xxxxxxxxxxxxxxx>, linux-s390@xxxxxxxxxxxxxxx, "x86@xxxxxxxxxx" <x86@xxxxxxxxxx>, "hpa@xxxxxxxxx" <hpa@xxxxxxxxx>, "mingo@xxxxxxxxxx" <mingo@xxxxxxxxxx>, Heiko Carstens <heiko.carstens@xxxxxxxxxx>, schwidefsky@xxxxxxxxxx, Matt Turner <mattst88@xxxxxxxxx>, ink@xxxxxxxxxxxxxxxxxxxx, Richard Henderson <rth@xxxxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, "Yu, Fenghua" <fenghua.yu@xxxxxxxxx>, Catalin Marinas <catalin.marinas@xxxxxxx>, Will Deacon <will.deacon@xxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>
- Subject: Re: [PATCH v2 0/6] generic relative extable support
- From: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
- Date: Mon, 11 Jan 2016 14:59:46 +0100
- Cc: Helge Deller <deller@xxxxxx>, Mark Rutland <mark.rutland@xxxxxxx>, Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
- In-reply-to: <1452007180-27411-1-git-send-email-ard.biesheuvel@linaro.org>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1452007180-27411-1-git-send-email-ard.biesheuvel@linaro.org>
On 5 January 2016 at 16:19, Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> wrote:
> There are currently four architectures (x86, ia64, alpha and s390) whose
> user-access exception tables are relative to the table entry address rather
> than absolute. Each of these architectures has its own search_extable() and
> sort_extable() implementation, which are not only mostly identical to each
> other, but also deviate very little from the generic absolute implementations
> in lib/extable.c that they override.
>
> So before making arm64 the fifth architecture that reimplements this, let's
> refactor the existing code so that all of these architectures use common code
> for searching and sorting the relative extables. Archs may set
> ARCH_HAS_RELATIVE_EXTABLE to indicate that the table consists of a pair of
> relative ints, and may define swap_ex_entry_fixup() if the fixup member needs
> special treatment in the swapping step of the sorting routine (such as alpha).
>
[...]
Now that I have collected acks for all the patches, I think this is
good to go in.
@Andrew: since this touches 5 different architectures, is this perhaps
something that could go in via your tree after -rc1?
(assuming that the s390 bugfix has been merged by then)
Thanks,
Ard.
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]