History

kthread: rename probe_kthread_data() to kthread_probe_data()

Patch series "kthread: Kthread worker API improvements" The intention of this patchset is to make it easier to manipulate and maintain kthreads. Especially, I want to replace all the custom main cycles with a generic one. Also I want to make the kthreads sleep in a consistent state in a common place when there is no work. This patch (of 11): A good practice is to prefix the names of functions by the name of the subsystem. This patch fixes the name of probe_kthread_data(). The other wrong functions names are part of the kthread worker API and will be fixed separately.

Petr Mladek committed 10 years ago

Commit e7005911 parent d0c75f33 files · +4 −4Browse files

Showing the changes to kernel/workqueue.c (1 of 3 files). Show all

Unified · Split

kernel/workqueue.c+1−1
@@ -4261,7 +4261,7 @@ void print_worker_info(const char *log_lvl, struct task_struct *task) · 4260 unmodified lines
4261 * This function is called without any synchronization and @task4261 * This function is called without any synchronization and @task
4262 * could be in any state. Be careful with dereferences.4262 * could be in any state. Be careful with dereferences.
4263 */4263 */
4264 worker = probe_kthread_data(task);4264 worker = kthread_probe_data(task);
4265 4265
4266 /*4266 /*
4267 * Carefully copy the associated workqueue's workfn and name. Keep4267 * Carefully copy the associated workqueue's workfn and name. Keep

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t