Re: [PATCH v3 0/8] Unify <linux/export.h> and <asm/export.h>, remove EXPORT_DATA_SYMBOL(), faster TRIM_UNUSED_KSYMS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: linux-kbuild@xxxxxxxxxxxxxxx
- Subject: Re: [PATCH v3 0/8] Unify <linux/export.h> and <asm/export.h>, remove EXPORT_DATA_SYMBOL(), faster TRIM_UNUSED_KSYMS
- From: Masahiro Yamada <masahiroy@xxxxxxxxxx>
- Date: Thu, 29 Sep 2022 06:04:09 +0900
- Cc: linux-arch@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, Al Viro <viro@xxxxxxxxxxxxxxxxxx>, Ard Biesheuvel <ardb@xxxxxxxxxx>, Nicolas Pitre <npitre@xxxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Luis Chamberlain <mcgrof@xxxxxxxxxx>, Michal Marek <michal.lkml@xxxxxxxxxxx>, Nathan Chancellor <nathan@xxxxxxxxxx>, Nick Desaulniers <ndesaulniers@xxxxxxxxxx>, Tom Rix <trix@xxxxxxxxxx>, linux-modules@xxxxxxxxxxxxxxx, llvm@xxxxxxxxxxxxxxx
- In-reply-to: <20220928063947.299333-1-masahiroy@kernel.org>
- References: <20220928063947.299333-1-masahiroy@kernel.org>
On Wed, Sep 28, 2022 at 3:41 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
>
> This patch set refactors EXPORT_SYMBOL, <linux/export.h> and <asm/export.h>.
> Also, re-implement TRIM_UNUSED_KSYMS in one-pass.
>
> You can still put EXPORT_SYMBOL() in *.S file, very close to the definition,
> but you do not need to care about whether it is a function or a data.
> Remove EXPORT_DATA_SYMBOL().
>
> In v1, I broke ia64 because of missing distinction between functions and data.
>
> V2 handles it correctly.
> If the exported symbols is a function, KSYMTAB_FUNC is output.
> Otherwise, KSYMTAB_DATA is output.
>
I noticed this patch set is broken in multiple ways.
No test is needed.
(0day may send various reports, but please ignore them)
I will fix the code when I have time.
Best Regards
Masahiro Yamada
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]