Function report |
Source Code:kernel\torture.c |
Create Date:2022-07-28 13:49:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Register a task to be shuffled. If there is no memory, just splat* and don't bother registering.
Proto:void torture_shuffle_task_register(struct task_struct *tp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tp |
| 343 | If WARN_ON_ONCE(tp == NULL) Then Return |
| 345 | stp = Allocation memory |
| 346 | If WARN_ON_ONCE(stp == NULL) Then Return |
| 349 | mutex_lock( & shuffle_task_mutex) |
| Name | Describe |
|---|---|
| _torture_create_kthread | Create a generic torture kthread that is immediately runnable. If you* need the kthread to be stopped so that you can do something to it before* it starts, you will need to open-code your own. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |