From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965467AbdADBTj (ORCPT ); Tue, 3 Jan 2017 20:19:39 -0500 Received: from mail-pg0-f45.google.com ([74.125.83.45]:36463 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760184AbdADBTb (ORCPT ); Tue, 3 Jan 2017 20:19:31 -0500 Subject: Re: [PATCH 1/3] scsi: hisi_sas: service v2 hw CQ ISR with tasklet To: John Garry , jejb@linux.vnet.ibm.com, martin.petersen@oracle.com References: <1483446290-185084-1-git-send-email-john.garry@huawei.com> <1483446290-185084-2-git-send-email-john.garry@huawei.com> Cc: linuxarm@huawei.com, xuwei5@hisilicon.com, john.garry2@mail.dcu.ie, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, hanjun.guo@linaro.org From: zhangfei Message-ID: Date: Wed, 4 Jan 2017 09:18:36 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1483446290-185084-2-git-send-email-john.garry@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017年01月03日 20:24, John Garry wrote: > Currently the all the slot processing for the completion > queue is done in ISR context. It is judged that the slot > processing can take a long time, especially when a SATA > NCQ completes (upto 32 slots). > > So, as a solution, defer the bulk of the ISR processing > to tasklet context. Each CQ will have its down tasklet. > > Signed-off-by: John Garry > Reviewed-by: Xiang Chen Reviewed-by: Zhangfei Gao