6,534
edits
Changes
m
spelling →Example
</pre>
However, we have a good upper estimation of the RSS size — that is the lengths of mappings of the processes. Since the physical pages can only be allocated within these mappings, the RSS value can never exceed the sum of their lenghslengths. The accounting will then look like this:
<pre>
struct vm_area_struct *get_new_mapping(struct mm_struct *mm,