Re: [PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-04-01 Thread Madhavan Srinivasan
On Tuesday 25 March 2014 11:20 PM, Dave Hansen wrote: > On 03/25/2014 10:36 AM, Kirill A. Shutemov wrote: +/* + * Fault around order is a control knob to decide the fault around pages. + * Default value is set to 0UL (disabled), but the arch can override it as + * desired.

Re: [PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-04-01 Thread Madhavan Srinivasan
On Tuesday 25 March 2014 11:20 PM, Dave Hansen wrote: On 03/25/2014 10:36 AM, Kirill A. Shutemov wrote: +/* + * Fault around order is a control knob to decide the fault around pages. + * Default value is set to 0UL (disabled), but the arch can override it as + * desired. + */ +#ifndef

Re: [PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-03-27 Thread Madhavan Srinivasan
On Tuesday 25 March 2014 11:06 PM, Kirill A. Shutemov wrote: > On Tue, Mar 25, 2014 at 12:20:15PM +0530, Madhavan Srinivasan wrote: >> Kirill A. Shutemov with the commit 96bacfe542 introduced >> vm_ops->map_pages() for mapping easy accessible pages around >> fault address in hope to reduce number

Re: [PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-03-27 Thread Madhavan Srinivasan
On Tuesday 25 March 2014 11:06 PM, Kirill A. Shutemov wrote: On Tue, Mar 25, 2014 at 12:20:15PM +0530, Madhavan Srinivasan wrote: Kirill A. Shutemov with the commit 96bacfe542 introduced vm_ops-map_pages() for mapping easy accessible pages around fault address in hope to reduce number of minor

Re: [PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-03-25 Thread Dave Hansen
On 03/25/2014 10:36 AM, Kirill A. Shutemov wrote: >> > +/* >> > + * Fault around order is a control knob to decide the fault around pages. >> > + * Default value is set to 0UL (disabled), but the arch can override it as >> > + * desired. >> > + */ >> > +#ifndef FAULT_AROUND_ORDER >> > +#define

Re: [PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-03-25 Thread Kirill A. Shutemov
On Tue, Mar 25, 2014 at 12:20:15PM +0530, Madhavan Srinivasan wrote: > Kirill A. Shutemov with the commit 96bacfe542 introduced > vm_ops->map_pages() for mapping easy accessible pages around > fault address in hope to reduce number of minor page faults. > Based on his workload runs, suggested

[PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-03-25 Thread Madhavan Srinivasan
Kirill A. Shutemov with the commit 96bacfe542 introduced vm_ops->map_pages() for mapping easy accessible pages around fault address in hope to reduce number of minor page faults. Based on his workload runs, suggested FAULT_AROUND_ORDER (knob to control the numbers of pages to map) is 4. This

[PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-03-25 Thread Madhavan Srinivasan
Kirill A. Shutemov with the commit 96bacfe542 introduced vm_ops-map_pages() for mapping easy accessible pages around fault address in hope to reduce number of minor page faults. Based on his workload runs, suggested FAULT_AROUND_ORDER (knob to control the numbers of pages to map) is 4. This patch

Re: [PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-03-25 Thread Kirill A. Shutemov
On Tue, Mar 25, 2014 at 12:20:15PM +0530, Madhavan Srinivasan wrote: Kirill A. Shutemov with the commit 96bacfe542 introduced vm_ops-map_pages() for mapping easy accessible pages around fault address in hope to reduce number of minor page faults. Based on his workload runs, suggested

Re: [PATCH 1/1] mm: move FAULT_AROUND_ORDER to arch/

2014-03-25 Thread Dave Hansen
On 03/25/2014 10:36 AM, Kirill A. Shutemov wrote: +/* + * Fault around order is a control knob to decide the fault around pages. + * Default value is set to 0UL (disabled), but the arch can override it as + * desired. + */ +#ifndef FAULT_AROUND_ORDER +#define FAULT_AROUND_ORDER