Skip to content

New interface for memory accounting (take 1)

Hideo AOKI netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4: introducing new memory accounting interfaceinclude/net/sock.h net/core/sock.c net/core/stream.c+152 -1220 replies
2/4: adding memory accounting pointsinclude/net/sock.h net/core/datagram.c net/core/sock.c +1 more+12 -22 replies
3/4: using new interfaceinclude/net/tcp.h net/ipv4/tcp.c net/ipv4/tcp_input.c +2 more+47 -400 replies
4/4: using new interfaceinclude/net/sctp/sctp.h net/sctp/protocol.c net/sctp/sm_statefuns.c +3 more+11 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] New interface for memory accounting (take 1)

Hello,

This patch set introduces new memory accounting interface. Current interface is written for stream protocols only. To enable memory accounting in other protocols (e.g. UDP), I enhanced the interface and updated TCP and SCTP memory accounting.

The patch set consists of the following 4 patches.

[1/4] introducing new memory accounting interface [2/4] adding memory accounting points to consolidate functions [3/4] updating TCP to use new interface
[4/4] updating SCTP to use new interface

The patch set was tested on net-2.6.25 tree.

Best regards,
Hideo Aoki

--
Hitachi Computer Products (America) Inc.