Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26106294rwd; Mon, 3 Jul 2023 05:37:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7DWlCGL+h977Um92Sw8GQ3VX2KQ3deiZsOMq/4cmux0snkhMRZSeovrDqp43k8vidhyh8w X-Received: by 2002:a05:6a00:14d2:b0:67b:77e7:f467 with SMTP id w18-20020a056a0014d200b0067b77e7f467mr23735083pfu.16.1688387872463; Mon, 03 Jul 2023 05:37:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688387872; cv=none; d=google.com; s=arc-20160816; b=bAS4VHc5yITbFcLxIg1aKN1lwiBWlAy4je8V+FE4ujIaOcvcpHhHYLLo4/uA+HW2ik Rzcvjzj71M0Jd4zGqSTv/RzAJhJY24jbPmgQaj+FUsqIr15/BVI0o7Ljlt7IL+IlMhP3 dFq8aOysnIew0L12cukGNaxe5joH6+vNnZohEw85AmScx/aLVnqIvw8Fovg0y3Z4O4gV L9zfm+/Lrr9gVxLsVqXJ01CYZkQxvMl7N9CKoZPYnBoWb1ujhy9PTIImkdxUhw3cOsoh tBH4rjcAvU4kftq1CwAKwnb1L0FACl0A59wZhiM7bwvE+jQefMs9aWPkOKn3XlTIAetA eFFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=cEwdhD/n1Nx72ImgbdEIvjpn3giyL22vCP3qre0aSDM=; fh=SB4JEd6s+SjbhcFqaQPX9LnzOqcKbNrNU+dD/ppiz1o=; b=mCzvODHlAIY3NatnC9+ENYtDMrY5vdZodNeGJuXdZSkg3UddtVhkNFNYpfTNLKD6yq D7iOK3czN+ppadUBT0ury+SwcpIRQnphTygaueZs/m95c4U66VpgN2qSx+H+6cyZ9sNX LFek5n/b2QcEXAFMW8LAnTi7vsBaHfcgm5Pri12qA/sy8f1R3sRCM8ukD9+H4j73yhXo c5gvQAiN65L85vxnrMnGwvRQ6otRcZv7c4Y4Nt1zy3WN1YDvvrrdjknIm5QoharzHJyp K6v5J65vCi9mRaOfoDAPAPXMCfnvU1k42WrZNXhWimBNdVvtpMrV7xgxm2HdD1eoepI+ vmMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="TT/5vfmH"; dkim=neutral (no key) header.i=@suse.de; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr5-20020a056a000f0500b006738dfbaf42si16436816pfb.374.2023.07.03.05.37.39; Mon, 03 Jul 2023 05:37:52 -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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="TT/5vfmH"; dkim=neutral (no key) header.i=@suse.de; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230397AbjGCMXu (ORCPT + 99 others); Mon, 3 Jul 2023 08:23:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbjGCMXs (ORCPT ); Mon, 3 Jul 2023 08:23:48 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8954A109; Mon, 3 Jul 2023 05:23:47 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3301D1FE04; Mon, 3 Jul 2023 12:23:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1688387026; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cEwdhD/n1Nx72ImgbdEIvjpn3giyL22vCP3qre0aSDM=; b=TT/5vfmH7AUufSolN0r/Da0EBIfjSiWOwvMTHDucQOG9vvZx6ZXWw/zI+y0DlfYAJCsR9B RJnS2Y8qfWd1io52UDJTDYyh8WAh4nIACklnH5vhryXrT9PsNgBde68m8Ekoz2joHkCCUo I6g/JaXoh8dCnaqOC9OKXz9yNO0rWPY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1688387026; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cEwdhD/n1Nx72ImgbdEIvjpn3giyL22vCP3qre0aSDM=; b=8rdsKNzS7jGs4THcL976LmDl/VcsZEfS9aShgTT4hQ+MxYv5YG9Xmt833VwvIqQD4Do9wY EpVGCmEHUd1RDrDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id F38FA138FC; Mon, 3 Jul 2023 12:23:45 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id EoHeOdG9omS5dAAAMHmgww (envelope-from ); Mon, 03 Jul 2023 12:23:45 +0000 Message-ID: <81c65106-cabf-1f44-fdd2-6c716ab2ba32@suse.de> Date: Mon, 3 Jul 2023 14:23:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v2 03/24] drm/gud: use vmalloc_array and vcalloc Content-Language: en-US To: Julia Lawall , =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= Cc: keescook@chromium.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, christophe.jaillet@wanadoo.fr, kuba@kernel.org References: <20230627144339.144478-1-Julia.Lawall@inria.fr> <20230627144339.144478-4-Julia.Lawall@inria.fr> From: Thomas Zimmermann In-Reply-To: <20230627144339.144478-4-Julia.Lawall@inria.fr> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------095I0EuT7U9cVQFoiTUQRAmv" X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------095I0EuT7U9cVQFoiTUQRAmv Content-Type: multipart/mixed; boundary="------------57yg0V02n09MrsJfOg0ySq0p"; protected-headers="v1" From: Thomas Zimmermann To: Julia Lawall , =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= Cc: keescook@chromium.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, christophe.jaillet@wanadoo.fr, kuba@kernel.org Message-ID: <81c65106-cabf-1f44-fdd2-6c716ab2ba32@suse.de> Subject: Re: [PATCH v2 03/24] drm/gud: use vmalloc_array and vcalloc References: <20230627144339.144478-1-Julia.Lawall@inria.fr> <20230627144339.144478-4-Julia.Lawall@inria.fr> In-Reply-To: <20230627144339.144478-4-Julia.Lawall@inria.fr> --------------57yg0V02n09MrsJfOg0ySq0p Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQoNCkFtIDI3LjA2LjIzIHVtIDE2OjQzIHNjaHJpZWIgSnVsaWEgTGF3YWxsOg0KPiBVc2Ug dm1hbGxvY19hcnJheSBhbmQgdmNhbGxvYyB0byBwcm90ZWN0IGFnYWluc3QNCj4gbXVsdGlw bGljYXRpb24gb3ZlcmZsb3dzLg0KPiANCj4gVGhlIGNoYW5nZXMgd2VyZSBkb25lIHVzaW5n IHRoZSBmb2xsb3dpbmcgQ29jY2luZWxsZQ0KPiBzZW1hbnRpYyBwYXRjaDoNCj4gDQo+IC8v IDxzbXBsPg0KPiBAaW5pdGlhbGl6ZTpvY2FtbEANCj4gQEANCj4gDQo+IGxldCByZW5hbWUg YWxsb2MgPQ0KPiAgICBtYXRjaCBhbGxvYyB3aXRoDQo+ICAgICAgInZtYWxsb2MiIC0+ICJ2 bWFsbG9jX2FycmF5Ig0KPiAgICB8ICJ2emFsbG9jIiAtPiAidmNhbGxvYyINCj4gICAgfCBf IC0+IGZhaWx3aXRoICJ1bmtub3duIg0KPiANCj4gQEANCj4gICAgICBzaXplX3QgZTEsZTI7 DQo+ICAgICAgY29uc3RhbnQgQzEsIEMyOw0KPiAgICAgIGV4cHJlc3Npb24gRTEsIEUyLCBD T1VOVCwgeDEsIHgyLCB4MzsNCj4gICAgICB0eXBlZGVmIHU4Ow0KPiAgICAgIHR5cGVkZWYg X191ODsNCj4gICAgICB0e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CBBbmRyZXcgTXllcnMsIEFuZHJldyBNY0RvbmFsZCwgQm91ZGll biBNb2VybWFuDQpIUkIgMzY4MDkgKEFHIE51ZXJuYmVyZykNCg== --------------57yg0V02n09MrsJfOg0ySq0p-- --------------095I0EuT7U9cVQFoiTUQRAmv Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmSivdEFAwAAAAAACgkQlh/E3EQov+Cb ug/+Lqmo8Vy3nHNfsOi8C6S16t6VbjNlBN8Y/3h0Fy2jBxvnu90znhH20dlZfDv4jpeXxU/8eTn7 ZDfZFjoWvkr4rM9xw/zsCmDDllKk8+HukOyK+ApnW5dG9tRnIB9dgHGK0az/Lpb7VShyRRW2CSjs bAjqfKvSEBIbxzVCszdrQT0etgnrC6hqfTZrjJ5lVNUzql0JVwMOjOVYzXCun28dyPiye0FM6L8W bbFPQbNZ2gIfFAkMNpAwdBoYLOWQBIScyBVpdhK6mnjDYoJJBPgL0eg4/VPx8LSB9Vj/LH38SSlS cKxmDe2H8ctmBIZgd2p3TBshtVVnWtlnO//cA1Jomo6t/dEMOgTVXB4lUCnPSVlqa6p52kASBRxt AsnqXGGUFLt6u3hjDg4mps/QG5H/KvVKZCHhTxQw/KmBMC7vKFVROiaLC3cyoMS1aPw9X2PJNH4r 8QqeDTYCLHvc6BnUt0XEBCIgyZYV4JjAf/O3szGx5Tf6YkP1eTeeyJCfRPbdZnZLSGvDoHGx0YRi TRHNEYzDuX5zpHk4SMw3CzXW9xXfH2QgN2dKhIHg+OXDUAV9sc86xLsj+H2HS0vyYx9QQm7fhe5S 7EDdpQCwE7QVHeSGfNBf/sWCuHtKaxfZ7EBw/d5ZXy+omsEzTdQwTaDe47f9ZZUop+l6D5hf9a2n lAc= =E9kM -----END PGP SIGNATURE----- --------------095I0EuT7U9cVQFoiTUQRAmv--