From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753453AbdJUQAa (ORCPT ); Sat, 21 Oct 2017 12:00:30 -0400 Received: from mail-qk0-f182.google.com ([209.85.220.182]:45427 "EHLO mail-qk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753363AbdJUQA2 (ORCPT ); Sat, 21 Oct 2017 12:00:28 -0400 X-Google-Smtp-Source: ABhQp+SzSEGGa1AylPJsNNSAv1pyH1l/vIvjCRxUBlra4QIrXUt2vApKB9SjpiziYLbeybqj3dxm+g== Date: Sat, 21 Oct 2017 09:00:25 -0700 From: Tejun Heo To: Dennis Zhou Cc: Daniel Borkmann , davem@davemloft.net, ast@kernel.org, john.fastabend@gmail.com, mark.rutland@arm.com, richard@nod.at, sp3485@columbia.edu, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net 0/3] Fix for BPF devmap percpu allocation splat Message-ID: <20171021160025.GM1302522@devbig577.frc2.facebook.com> References: <20171018132526.GC1302522@devbig577.frc2.facebook.com> <20171018214508.GA12295@localhost.corp.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171018214508.GA12295@localhost.corp.microsoft.com> 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 Wed, Oct 18, 2017 at 04:45:08PM -0500, Dennis Zhou wrote: > I'm not sure I see the reason we can't match the minimum allocation size > with the unit size? It seems weird to arbitrate the maximum allocation > size given a lower bound on the unit size. idk, it can be weird for the maximum allowed allocation size varying widely depending on how the machine boots up. Thanks. -- tejun