lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 29 Apr 2015 01:28:28 +0300
From:	"Kirill A. Shutemov" <kirill@...temov.name>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
	Vlastimil Babka <vbabka@...e.cz>, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org, Sasha Levin <sasha.levin@...cle.com>
Subject: Re: [PATCH] compaction: fix isolate_migratepages_block() for THP=n

On Tue, Apr 28, 2015 at 03:14:20PM -0700, Andrew Morton wrote:
> On Mon, 27 Apr 2015 14:26:46 +0300 "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com> wrote:
> 
> > PageTrans* helpers are always-false if THP is disabled compile-time.
> > It means the fucntion will fail to detect hugetlb pages in this case.
> > 
> > Let's use PageCompound() instead. With small tweak to how we calculate
> > next low_pfn it will make function ready to see tail pages.
> 
> <scratches head>
> 
> So this patch has no runtime effects at present?  It is preparation for
> something else?

I wrote this to fix bug I originally attributed to refcounting patchset,
but Sasha triggered the same bug on -next without the patchset applied:

http://lkml.kernel.org/g/553EB993.7030401@oracle.com

Now I think it's related to changing of PageLRU() behaviour on tail page
by my page flags patchset. PageLRU() on tail pages now reports true if
head page is on LRU. It means no we can go futher insede
isolate_migratepages_block() with tail page.

-- 
 Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ