lkml.org 
[lkml]   [2024]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 05/35] mm: introduce slabobj_ext to support slab object extensions
    On Mon, Feb 12, 2024 at 01:38:51PM -0800, Suren Baghdasaryan wrote:
    > Currently slab pages can store only vectors of obj_cgroup pointers in
    > page->memcg_data. Introduce slabobj_ext structure to allow more data
    > to be stored for each slab object. Wrap obj_cgroup into slabobj_ext
    > to support current functionality while allowing to extend slabobj_ext
    > in the future.
    >
    > Signed-off-by: Suren Baghdasaryan <surenb@google.com>

    It looks like this doesn't change which buckets GFP_KERNEL_ACCOUNT comes
    out of, is that correct? I'd love it if we didn't have separate buckets
    so GFP_KERNEL and GFP_KERNEL_ACCOUNT came from the same pools (so that
    the randomized pools would cover GFP_KERNEL_ACCOUNT ...)

    Regardless:

    Reviewed-by: Kees Cook <keescook@chromium.org>

    --
    Kees Cook

    \
     
     \ /
      Last update: 2024-05-27 14:59    [W:5.059 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site