Re: [PATCH 2/2] init/modpost: conditionally check section mismatch to __meminit*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 7, 2024 at 9:01 AM Wei Yang <richard.weiyang@xxxxxxxxx> wrote:
>
> On Sun, Jul 07, 2024 at 01:05:06AM +0900, Masahiro Yamada wrote:
> >This reverts commit eb8f689046b8 ("Use separate sections for __dev/
> >_cpu/__mem code/data").
> >
> >Check section mismatch to __meminit* only when CONFIG_MEMORY_HOTPLUG=y.
> >
> >With this change, the linker script and modpost become simpler, and we
> >can get rid of the __ref annotations from the memory hotplug code.
> >
>
> Oh, totally get rid of .meminit.*. Looks nice.
> Maybe we can plan a __ref cleanup after this on is merged?



Yes. We can remove __ref.


All __ref annotations in mm/memory_hotplug.c will become
redundant.


-- 
Best Regards
Masahiro Yamada





[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux