[PATCH bpf-next 0/2] s390/bpf: Describe the frame using a struct instead of constants

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

 



Hi,

This series contains two small refactorings without functional changes.

The first one removes the code duplication around calculating the
distance from %r15 to the stack frame.

The second one simplifies how offsets to various values stored inside
the frame are calculated.

Best regards,
Ilya

Ilya Leoshkevich (2):
  s390/bpf: Centralize frame offset calculations
  s390/bpf: Describe the frame using a struct instead of constants

 arch/s390/net/bpf_jit.h      |  55 -----------------
 arch/s390/net/bpf_jit_comp.c | 113 +++++++++++++++++++++--------------
 2 files changed, 67 insertions(+), 101 deletions(-)
 delete mode 100644 arch/s390/net/bpf_jit.h

-- 
2.49.0





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux