Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-24 Thread Will Deacon
On Tue, Oct 23, 2012 at 10:50:27PM +0100, Andrew Morton wrote: > On Tue, 23 Oct 2012 11:11:25 +0100 > Will Deacon wrote: > > This patch ("mm: thp: Set the accessed flag for old pages on access fault") > > doesn't depend on "ARM: mm: Transparent huge page support for LPAE systems" > > because curre

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-23 Thread Andrew Morton
On Tue, 23 Oct 2012 11:11:25 +0100 Will Deacon wrote: > On Mon, Oct 22, 2012 at 07:18:43PM +0100, Andrew Morton wrote: > > On Mon, 22 Oct 2012 11:35:03 +0100 > > Will Deacon wrote: > > > > > On Fri, Oct 19, 2012 at 07:49:55PM +0100, Andrew Morton wrote: > > > > Ho hum. I'll drop > > > > mm-thp

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-23 Thread Will Deacon
On Mon, Oct 22, 2012 at 07:18:43PM +0100, Andrew Morton wrote: > On Mon, 22 Oct 2012 11:35:03 +0100 > Will Deacon wrote: > > > On Fri, Oct 19, 2012 at 07:49:55PM +0100, Andrew Morton wrote: > > > Ho hum. I'll drop > > > mm-thp-set-the-accessed-flag-for-old-pages-on-access-fault.patch and > > > s

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-22 Thread Andrew Morton
On Mon, 22 Oct 2012 11:35:03 +0100 Will Deacon wrote: > On Fri, Oct 19, 2012 at 07:49:55PM +0100, Andrew Morton wrote: > > On Fri, 19 Oct 2012 10:10:16 +0100 > > Will Deacon wrote: > > > > > On Thu, Oct 18, 2012 at 11:05:02PM +0100, Andrew Morton wrote: > > > > On Wed, 17 Oct 2012 16:54:02 +010

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-22 Thread Will Deacon
On Fri, Oct 19, 2012 at 07:49:55PM +0100, Andrew Morton wrote: > On Fri, 19 Oct 2012 10:10:16 +0100 > Will Deacon wrote: > > > On Thu, Oct 18, 2012 at 11:05:02PM +0100, Andrew Morton wrote: > > > On Wed, 17 Oct 2012 16:54:02 +0100 > > > Will Deacon wrote: > > > > > > > On x86 memory accesses to

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-19 Thread Andrew Morton
On Fri, 19 Oct 2012 10:10:16 +0100 Will Deacon wrote: > On Thu, Oct 18, 2012 at 11:05:02PM +0100, Andrew Morton wrote: > > On Wed, 17 Oct 2012 16:54:02 +0100 > > Will Deacon wrote: > > > > > On x86 memory accesses to pages without the ACCESSED flag set result in > > > the > > > ACCESSED flag b

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-19 Thread Will Deacon
On Thu, Oct 18, 2012 at 11:05:02PM +0100, Andrew Morton wrote: > On Wed, 17 Oct 2012 16:54:02 +0100 > Will Deacon wrote: > > > On x86 memory accesses to pages without the ACCESSED flag set result in the > > ACCESSED flag being set automatically. With the ARM architecture a page > > access > > fa

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-18 Thread Andrew Morton
On Wed, 17 Oct 2012 16:54:02 +0100 Will Deacon wrote: > On x86 memory accesses to pages without the ACCESSED flag set result in the > ACCESSED flag being set automatically. With the ARM architecture a page access > fault is raised instead (and it will continue to be raised until the ACCESSED > fl

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-17 Thread Will Deacon
On Wed, Oct 17, 2012 at 04:26:20PM +0100, David Miller wrote: > From: Will Deacon > Date: Wed, 17 Oct 2012 14:01:25 +0100 > > > + update_mmu_cache(vma, address, pmd); > > This won't build, use update_mmu_cache_pmd(). Good catch. They're both empty macros on ARM, so the typechecker did

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-17 Thread David Miller
From: Will Deacon Date: Wed, 17 Oct 2012 14:01:25 +0100 > + update_mmu_cache(vma, address, pmd); This won't build, use update_mmu_cache_pmd(). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordo

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-17 Thread Will Deacon
Hi Andrew, On Tue, Oct 02, 2012 at 11:01:04PM +0100, Andrew Morton wrote: > On Tue, 2 Oct 2012 17:59:11 +0100 > Will Deacon wrote: > > > On x86 memory accesses to pages without the ACCESSED flag set result in the > > ACCESSED flag being set automatically. With the ARM architecture a page > > a

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-04 Thread Kirill A. Shutemov
On Tue, Oct 02, 2012 at 05:59:11PM +0100, Will Deacon wrote: > On x86 memory accesses to pages without the ACCESSED flag set result in the > ACCESSED flag being set automatically. With the ARM architecture a page access > fault is raised instead (and it will continue to be raised until the ACCESSED

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-03 Thread Will Deacon
On Tue, Oct 02, 2012 at 11:01:04PM +0100, Andrew Morton wrote: > On Tue, 2 Oct 2012 17:59:11 +0100 > Will Deacon wrote: > > > On x86 memory accesses to pages without the ACCESSED flag set result in the > > ACCESSED flag being set automatically. With the ARM architecture a page > > access > > fa

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-02 Thread Andrew Morton
On Tue, 2 Oct 2012 17:59:11 +0100 Will Deacon wrote: > On x86 memory accesses to pages without the ACCESSED flag set result in the > ACCESSED flag being set automatically. With the ARM architecture a page access > fault is raised instead (and it will continue to be raised until the ACCESSED > fl

Re: [PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-02 Thread Andrea Arcangeli
On Tue, Oct 02, 2012 at 05:59:11PM +0100, Will Deacon wrote: > On x86 memory accesses to pages without the ACCESSED flag set result in the > ACCESSED flag being set automatically. With the ARM architecture a page access > fault is raised instead (and it will continue to be raised until the ACCESSED

[PATCH v2] mm: thp: Set the accessed flag for old pages on access fault.

2012-10-02 Thread Will Deacon
On x86 memory accesses to pages without the ACCESSED flag set result in the ACCESSED flag being set automatically. With the ARM architecture a page access fault is raised instead (and it will continue to be raised until the ACCESSED flag is set for the appropriate PTE/PMD). For normal memory pages