From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754544Ab1GNUc4 (ORCPT ); Thu, 14 Jul 2011 16:32:56 -0400 Received: from mail-vx0-f174.google.com ([209.85.220.174]:58018 "EHLO mail-vx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753071Ab1GNUcy convert rfc822-to-8bit (ORCPT ); Thu, 14 Jul 2011 16:32:54 -0400 MIME-Version: 1.0 In-Reply-To: <4E1F5040.50004@zytor.com> References: <1310462166-31469-1-git-send-email-tj@kernel.org> <1310462166-31469-14-git-send-email-tj@kernel.org> <4E1F4D2C.3000507@zytor.com> <4E1F5040.50004@zytor.com> Date: Thu, 14 Jul 2011 22:32:53 +0200 X-Google-Sender-Auth: 1HIY_LxkU0iJqbnRm6efqaWC3AI Message-ID: Subject: Re: [PATCH 13/13] memblock, x86: Replace memblock_x86_reserve/free_range() with generic ones From: Tejun Heo To: "H. Peter Anvin" Cc: mingo@redhat.com, tglx@linutronix.de, benh@kernel.crashing.org, yinghai@kernel.org, davem@davemloft.net, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, x86@kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, Jul 14, 2011 at 10:23 PM, H. Peter Anvin wrote: > On 07/14/2011 01:20 PM, Tejun Heo wrote: > Sorry I don't follow.  We display resources as [...] ranges, and in > particular when there are those kinds of brackets they tend to be > inclusive ranges. > > For the internal representation, of course, [ ) ranges or (base, length) > are the only sensible options. [ ) ranges: e820, init_memory_mapping, NUMA nodes, Zone PFN ranges, PM nosave memory [ ] ranges: MTRR, NODE_DATA, early_node_map, [mm]io ranges Hmm... I was only looking at the early boot messages which didn't include the io ranges. It ultimately is a cosmetic issue so my opinions aren't very strong but I think we can leave [mm]io ranges alone and converge the rest into [ ) ranges sans the brackets? Thanks. -- tejun