A kernel with patches based on anthraxx's hardened Linux repository. Assume none of the branches have stable history, only tags are stable. Expect everything to be highly broken.

  • Thibaut Sautereau's avatar
    mm: Fix extra_latent_entropy · bcea61f1
    Thibaut Sautereau authored
    Commit a9cd410a ("mm/page_alloc.c: memory hotplug: free pages as
    higher order") changed `static void __init __free_pages_boot_core()`
    into `void __free_pages_core()`, causing the following section mismatch
    warning at compile time:
    
        WARNING: vmlinux.o(.text+0x180fe4): Section mismatch in reference from the function __free_pages_core() to the variable .meminit.data:extra_latent_entropy
        The function __free_pages_core() references the variable __meminitdata extra_latent_entropy.
        This is often because __free_pages_core lacks a __meminitdata annotation or the annotation of extra_latent_entropy is wrong.
    
    This commit is an attempt at fixing this issue. I'm not sure it's OK as
    we are accessing pages that are still managed by the bootmem allocator.
    The prefetching part is not an issue as it only affects struct pages.
    Signed-off-by: Thibaut Sautereau's avatarThibaut Sautereau <thibaut.sautereau@ssi.gouv.fr>
    bcea61f1
Name
Last commit
Last update
Documentation Loading commit data...
LICENSES Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.clang-format Loading commit data...
.cocciconfig Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...