diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-02-04 05:25:46 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-02-08 02:56:20 +0100 |
commit | 75b8e98263fdb0bfbdeba60d4db463259f1fe8a2 (patch) | |
tree | fdd1e66316b049523c76e34c816a812598d07a3c /fs/statfs.c | |
parent | tracing/filter: Increase the max preds to 2^14 (diff) | |
download | linux-75b8e98263fdb0bfbdeba60d4db463259f1fe8a2.tar.xz linux-75b8e98263fdb0bfbdeba60d4db463259f1fe8a2.zip |
tracing/filter: Swap entire filter of events
When creating a new filter, instead of allocating the filter to the
event call first and then processing the filter, it is easier to
process a temporary filter and then just swap it with the call filter.
By doing this, it simplifies the code.
A filter is allocated and processed, when it is done, it is
swapped with the call filter, synchronize_sched() is called to make
sure all callers are done with the old filter (filters are called
with premption disabled), and then the old filter is freed.
Cc: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'fs/statfs.c')
0 files changed, 0 insertions, 0 deletions