All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

  • Laura Abbott's avatar
    mm/page_poisoning.c: allow for zero poisoning · 1414c7f4
    Laura Abbott authored
    By default, page poisoning uses a poison value (0xaa) on free.  If this
    is changed to 0, the page is not only sanitized but zeroing on alloc
    with __GFP_ZERO can be skipped as well.  The tradeoff is that detecting
    corruption from the poisoning is harder to detect.  This feature also
    cannot be used with hibernation since pages are not guaranteed to be
    zeroed after hibernation.
    Credit to Grsecurity/PaX team for inspiring this work
    Signed-off-by: default avatarLaura Abbott <>
    Acked-by: default avatarRafael J. Wysocki <>
    Cc: "Kirill A. Shutemov" <>
    Cc: Vlastimil Babka <>
    Cc: Michal Hocko <>
    Cc: Kees Cook <>
    Cc: Mathias Krause <>
    Cc: Dave Hansen <>
    Cc: Jianyu Zhan <>
    Signed-off-by: default avatarAndrew Morton <>
    Signed-off-by: default avatarLinus Torvalds <>
poison.h 2.56 KB