From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FFD1C3A589 for ; Tue, 20 Aug 2019 15:29:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DBEB022CE3 for ; Tue, 20 Aug 2019 15:29:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566314962; bh=ZrF9TUCnLV2W4EyJhMQkx9AglXnpvTw/gLkflBdNy/E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=WrjuHUZz+LzwJWYduprH4Nd04YLa7SNuDVFhz9JB5KeZMMAPHj07frQkdrITHNqqk Tk7GgEW8LsPGuADvrEUM2eW9ZthTkkVHFNYZMDafehKJz57m1L8lLKkX5v6Xy48Ekg lOL/7apW9p1jOCVJR40LQWcfaJy/HOBaL4Qlrrpk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730178AbfHTP3R (ORCPT ); Tue, 20 Aug 2019 11:29:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:33652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727006AbfHTP3Q (ORCPT ); Tue, 20 Aug 2019 11:29:16 -0400 Received: from localhost (mobile-107-77-164-38.mobile.att.net [107.77.164.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E74C6206BB; Tue, 20 Aug 2019 15:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566314956; bh=ZrF9TUCnLV2W4EyJhMQkx9AglXnpvTw/gLkflBdNy/E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rPXezODrzMCa0ELtLvFg+/8kuvfVewd9CKnmLWsyvP9KCvkKNEKm8E0UmY5PlWyjR vcw2TDeAIzRGoogNDjkfcyPuZiCYttlYf12ze1vbgZ7nlokyTNcEpUMzgVjwdCT0hs C2DxoyW6pyDRSJZIx+75oATfpwgFFQ+T6q9qTtsE= Date: Tue, 20 Aug 2019 11:29:15 -0400 From: Sasha Levin To: "dmitry.torokhov@gmail.com" Cc: Dexuan Cui , "linux-input@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , Stephen Hemminger , Sasha Levin , Haiyang Zhang , KY Srinivasan , Michael Kelley , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] Input: hyperv-keyboard: Use in-place iterator API in the channel callback Message-ID: <20190820152915.GM30205@sasha-vm> References: <1566270066-27546-1-git-send-email-decui@microsoft.com> <20190820031805.GO121898@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190820031805.GO121898@dtor-ws> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-hyperv-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hyperv@vger.kernel.org On Mon, Aug 19, 2019 at 08:18:05PM -0700, dmitry.torokhov@gmail.com wrote: >On Tue, Aug 20, 2019 at 03:01:23AM +0000, Dexuan Cui wrote: >> Simplify the ring buffer handling with the in-place API. >> >> Also avoid the dynamic allocation and the memory leak in the channel >> callback function. >> >> Signed-off-by: Dexuan Cui >> --- >> >> Hi Dmitry, can this patch go through Sasha's hyperv tree: >> https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git >> >> This is a purely Hyper-V specific change. > >Sure, no problem. > >Acked-by: Dmitry Torokhov Queued up for hyperv-fixes, thank you. -- Thanks, Sasha