Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758684AbcJRL1a (ORCPT ); Tue, 18 Oct 2016 07:27:30 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:37716 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753095AbcJRL1W (ORCPT ); Tue, 18 Oct 2016 07:27:22 -0400 Date: Tue, 18 Oct 2016 19:21:49 +0800 From: Jisheng Zhang To: Christoph Hellwig CC: , , , , , , , Subject: Re: [RFC] reduce latency in __purge_vmap_area_lazy Message-ID: <20161018192149.3de86109@xhacker> In-Reply-To: <1476773771-11470-1-git-send-email-hch@lst.de> References: <1476773771-11470-1-git-send-email-hch@lst.de> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-10-18_05:,, signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1610180194 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 660 Lines: 17 On Tue, 18 Oct 2016 08:56:05 +0200 Christoph Hellwig wrote: > Hi all, > > this is my spin at sorting out the long lock hold times in > __purge_vmap_area_lazy. It is based on the patch from Joel sent this > week. I don't have any good numbers for it, but it survived an > xfstests run on XFS which is a significant vmalloc user. The > changelogs could still be improved as well, but I'd rather get it > out quickly for feedback and testing. I just tested this series, the preempt off ftrace log doesn't complain __purge_vmap_area_lazy any more in my test case, this latency is removed! So feel free to add Tested-by: Jisheng Zhang