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-next>] [day] [month] [year] [list]
Message-ID: <CAJd=RBD8VJJ75BHR9+KogGtOwaZf36Br9_ehj7oLCcCw9Qiuew@mail.gmail.com>
Date:	Tue, 27 Nov 2012 21:22:12 +0800
From:	Hillf Danton <dhillf@...il.com>
To:	Mel Gorman <mgorman@...e.de>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Hillf Danton <dhillf@...il.com>
Subject: [PATCH 3/3] balancenuma: set last_nid on tail page

Pass last_nid from head page to tail page.

Signed-off-by: Hillf Danton <dhillf@...il.com>
---

--- a/mm/huge_memory.c	Tue Nov 27 20:45:56 2012
+++ b/mm/huge_memory.c	Tue Nov 27 20:54:54 2012
@@ -1382,6 +1382,7 @@ static void __split_huge_page_refcount(s
 		page_tail->mapping = page->mapping;

 		page_tail->index = page->index + i;
+		page_xchg_last_nid(page_tail, page_last_nid(page));

 		BUG_ON(!PageAnon(page_tail));
 		BUG_ON(!PageUptodate(page_tail));
--
--
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