From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gnuweeb.org (Postfix) with ESMTPS id E606E8188E for ; Mon, 12 Dec 2022 16:40:26 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=il+1yImM; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670863225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lj9lgNB66oCq/CW4FlnlqPZf6VrO0EKuQ+GU4/qK+bA=; b=il+1yImMCZaakZvGM4YLL1ekkFbkJ6NJMoZMwHA6rVEIv8xC/8FbGQYWvDTpwsbbe6tXkA tcmo84XyG+ntG2BbWM27GGGxAMONWfTXAwPRR2t2qrZ4FafmX6vqkycw+lW9IE77aQR0Vf 10Zh31SRU27LiS4+R0GZTJ2p+i5RcAo= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-564-cfOdVa4KOv63BXFZqLtxxQ-1; Mon, 12 Dec 2022 11:40:24 -0500 X-MC-Unique: cfOdVa4KOv63BXFZqLtxxQ-1 Received: by mail-wm1-f72.google.com with SMTP id v188-20020a1cacc5000000b003cf76c4ae66so4409576wme.7 for ; Mon, 12 Dec 2022 08:40:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lj9lgNB66oCq/CW4FlnlqPZf6VrO0EKuQ+GU4/qK+bA=; b=5uVCjdg8MvOtGAvyYgWnwGsxUfU5LvzOebwrJBRG1rO/mv9VX9or+0FLfE7P/ezdtP iketikB1L5JBi3KpTntMqcLc2lCLYE6N+BZn0aGWB1uKaPtytxzh3Ci9RTCvCX7LauiR QN984Awne6qfI4KPFCHPm1x+4BpTcc1lWuFVOvivJFib1BP1hknTXZuxKaJ9PXukVm8x rHneCiqBh9XxtJazcolJlI7Dgqq2j74T0A3Pg85WiGqAp38yHXMMc7dxMbWg1SiiYjbC JaSWk7o/r8AIYOWxoiP9Fa2FtvBgJKCWpg1gia/29nddRM3YclrmA5vDQ6eHRwJ2RU75 +Ipg== X-Gm-Message-State: ANoB5plSRUzJUqEWaF+1QqRqOjfzeRtEOmEpzQWlIV0tmIDGZjVw3hIT mfEj17WB+GteJ1/PObUupbb41owa2+Vx7hEbMuBp4WEy6Rd43H8pHgzWVTUZjPRjw8lna+3EnEM heI4w7ajF8Aogji4= X-Received: by 2002:a05:6000:137a:b0:242:4209:ea73 with SMTP id q26-20020a056000137a00b002424209ea73mr10976619wrz.28.1670863223431; Mon, 12 Dec 2022 08:40:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf4s2g1sz/k/TFZCx606AZDiQ4pjq6vWtC0cV05btuo6QXRPUqrKa77eeJstc8/boDkZmh+G+A== X-Received: by 2002:a05:6000:137a:b0:242:4209:ea73 with SMTP id q26-20020a056000137a00b002424209ea73mr10976606wrz.28.1670863223186; Mon, 12 Dec 2022 08:40:23 -0800 (PST) Received: from ?IPV6:2003:cb:c701:7200:bb8f:4362:97b4:df85? (p200300cbc7017200bb8f436297b4df85.dip0.t-ipconnect.de. [2003:cb:c701:7200:bb8f:4362:97b4:df85]) by smtp.gmail.com with ESMTPSA id l11-20020a5d526b000000b002422202fa7fsm9241067wrc.39.2022.12.12.08.40.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Dec 2022 08:40:22 -0800 (PST) Message-ID: <590404d8-4cb4-839e-c8a0-558fa4d059c4@redhat.com> Date: Mon, 12 Dec 2022 17:40:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [ammarfaizi2-block:akpm/mm/mm-stable 29/237] mm/gup_test.c:257:13-14: WARNING kvmalloc is used to allocate this memory at line 248 (fwd) To: Julia Lawall Cc: Yang Li , Linux Memory Management List , Andrew Morton , GNU/Weeb Mailing List , Ammar Faizi , oe-kbuild-all@lists.linux.dev References: From: David Hildenbrand Organization: Red Hat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 12.12.22 17:26, Julia Lawall wrote: > The concern is that pages is allocated with kvcalloc, but freed later > using kfree. > Indeed, that's wrong. Will send a fix. Thanks! > julia > > ---------- Forwarded message ---------- > Date: Sat, 10 Dec 2022 22:02:56 +0800 > From: kernel test robot > To: oe-kbuild@lists.linux.dev > Cc: lkp@intel.com, Julia Lawall > Subject: [ammarfaizi2-block:akpm/mm/mm-stable 29/237] mm/gup_test.c:257:13-14: > WARNING kvmalloc is used to allocate this memory at line 248 > > BCC: lkp@intel.com > CC: oe-kbuild-all@lists.linux.dev > CC: Ammar Faizi > CC: "GNU/Weeb Mailing List" > TO: David Hildenbrand > CC: Andrew Morton > CC: Linux Memory Management List > CC: Yang Li > > tree: https://github.com/ammarfaizi2/linux-block akpm/mm/mm-stable > head: 3b91010500eba3601e906b0e92cf84fab4d895d1 > commit: c77369b437f983a862bb6741814670d4ad38478c [29/237] mm/gup_test: start/stop/read functionality for PIN LONGTERM test > :::::: branch date: 11 hours ago > :::::: commit date: 5 weeks ago > config: arm-randconfig-c44-20221209 > compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > | Reported-by: Julia Lawall > > cocci warnings: (new ones prefixed by >>) >>> mm/gup_test.c:257:13-14: WARNING kvmalloc is used to allocate this memory at line 248 > -- Thanks, David / dhildenb