From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751384AbdJCWgr (ORCPT ); Tue, 3 Oct 2017 18:36:47 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:52013 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbdJCWgq (ORCPT ); Tue, 3 Oct 2017 18:36:46 -0400 X-Google-Smtp-Source: AOwi7QAnfgOnMFiaTTU8GZoaeNetM0KjSIeqBBFsCBmSmXmwQv8PqJcI5rKGziSVqEe+ZWlWH6r9SA== Date: Tue, 3 Oct 2017 15:36:42 -0700 From: Tejun Heo To: Nicolas Pitre Cc: Christoph Lameter , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/percpu.c: use smarter memory allocation for struct pcpu_alloc_info Message-ID: <20171003223642.GN3301751@devbig577.frc2.facebook.com> References: <20171003210540.GM3301751@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Tue, Oct 03, 2017 at 06:29:49PM -0400, Nicolas Pitre wrote: > I'm not sure i understand that code fully, but maybe the following patch > could be a better fit: > > ----- >8 > Subject: [PATCH] percpu: don't forget to free the temporary struct pcpu_alloc_info So, IIRC, the error path is either boot fail or some serious bug in arch code. It really doesn't matter whether we free a page or not. Thanks. -- tejun