Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755797AbaGIWdV (ORCPT ); Wed, 9 Jul 2014 18:33:21 -0400 Received: from mail-vc0-f173.google.com ([209.85.220.173]:61544 "EHLO mail-vc0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751424AbaGIWdU (ORCPT ); Wed, 9 Jul 2014 18:33:20 -0400 MIME-Version: 1.0 X-Originating-IP: [2620:0:1000:157d:8cce:4220:32bc:b297] In-Reply-To: <1404324218-4743-3-git-send-email-lauraa@codeaurora.org> References: <1404324218-4743-1-git-send-email-lauraa@codeaurora.org> <1404324218-4743-3-git-send-email-lauraa@codeaurora.org> Date: Wed, 9 Jul 2014 15:33:19 -0700 Message-ID: Subject: Re: [PATCHv4 2/5] lib/genalloc.c: Add genpool range check function From: Olof Johansson To: Laura Abbott Cc: Will Deacon , Catalin Marinas , David Riley , "linux-arm-kernel@lists.infradead.org" , Ritesh Harjain , linux-mm , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 2, 2014 at 11:03 AM, Laura Abbott wrote: > > After allocating an address from a particular genpool, > there is no good way to verify if that address actually > belongs to a genpool. Introduce addr_in_gen_pool which > will return if an address plus size falls completely > within the genpool range. > > Signed-off-by: Laura Abbott Reviewed-by: Olof Johansson What's the merge path for this code? Part of the arm64 code that needs it, I presume? -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/