1. 22 Jul, 2022 1 commit
    • Kumar Kartikeya Dwivedi's avatar
      bpf: Introduce 8-byte BTF set · ab21d606
      Kumar Kartikeya Dwivedi authored
      Introduce support for defining flags for kfuncs using a new set of
      macros, BTF_SET8_START/BTF_SET8_END, which define a set which contains
      8 byte elements (each of which consists of a pair of BTF ID and flags),
      using a new BTF_ID_FLAGS macro.
      
      This will be used to tag kfuncs registered for a certain program type
      as acquire, release, sleepable, ret_null, etc. without having to create
      more and more sets which was proving to be an unscalable solution.
      
      Now, when looking up whether a kfunc is allowed for a certain program,
      we can also obtain its kfunc flags in the same call and avoid further
      lookups.
      
      The resolve_btfids change is split into a separate patch.
      Signed-off-by: default avatarKumar Kartikeya Dwivedi <memxor@gmail.com>
      Link: https://lore.kernel.org/r/20220721134245.2450-2-memxor@gmail.comSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
      ab21d606
  2. 21 Jul, 2022 5 commits
  3. 20 Jul, 2022 1 commit
  4. 19 Jul, 2022 21 commits
  5. 15 Jul, 2022 8 commits
  6. 14 Jul, 2022 4 commits