A new field has been added to the VPA as a method for
the client OS to communicate to firmware the number of
page ins it is performing when running collaborative
memory overcommit. The hypervisor will use this information
to better determine if a partition is experiencing memory
pressure and needs
> - if (ret & VM_FAULT_MAJOR)
> + if (ret & VM_FAULT_MAJOR) {
> current->maj_flt++;
> - else
> + preempt_disable();
> + get_lppaca()->page_ins++;
> + preempt_enable();
> + } else
That isn't going to work very well on 32-bit or non-
A new field has been added to the VPA as a method for
the client OS to communicate to firmware the number of
page ins it is performing when running collaborative
memory overcommit. The hypervisor will use this information
to better determine if a partition is experiencing memory
pressure and needs
Milton Miller wrote:
> X-Patchwork-Id: 5144
>> diff -puN arch/powerpc/mm/fault.c~powerpc_vrm_mm_pressure
>> arch/powerpc/mm/fault.c
>> --- linux-2.6/arch/powerpc/mm/fault.c~powerpc_vrm_mm_pressure
>> 2008-10-20 17:13:25.0 -0500
>> +++ linux-2.6-bjking1/arch/powerpc/mm/fault.c
X-Patchwork-Id: 5144
On Mon Oct 20, 2008 near 12:19:21 GMT, Brian King wrote:
>
> A new field has been added to the VPA as a method for
> the client OS to communicate to firmware the number of
> page ins it is performing when running collaborative
> memory overcommit. The hypervisor will use this
A new field has been added to the VPA as a method for
the client OS to communicate to firmware the number of
page ins it is performing when running collaborative
memory overcommit. The hypervisor will use this information
to better determine if a partition is experiencing memory
pressure and needs