mbox series

[v2,0/3] mm: huge pages: Misc fixes for issues found during fuzzing

Message ID 1497349722-6731-1-git-send-email-will.deacon@arm.com
Headers show
Series mm: huge pages: Misc fixes for issues found during fuzzing | expand

Message

Will Deacon June 13, 2017, 10:28 a.m. UTC
Hi all,

This is v2 of the patches previously posted here:

   http://www.spinics.net/lists/linux-mm/msg128577.html

Changes since v1 include:

  * Use smp_mb() instead of smp_mb__before_atomic() before atomic_set()
  * Added acks and fixes tag

Feedback welcome,

Will

--->8

Mark Rutland (1):
  mm: numa: avoid waiting on freed migrated pages

Will Deacon (2):
  mm/page_ref: Ensure page_ref_unfreeze is ordered against prior
    accesses
  mm: migrate: Stabilise page count when migrating transparent hugepages

 include/linux/page_ref.h |  1 +
 mm/huge_memory.c         |  8 +++++++-
 mm/migrate.c             | 15 ++-------------
 3 files changed, 10 insertions(+), 14 deletions(-)

-- 
2.1.4

Comments

Andrew Morton June 15, 2017, 8:32 p.m. UTC | #1
On Tue, 13 Jun 2017 11:28:39 +0100 Will Deacon <will.deacon@arm.com> wrote:

> This is v2 of the patches previously posted here:

> 

>    http://www.spinics.net/lists/linux-mm/msg128577.html

> 

> Changes since v1 include:

> 

>   * Use smp_mb() instead of smp_mb__before_atomic() before atomic_set()

>   * Added acks and fixes tag

> 

> Feedback welcome,

> 

> Will

> 

> --->8

> 

> Mark Rutland (1):

>   mm: numa: avoid waiting on freed migrated pages

> 

> Will Deacon (2):

>   mm/page_ref: Ensure page_ref_unfreeze is ordered against prior

>     accesses

>   mm: migrate: Stabilise page count when migrating transparent hugepages


I marked [1/3] for -stable backporting and held the other two for
4.13-rc1.  Maybe that wasn't appropriate...
Will Deacon June 19, 2017, 9:35 a.m. UTC | #2
On Thu, Jun 15, 2017 at 01:32:52PM -0700, Andrew Morton wrote:
> On Tue, 13 Jun 2017 11:28:39 +0100 Will Deacon <will.deacon@arm.com> wrote:

> 

> > This is v2 of the patches previously posted here:

> > 

> >    http://www.spinics.net/lists/linux-mm/msg128577.html

> > 

> > Changes since v1 include:

> > 

> >   * Use smp_mb() instead of smp_mb__before_atomic() before atomic_set()

> >   * Added acks and fixes tag

> > 

> > Feedback welcome,

> > 

> > Will

> > 

> > --->8

> > 

> > Mark Rutland (1):

> >   mm: numa: avoid waiting on freed migrated pages

> > 

> > Will Deacon (2):

> >   mm/page_ref: Ensure page_ref_unfreeze is ordered against prior

> >     accesses

> >   mm: migrate: Stabilise page count when migrating transparent hugepages

> 

> I marked [1/3] for -stable backporting and held the other two for

> 4.13-rc1.  Maybe that wasn't appropriate...


I think that's about right. Patches 2 and 3 fix issues found by inspection,
rather than something we've knowingly run into.

Thanks,

Will