Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5446266imm; Sun, 22 Jul 2018 22:58:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdORqXNPsw8zoxiAiyFy0WRt2vPzfwntbR70c06WruQUu0BgO8RVKqn0ZOynqz1wO83vVff X-Received: by 2002:a63:5815:: with SMTP id m21-v6mr10683907pgb.78.1532325499370; Sun, 22 Jul 2018 22:58:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532325499; cv=none; d=google.com; s=arc-20160816; b=a7CZ/9wF4zjSoaM7D3FXMDigrYl1wMIvu4sh1WlNc2fgeGDYrtSiyK0m1khhX++sV/ rwBKX4rsydiE+U5xZFKDjI+frS0TZB/g+OFisgf3IaMPdxC96BoB3TIE/YdhmsACFbps 4sgXqES7EbX+qEdwYhizV/7fFN0ASF2oRWXgS1ZzTwwsMte5CRy9Az/nGcpBks8ir6/V I6TMfH+RvkhGMDq8qnLIMZZXQpy2dPmcInzlaGksnjuLVEBYzU49bYsL8dvT48fiLgN7 t732ZqmiGev7S4K6eb5fWt1xF69MyOaKg0naxilkO0JkeQxyL5gjrzUDMay77ZEPFIjv mHOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=LWqCgvlspSjB8pbb008z/SbvLi6mj2GUsi1Ny2KXttc=; b=spy1eHX8/kp+9PsQIYvXIYtp4R9b1HzIsBfnqmGaZdLsxnsOVlzk4XofsR0EwrfQc8 sVN6nVw6K0xb3gmj0qpOAaJO9Uundb9W/gDfnZnotQZSuAjG3zpZYpYBPX2ZaB4x9i+C UQaPGdX3p96Joac95Ixaj8laTWuJuziwRbpy1n/lm5J4iJ1gd7EpZ+qKmv4B20cTEeAs BN7tJIAtbGJR9oKsXuuk3e1SR/1YGMYihbiU9IEf6HZx17qFNZQBfMODT/m//654aRdO JnavfbJZzU3gXbmT+fPDMRz29djuj9b70fRfA9DxGMVkq90JxzHuHkz/L/PubfxyiE5W 4JKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8-v6si7864425plb.381.2018.07.22.22.58.04; Sun, 22 Jul 2018 22:58:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728298AbeGWG4k (ORCPT + 99 others); Mon, 23 Jul 2018 02:56:40 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:56888 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726943AbeGWG4j (ORCPT ); Mon, 23 Jul 2018 02:56:39 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6N5rvvW129060 for ; Mon, 23 Jul 2018 01:57:08 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2kd7q438yh-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 23 Jul 2018 01:57:08 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 23 Jul 2018 06:57:06 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 23 Jul 2018 06:57:03 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6N5v2XV12058862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 23 Jul 2018 05:57:02 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7866411C04C; Mon, 23 Jul 2018 08:57:17 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E798711C058; Mon, 23 Jul 2018 08:57:15 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.8.108]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 23 Jul 2018 08:57:15 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Mon, 23 Jul 2018 08:57:00 +0300 From: Mike Rapoport To: Tony Luck , Fenghua Yu Cc: Michal Hocko , linux-ia64@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: [PATCH 0/4] ia64: switch to NO_BOOTMEM Date: Mon, 23 Jul 2018 08:56:54 +0300 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 x-cbid: 18072305-0020-0000-0000-000002A9C1EC X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18072305-0021-0000-0000-000020F649E5 Message-Id: <1532325418-22617-1-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-22_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=466 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807230070 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, These patches convert ia64 to use NO_BOOTMEM. The first two patches are cleanups, the third patches reduces usage of 'struct bootmem_data' for easier transition and the forth patch actually replaces bootmem with memblock + nobootmem. I've tested the sim_defconfig with the ski simulator and build tested other defconfigs. Mike Rapoport (4): ia64: contig/paging_init: reduce code duplication ia64: remove unused num_dma_physpages member from 'struct early_node_data' ia64: use mem_data to detect nodes' minimal and maximal PFNs ia64: switch to NO_BOOTMEM arch/ia64/Kconfig | 1 + arch/ia64/kernel/setup.c | 11 +++- arch/ia64/mm/contig.c | 75 +++----------------------- arch/ia64/mm/discontig.c | 134 ++++++----------------------------------------- 4 files changed, 33 insertions(+), 188 deletions(-) -- 2.7.4