From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754629AbdJIObu (ORCPT ); Mon, 9 Oct 2017 10:31:50 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:49954 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754247AbdJIObt (ORCPT ); Mon, 9 Oct 2017 10:31:49 -0400 X-Google-Smtp-Source: AOwi7QDDx2q/hheNc3c2Jv5NcFT6zTLeEPfvfBXRojBuLf7evYM18MZ2UXOwbAO6GFCIutdiZ6f/AQ== Subject: Re: [PATCH] skd: Use kmem_cache_free To: Himanshu Jha , bart.vanassche@wdc.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <1507498228-11878-1-git-send-email-himanshujha199640@gmail.com> From: Jens Axboe Message-ID: Date: Mon, 9 Oct 2017 08:31:46 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1507498228-11878-1-git-send-email-himanshujha199640@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/08/2017 03:30 PM, Himanshu Jha wrote: > Use kmem_cache_free instead of kfree for freeing the memory previously > allocated with kmem_cache_zalloc/kmem_cache_alloc/kmem_cache_node. Good catch, I wonder how long that's been there... Applied for 4.14. -- Jens Axboe