From: akpm@linux-foundation.org Subject: [merged] mm-compaction-clean-up-unused-code-lines.patch removed from -mm tree Date: Thu, 05 Jun 2014 12:49:57 -0700 Message-ID: <5390c9e5.3sschTOfYbrSPY3X%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:55922 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752430AbaFETt6 (ORCPT ); Thu, 5 Jun 2014 15:49:58 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, vbabka@suse.cz, sunghwan.yun@samsung.com, riel@redhat.com, n-horiguchi@ah.jp.nec.com, minchan@kernel.org, mina86@mina86.com, mgorman@suse.de, iamjoonsoo.kim@lge.com, d.j.shin@samsung.com, cl@linux.com, b.zolnierkie@samsung.com, heesub.shin@samsung.com Subject: [merged] mm-compaction-clean-up-unused-code-lines.patch removed from -mm tree To: heesub.shin@samsung.com,b.zolnierkie@samsung.com,cl@linux.com,d.j.shin@samsung.com,iamjoonsoo.kim@lge.com,mgorman@suse.de,mina86@mina86.com,minchan@kernel.org,n-horiguchi@ah.jp.nec.com,riel@redhat.com,sunghwan.yun@samsung.com,vbabka@suse.cz,mm-commits@vger.kernel.org From: akpm@linux-foundation.org Date: Thu, 05 Jun 2014 12:49:57 -0700 The patch titled Subject: mm/compaction: clean up unused code lines has been removed from the -mm tree. Its filename was mm-compaction-clean-up-unused-code-lines.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Heesub Shin Subject: mm/compaction: clean up unused code lines Remove code lines currently not in use or never called. Signed-off-by: Heesub Shin Acked-by: Vlastimil Babka Cc: Dongjun Shin Cc: Sunghwan Yun Cc: Minchan Kim Cc: Mel Gorman Cc: Joonsoo Kim Cc: Bartlomiej Zolnierkiewicz Cc: Michal Nazarewicz Cc: Naoya Horiguchi Cc: Christoph Lameter Cc: Rik van Riel Cc: Dongjun Shin Cc: Sunghwan Yun Signed-off-by: Andrew Morton --- mm/compaction.c | 10 ---------- 1 file changed, 10 deletions(-) diff -puN mm/compaction.c~mm-compaction-clean-up-unused-code-lines mm/compaction.c --- a/mm/compaction.c~mm-compaction-clean-up-unused-code-lines +++ a/mm/compaction.c @@ -208,12 +208,6 @@ static bool compact_checklock_irqsave(sp return true; } -static inline bool compact_trylock_irqsave(spinlock_t *lock, - unsigned long *flags, struct compact_control *cc) -{ - return compact_checklock_irqsave(lock, flags, false, cc); -} - /* Returns true if the page is within a block suitable for migration to */ static bool suitable_migration_target(struct page *page) { @@ -736,7 +730,6 @@ static void isolate_freepages(struct zon continue; /* Found a block suitable for isolating free pages from */ - isolated = 0; /* * Take care when isolating in last pageblock of a zone which @@ -1165,9 +1158,6 @@ static void __compact_pgdat(pg_data_t *p if (zone_watermark_ok(zone, cc->order, low_wmark_pages(zone), 0, 0)) compaction_defer_reset(zone, cc->order, false); - /* Currently async compaction is never deferred. */ - else if (cc->sync) - defer_compaction(zone, cc->order); } VM_BUG_ON(!list_empty(&cc->freepages)); _ Patches currently in -mm which might be from heesub.shin@samsung.com are origin.patch linux-next.patch