Re: [PATCHv3 0/5] Fix compound_head() race

2015-08-24 Thread Kirill A. Shutemov
On Sat, Aug 22, 2015 at 01:13:19PM -0700, Hugh Dickins wrote: > Yes, I did think the compound destructor enum stuff over-engineered, > and would have preferred just direct calls to free_compound_page() > or free_huge_page() myself. But when I tried to make a patch on > top to do that, even when I

Re: [PATCHv3 0/5] Fix compound_head() race

2015-08-22 Thread Hugh Dickins
On Thu, 20 Aug 2015, Andrew Morton wrote: > On Thu, 20 Aug 2015 15:31:07 +0300 "Kirill A. Shutemov" > wrote: > > > On Wed, Aug 19, 2015 at 12:21:41PM +0300, Kirill A. Shutemov wrote: > > > Here's my attempt on fixing recently discovered race in compound_head(). > > > It should make compound_head

Re: [PATCHv3 0/5] Fix compound_head() race

2015-08-20 Thread Andrew Morton
On Thu, 20 Aug 2015 15:31:07 +0300 "Kirill A. Shutemov" wrote: > On Wed, Aug 19, 2015 at 12:21:41PM +0300, Kirill A. Shutemov wrote: > > Here's my attempt on fixing recently discovered race in compound_head(). > > It should make compound_head() reliable in all contexts. > > > > The patchset is

Re: [PATCHv3 0/5] Fix compound_head() race

2015-08-20 Thread Kirill A. Shutemov
On Wed, Aug 19, 2015 at 12:21:41PM +0300, Kirill A. Shutemov wrote: > Here's my attempt on fixing recently discovered race in compound_head(). > It should make compound_head() reliable in all contexts. > > The patchset is against Linus' tree. Let me know if it need to be rebased > onto different b

[PATCHv3 0/5] Fix compound_head() race

2015-08-19 Thread Kirill A. Shutemov
Here's my attempt on fixing recently discovered race in compound_head(). It should make compound_head() reliable in all contexts. The patchset is against Linus' tree. Let me know if it need to be rebased onto different baseline. It's expected to have conflicts with my page-flags patchset and prob