mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 22:36:17 +01:00
mm/mempolicy: fix comments for better documentation
Fix typo in mempolicy.h and Correct the number of allowed memory policy Link: https://lkml.kernel.org/r/20240926183516.4034-2-tanyaagarwal25699@gmail.com Signed-off-by: Tanya Agarwal <tanyaagarwal25699@gmail.com> Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Cc: Anup Sharma <anupnewsmail@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
bbc251f30e
commit
1cd1a4e71b
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ struct mempolicy {
|
|||
atomic_t refcnt;
|
||||
unsigned short mode; /* See MPOL_* above */
|
||||
unsigned short flags; /* See set_mempolicy() MPOL_F_* above */
|
||||
nodemask_t nodes; /* interleave/bind/perfer */
|
||||
nodemask_t nodes; /* interleave/bind/preferred/etc */
|
||||
int home_node; /* Home node to use for MPOL_BIND and MPOL_PREFERRED_MANY */
|
||||
|
||||
union {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* NUMA policy allows the user to give hints in which node(s) memory should
|
||||
* be allocated.
|
||||
*
|
||||
* Support four policies per VMA and per process:
|
||||
* Support six policies per VMA and per process:
|
||||
*
|
||||
* The VMA policy has priority over the process policy for a page fault.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue