Lines Matching refs:shared

83 	VMA policies are shared between all tasks that share a virtual address
102 Shared Policy: Conceptually, shared policies apply to "memory objects"
103 mapped shared into one or more tasks' distinct address spaces. An
104 application installs a shared policies the same way as VMA policies--using
106 the shared object. However, unlike VMA policies, which can be considered
107 to be an attribute of a range of a task's address space, shared policies
108 apply directly to the shared object. Thus, all tasks that attach to the
109 object share the policy, and all pages allocated for the shared object,
110 by any task, will obey the shared policy.
112 As of 2.6.22, only shared memory segments, created by shmget() or
113 mmap(MAP_ANONYMOUS|MAP_SHARED), support shared policy. When shared
117 shmem segments were never "hooked up" to the shared policy support.
119 for shared policy has not been completed.
123 policy installed on the virtual address range backed by the shared
124 file mapping. Rather, shared page cache pages, including pages backing
128 The shared policy infrastructure supports different policies on subset
129 ranges of the shared object. However, Linux still splits the VMA of
131 Thus, different tasks that attach to a shared memory segment can have
132 different VMA configurations mapping that one shared object. This
134 a shared memory region, when one task has installed shared policy on
196 For allocation of anonymous pages and shared memory pages,
343 shared memory policy while another task, with a distinct mmap_sem, is
345 potential race, the shared policy infrastructure adds an extra reference
346 to the shared policy during lookup while holding a spin lock on the shared
349 extra reference on shared policies in the same query/allocation paths
350 used for non-shared policies. For this reason, shared policies are marked
352 for shared policies.
355 shared policies in a tree structure under spinlock, shared policies are
357 true for shared policies on shared memory regions shared by tasks running
359 falling back to task or system default policy for shared memory regions,
360 or by prefaulting the entire shared memory region into memory and locking
367 some shared object mapped into the calling task's address space.
424 + set the shared policy for a shared memory segment via mbind(2)
445 in two cpusets share access to a memory region, such as shared memory segments
447 any of the tasks install shared policy on the region, only nodes whose
451 be attaching to the shared region. Furthermore, if the cpusets' allowed