aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/slow-work.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/slow-work.txt')
-rw-r--r--Documentation/slow-work.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/Documentation/slow-work.txt b/Documentation/slow-work.txt
index c655c517fc68..2e384bd4dead 100644
--- a/Documentation/slow-work.txt
+++ b/Documentation/slow-work.txt
@@ -108,7 +108,17 @@ on the item, 0 otherwise.
108 108
109 109
110The items are reference counted, so there ought to be no need for a flush 110The items are reference counted, so there ought to be no need for a flush
111operation. When all a module's slow work items have been processed, and the 111operation. But as the reference counting is optional, means to cancel
112existing work items are also included:
113
114 cancel_slow_work(&myitem);
115
116can be used to cancel pending work. The above cancel function waits for
117existing work to have been executed (or prevent execution of them, depending
118on timing).
119
120
121When all a module's slow work items have been processed, and the
112module has no further interest in the facility, it should unregister its 122module has no further interest in the facility, it should unregister its
113interest: 123interest:
114 124