X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Documentation%2Fvm%2Fnuma_memory_policy.txt;h=6690fc34ef6d87ea1d5eee3a162515549b4dfbe9;hb=a33f32244d8550da8b4a26e277ce07d5c6d158b5;hp=be45dbb9d7f23ef17c472ef981f4a42512480229;hpb=6c9468e9eb1252eaefd94ce7f06e1be9b0b641b1;p=mirror_ubuntu-artful-kernel.git diff --git a/Documentation/vm/numa_memory_policy.txt b/Documentation/vm/numa_memory_policy.txt index be45dbb9d7f2..6690fc34ef6d 100644 --- a/Documentation/vm/numa_memory_policy.txt +++ b/Documentation/vm/numa_memory_policy.txt @@ -45,7 +45,7 @@ most general to most specific: to establish the task policy for a child task exec()'d from an executable image that has no awareness of memory policy. See the MEMORY POLICY APIS section, below, for an overview of the system call - that a task may use to set/change it's task/process policy. + that a task may use to set/change its task/process policy. In a multi-threaded task, task policies apply only to the thread [Linux kernel task] that installs the policy and any threads @@ -301,7 +301,7 @@ decrement this reference count, respectively. mpol_put() will only free the structure back to the mempolicy kmem cache when the reference count goes to zero. -When a new memory policy is allocated, it's reference count is initialized +When a new memory policy is allocated, its reference count is initialized to '1', representing the reference held by the task that is installing the new policy. When a pointer to a memory policy structure is stored in another structure, another reference is added, as the task's reference will be dropped