uprobes: Change filter_chain() to iterate ->consumers list
authorOleg Nesterov <oleg@redhat.com>
Sat, 24 Nov 2012 17:15:46 +0000 (18:15 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 8 Feb 2013 16:47:05 +0000 (17:47 +0100)
commit1ff6fee5e62c57d5923b805bb4206acb7953f16e
tree1b573238a506824e34d19b7ae5cba604d00f7b5c
parente591c8d78e49e6206935cf31c4d2b603bbb29166
uprobes: Change filter_chain() to iterate ->consumers list

Now that it safe to use ->consumer_rwsem under ->mmap_sem we can
almost finish the implementation of filter_chain(). It still lacks
the actual uc->filter(...) call but othewrwise it is ready, just
it pretends that ->filter() always returns true.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c