Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4117966imw; Mon, 18 Jul 2022 23:14:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tjlmFCuEFVmJaPtf9uJvzWBRiyyRIw2pDh87KE9J3hZz5qlcj1O6p4YZYOuV+wBa4bM9ZS X-Received: by 2002:a05:6402:27c8:b0:43a:f392:8fdd with SMTP id c8-20020a05640227c800b0043af3928fddmr41684907ede.328.1658211259572; Mon, 18 Jul 2022 23:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658211259; cv=none; d=google.com; s=arc-20160816; b=DxWpFtCVdV1XoSnXwuL2Tmw5tJAc73B2VCqYb8zsjkRLVOMDT+GakO+qGleBPw6cbR 081XHiuEkJB9iU4H8/NYyndq+KwUkuxGAcTU2llDrWp1I5GPaqTeTM04aR20M9LWM86o NKfNyvEaLGop0FG7sgdIjqB7kQPHa9vssNclxgQndAG0oTrZBls2KDNPRTA1NhW+2dye JG1SiTuaebZqTxhf15CDR1uffT28RwVdo2sdUrV6JWOqC/BsjYXiT0JeqWqA5cf+g+H0 HB5Ndcw0jJ2sWHuHGg3J4SY6CI5K2893eOfNVPh7tSLR/HWrQ3QoB+GB8vtR9pEA3P2+ xlmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=1mVkPzgHL2pCevc67v8UFxPDAwawq5OnhFS2P3Aky8I=; b=D+ZcLXbvBdpQizjGBP1H7iImewDJXGqL3ncUEXxENl9XsOYfANV03sD3Nok3hYwPJp kRiepfc5QkdnwlveRqvP8MgHA0py0AXPLZXS7Lz1ocHacFG5lBzWvuBYYCkYQ4CFM/A4 UvPC179folbNz44chIFsjhNrNtW+uYgmcJZyaVIQBxNwhfV/IpF2PSznbBFwPfQjJtpv 730eS8IfswRtaKIDzVT+HSxPSD8l+ukKfVIkFWmgCPpQSRvAaDYOiwK4RcPG0yRy4sXU g0helOeHy1iq88Nm7jlhiieLV8soiZWqh9ryihyOMCDrwTjLDKugq+eH+lKeKJvLV/eh v2Bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc20-20020a1709071c1400b00726abdc7343si2857400ejc.454.2022.07.18.23.13.54; Mon, 18 Jul 2022 23:14:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234182AbiGSFxA (ORCPT + 99 others); Tue, 19 Jul 2022 01:53:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233441AbiGSFw6 (ORCPT ); Tue, 19 Jul 2022 01:52:58 -0400 Received: from smtp.smtpout.orange.fr (smtp06.smtpout.orange.fr [80.12.242.128]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5FF539BAA for ; Mon, 18 Jul 2022 22:52:57 -0700 (PDT) Received: from [192.168.1.18] ([90.11.190.129]) by smtp.orange.fr with ESMTPA id DgABomHIq5qT4DgABojGE8; Tue, 19 Jul 2022 07:52:56 +0200 X-ME-Helo: [192.168.1.18] X-ME-Auth: YWZlNiIxYWMyZDliZWIzOTcwYTEyYzlhMmU3ZiQ1M2U2MzfzZDfyZTMxZTBkMTYyNDBjNDJlZmQ3ZQ== X-ME-Date: Tue, 19 Jul 2022 07:52:56 +0200 X-ME-IP: 90.11.190.129 Message-ID: Date: Tue, 19 Jul 2022 07:52:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] s390/pci: Use the bitmap API to allocate bitmaps Content-Language: fr To: Alexander Gordeev Cc: Niklas Schnelle , Gerald Schaefer , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-s390@vger.kernel.org References: <8d35e482f710889a45d46f808155738ef87d46c4.1657383052.git.christophe.jaillet@wanadoo.fr> From: Christophe JAILLET In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 14/07/2022 à 07:22, Alexander Gordeev a écrit : > On Sat, Jul 09, 2022 at 06:11:28PM +0200, Christophe JAILLET wrote: >> I don't know why commit c506fff3d3a8 ("s390/pci: resize iomap") has turned >> this bitmap from a statically defined bitmap to a runtime-allocated one. > > c506fff3d3a8 commit message: > > This reduces the size of the iomap from 256K to less than 4K > (using the defconfig). > Hi, IIUC, going from ZPCI_IOMAP_MAX_ENTRIES to ZPCI_IOMAP_ENTRIES reduced the size, not going from DECLARE_BITMAP() to kcalloc(). CJ