Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2530131imm; Thu, 7 Jun 2018 12:12:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLNuHUyGxhBaqflfaQdT6Sf/ZWPDt3vvBd4U0PmCBWFHf7DbQs8J25BbUDN3EcJKCm0EfQR X-Received: by 2002:a63:7983:: with SMTP id u125-v6mr2555018pgc.267.1528398723165; Thu, 07 Jun 2018 12:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528398723; cv=none; d=google.com; s=arc-20160816; b=fweVpKh6upre7p0b8Q6N4t6YAMJZc4hgSN4oWxUNS/nF6XhEYmEmBTZMhCkVDobY8g AJ8AdvvvOxiFX6BTkSL9U08jiYPLJzsr2YMukXA7PyRcr94vATyqCfB5Xy3fToEEWZrj E0S5p5KRkyDoqtWbLRyXiswilIlr2qFU10UW0ral7H6PjIq7qGcr8w11+Nse94goS9k+ 6ByMuqiGZnhpLhedYLwa54KfZnRaa6sRmnhCvUcPb0iJs6/iwTf8z/r+CZRLlbx2Q94o qtjN5KveK16tzly3JH2aV6SleRW3Vq567vX2xov8w+bVPpd1B8XC7pdPueRMF2PGGhnU tQ5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=KHtSFMK3pkdaXrphp2O5ytRdMqjcSWaTsAMiJ7/fYDc=; b=fF3bt+Ndyi0+cLG2/t+/YjtxyVYNHn+baZAM3klxhxoHOkSwNJRQQgTyA297E1WeS+ xID2aBjT+EZeTXlqDPZFCYkcCfQEG05/x292TQPKj6xq76pXlc2bfiv6nQI8+kFbTgsl 6dDLpPZm03l762/rY5mA0Dy2vhtN5/l0pVUHmsJw8Z7s2gOj23FBsK0dTo/hv4joyO6g zeHmY0qX9HjwQu+kkSXeaCMYpaN1fsBOneg/qWnEN3WhIQpulOt2o3mf677XEQsCQoIV wp2SaMRDP3GfDRLf5O7PvKBTwJjTxsYL4pFk4oXYByi9KJ22b5ZoZMtRVPQNwHniRu5U pDwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=hfz2w1r6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q71-v6si19038748pfl.317.2018.06.07.12.11.48; Thu, 07 Jun 2018 12:12:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=hfz2w1r6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932543AbeFGSur (ORCPT + 99 others); Thu, 7 Jun 2018 14:50:47 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:51164 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932504AbeFGSup (ORCPT ); Thu, 7 Jun 2018 14:50:45 -0400 Received: by mail-wm0-f66.google.com with SMTP id e16-v6so19783026wmd.0 for ; Thu, 07 Jun 2018 11:50:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KHtSFMK3pkdaXrphp2O5ytRdMqjcSWaTsAMiJ7/fYDc=; b=hfz2w1r6sM6Lr7H5nZlK8ng1PXBUliBUaHAhkh/PjwnhchXoUTScqFMcahJwQoZ12g LuvPn5Opdgq/5kdpo0EbsOYTGzpWC/4iwWx3LXE98yFVdKb9DCPnwSRdWfI7nS3yx1BZ m4tY3gNFsxdGytQziiUgAuJhEtsK8jyew+TyVgdMZNYRmRhlYQ7vfZ9+LVVMKCvNo+my 7s6h9Crh46EEtWWwhQ1qENDK4M1PNT6wrnBaPb3AX2BIMxeKlci81Fp9btGIYTYoBFxZ uTYrb0QUDbqvMVHbIkPHWUDEVykv0r0tA0g71gmWobczQmo2UyTXzsFpgMjePHYU0Vvj aaTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KHtSFMK3pkdaXrphp2O5ytRdMqjcSWaTsAMiJ7/fYDc=; b=JlEk4ZBn2F5IdOtd/ai1rNApM6wuK95RMIDe4bZOaQVIKXmb5MFT42zhRZaKQ4Qyli RPWZFiSBxdu2NBmw7oVUZmdrGzP/8lomXJYTTs9OHX7RRfyK9F9VsO0L9Z6DQo3yp/TU CXPL2ydt5f6jHMkC1CJaEZAWA726wMq2tKhFtl48WiasB5OJP+zH1oQ0NkC6zY6Sr3I2 9Axgtn9/a9t9KtZwCCwIZD/WYDIt4klV9d/Im4l8O+HpKuqqS9Pcj2iOu+u7NFivfT3e HKjbQtD4yRaAQPFZvLzV7nwsoDLl95rA7QlSnylVRhtftNaTL9JtqvUjJQGOavZT2I0+ 0tww== X-Gm-Message-State: APt69E19WXBS40fylg96bwu7loq2BDzup4jO3aSUDhaMS+GfcTDd7DXL S2gqr4cay7ElxgnJEyQdag6FKw== X-Received: by 2002:a1c:9d49:: with SMTP id g70-v6mr2545801wme.134.1528397444186; Thu, 07 Jun 2018 11:50:44 -0700 (PDT) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [174.3.196.123]) by smtp.gmail.com with ESMTPSA id u7-v6sm38858835wrp.44.2018.06.07.11.50.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 11:50:43 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1fQzza-0002yM-7R; Thu, 07 Jun 2018 12:50:38 -0600 Date: Thu, 7 Jun 2018 12:50:38 -0600 From: Jason Gunthorpe To: Hans Westgaard Ry Cc: Doug Ledford , Hakon Bugge , Parav Pandit , Jack Morgenstein , Pravin Shedge , Matthew Wilcox , Andrew Morton , Jeff Layton , Wei Wang , Chris Mi , Eric Biggers , Rasmus Villemoes , Mel Gorman , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/2] idr: Add ida_simple_get_cyclic Message-ID: <20180607185038.GF14583@ziepe.ca> References: <20180529073808.27735-1-hans.westgaard.ry@oracle.com> <20180607111435.17538-1-hans.westgaard.ry@oracle.com> <20180607111435.17538-2-hans.westgaard.ry@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180607111435.17538-2-hans.westgaard.ry@oracle.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 07, 2018 at 01:14:34PM +0200, Hans Westgaard Ry wrote: > Signed-off-by: Hans Westgaard Ry > --- > include/linux/idr.h | 8 +++++-- > lib/idr.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 72 insertions(+), 2 deletions(-) If you are going to do this you should convert the other places that open coded this as well.. Jason