Re: [RFC 2/8] Don't allow volatile attribute on THP and KSM

2013-01-03 Thread Minchan Kim
On Thu, Jan 03, 2013 at 08:27:31AM -0800, Dave Hansen wrote: > On 01/02/2013 08:28 PM, Minchan Kim wrote: > > VOLATILE imply the the pages in the range isn't working set any more > > so it's pointless that make them to THP/KSM. > > One of the points of this implementation is that it be able to

Re: [RFC 2/8] Don't allow volatile attribute on THP and KSM

2013-01-03 Thread Dave Hansen
On 01/02/2013 08:28 PM, Minchan Kim wrote: > VOLATILE imply the the pages in the range isn't working set any more > so it's pointless that make them to THP/KSM. One of the points of this implementation is that it be able to preserve memory contents when there is no pressure. If those contents

Re: [RFC 2/8] Don't allow volatile attribute on THP and KSM

2013-01-03 Thread Dave Hansen
On 01/02/2013 08:28 PM, Minchan Kim wrote: VOLATILE imply the the pages in the range isn't working set any more so it's pointless that make them to THP/KSM. One of the points of this implementation is that it be able to preserve memory contents when there is no pressure. If those contents

Re: [RFC 2/8] Don't allow volatile attribute on THP and KSM

2013-01-03 Thread Minchan Kim
On Thu, Jan 03, 2013 at 08:27:31AM -0800, Dave Hansen wrote: On 01/02/2013 08:28 PM, Minchan Kim wrote: VOLATILE imply the the pages in the range isn't working set any more so it's pointless that make them to THP/KSM. One of the points of this implementation is that it be able to preserve

[RFC 2/8] Don't allow volatile attribute on THP and KSM

2013-01-02 Thread Minchan Kim
VOLATILE imply the the pages in the range isn't working set any more so it's pointless that make them to THP/KSM. Cc: Rik van Riel Cc: Hugh Dickins Cc: Andrea Arcangeli Signed-off-by: Minchan Kim --- mm/huge_memory.c |9 +++-- mm/ksm.c |3 ++- 2 files changed, 9

[RFC 2/8] Don't allow volatile attribute on THP and KSM

2013-01-02 Thread Minchan Kim
VOLATILE imply the the pages in the range isn't working set any more so it's pointless that make them to THP/KSM. Cc: Rik van Riel r...@redhat.com Cc: Hugh Dickins hu...@google.com Cc: Andrea Arcangeli aarca...@redhat.com Signed-off-by: Minchan Kim minc...@kernel.org --- mm/huge_memory.c |9