mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
docs/process: fix typos
Fix typos in documentation. Signed-off-by: Andrew Kreimer <algonell@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20240907122534.15998-1-algonell@gmail.com>
This commit is contained in:
parent
406c4c5ee4
commit
c5d436f05a
@ -986,7 +986,7 @@ that can go into these 5 milliseconds.
|
|||||||
|
|
||||||
A reasonable rule of thumb is to not put inline at functions that have more
|
A reasonable rule of thumb is to not put inline at functions that have more
|
||||||
than 3 lines of code in them. An exception to this rule are the cases where
|
than 3 lines of code in them. An exception to this rule are the cases where
|
||||||
a parameter is known to be a compiletime constant, and as a result of this
|
a parameter is known to be a compile time constant, and as a result of this
|
||||||
constantness you *know* the compiler will be able to optimize most of your
|
constantness you *know* the compiler will be able to optimize most of your
|
||||||
function away at compile time. For a good example of this later case, see
|
function away at compile time. For a good example of this later case, see
|
||||||
the kmalloc() inline function.
|
the kmalloc() inline function.
|
||||||
|
@ -154,7 +154,7 @@ Examples for illustration:
|
|||||||
|
|
||||||
We modify the hot cpu handling to cancel the delayed work on the dying
|
We modify the hot cpu handling to cancel the delayed work on the dying
|
||||||
cpu and run the worker immediately on a different cpu in same domain. We
|
cpu and run the worker immediately on a different cpu in same domain. We
|
||||||
donot flush the worker because the MBM overflow worker reschedules the
|
do not flush the worker because the MBM overflow worker reschedules the
|
||||||
worker on same CPU and scans the domain->cpu_mask to get the domain
|
worker on same CPU and scans the domain->cpu_mask to get the domain
|
||||||
pointer.
|
pointer.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user