From: akpm@linux-foundation.org Subject: [merged] slub-remove-obsolete-comments-of-put_cpu_partial.patch removed from -mm tree Date: Thu, 01 Feb 2018 11:30:23 -0800 Message-ID: <20180201193023.OZzW9NPfo%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:57208 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752839AbeBATaZ (ORCPT ); Thu, 1 Feb 2018 14:30:25 -0500 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: akpm@linux-foundation.org, cl@linux.com, iamjoonsoo.kim@lge.com, miles.chen@mediatek.com, mm-commits@vger.kernel.org, penberg@kernel.org, rientjes@google.com, vdavydov.dev@gmail.com The patch titled Subject: slub: remove obsolete comments of put_cpu_partial() has been removed from the -mm tree. Its filename was slub-remove-obsolete-comments-of-put_cpu_partial.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Miles Chen Subject: slub: remove obsolete comments of put_cpu_partial() d6e0b7fa1186 ("slub: make dead caches discard free slabs immediately") makes put_cpu_partial() run with preemption disabled and interrupts disabled when calling unfreeze_partials(). The comment: "put_cpu_partial() is done without interrupts disabled and without preemption disabled" looks obsolete, so remove it. Link: http://lkml.kernel.org/r/1516968550-1520-1-git-send-email-miles.chen@mediatek.com Signed-off-by: Miles Chen Reviewed-by: Andrew Morton Cc: Christoph Lameter Cc: Pekka Enberg Cc: David Rientjes Cc: Joonsoo Kim Cc: Vladimir Davydov Signed-off-by: Andrew Morton --- mm/slub.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN mm/slub.c~slub-remove-obsolete-comments-of-put_cpu_partial mm/slub.c --- a/mm/slub.c~slub-remove-obsolete-comments-of-put_cpu_partial +++ a/mm/slub.c @@ -2222,9 +2222,7 @@ static void unfreeze_partials(struct kme /* * Put a page that was just frozen (in __slab_free) into a partial page - * slot if available. This is done without interrupts disabled and without - * preemption disabled. The cmpxchg is racy and may put the partial page - * onto a random cpus partial slot. + * slot if available. * * If we did not find a slot then simply move all the partials to the * per node partial list. _ Patches currently in -mm which might be from miles.chen@mediatek.com are