mirror of
https://github.com/0xAX/linux-insides.git
synced 2025-01-03 04:10:56 +00:00
Fix typos.
Signed-off-by: Jingyu Wang <jingyuwang_vip@163.com>
This commit is contained in:
parent
78d85d2d37
commit
90f3cf49fa
@ -340,7 +340,7 @@ The first is for case when scheduling of task groups is enabled with `completely
|
|||||||
* scheduler entity structure;
|
* scheduler entity structure;
|
||||||
* `runqueue`.
|
* `runqueue`.
|
||||||
|
|
||||||
After we have calculated size, we allocate a space with the `kzalloc` function and set pointers of `sched_entity` and `runquques` there:
|
After we have calculated size, we allocate a space with the `kzalloc` function and set pointers of `sched_entity` and `runqueues` there:
|
||||||
|
|
||||||
```C
|
```C
|
||||||
ptr = (unsigned long)kzalloc(alloc_size, GFP_NOWAIT);
|
ptr = (unsigned long)kzalloc(alloc_size, GFP_NOWAIT);
|
||||||
|
Loading…
Reference in New Issue
Block a user