summaryrefslogtreecommitdiffstats
path: root/fs/fscache
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-02-03 23:25:46 -0500
committerSteven Rostedt <rostedt@goodmis.org>2011-02-07 20:56:20 -0500
commit75b8e98263fdb0bfbdeba60d4db463259f1fe8a2 (patch)
treefdd1e66316b049523c76e34c816a812598d07a3c /fs/fscache
parentbf93f9ed3a2cb89eb7e58851139d3be375b98027 (diff)
downloadlinux-stable-75b8e98263fdb0bfbdeba60d4db463259f1fe8a2.tar.gz
linux-stable-75b8e98263fdb0bfbdeba60d4db463259f1fe8a2.tar.bz2
linux-stable-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/fscache')
0 files changed, 0 insertions, 0 deletions