]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Merge branch 'ebpf_maps'
authorDavid S. Miller <davem@davemloft.net>
Tue, 18 Nov 2014 18:44:06 +0000 (13:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Nov 2014 18:44:06 +0000 (13:44 -0500)
commit9a9f9dd7c4653daf3f183f35c9a44d97ce9a91f1
treec5694485117f718c42b0363d2c09c4c746bfe376
parent1bbf148ddcbafca986c0a7e66fbd518725342d0a
parent7943c0f329d33f531607d66f5781f2210e1e278c
Merge branch 'ebpf_maps'

Alexei Starovoitov says:

====================
implementation of eBPF maps

v1->v2:
renamed flags for MAP_UPDATE_ELEM command to be more concise,
clarified commit logs and improved comments in patches 1,3,7
per discussions with Daniel

Old v1 cover:

this set of patches adds implementation of HASH and ARRAY types of eBPF maps
which were described in manpage in commit b4fc1a460f30("Merge branch 'bpf-next'")

The difference vs previous version of these patches from August:
- added 'flags' attribute to BPF_MAP_UPDATE_ELEM
- in HASH type implementation removed per-map kmem_cache.
  I was doing kmem_cache_create() for every map to enable selective slub
  debugging to check for overflows and leaks. Now it's not needed, so just
  use normal kmalloc() for map elements.
- added ARRAY type which was mentioned in manpage, but wasn't public yet
- added map testsuite and removed temporary bits from test_stubs

Note, eBPF programs cannot be attached to events yet.
It will come in the next set.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>