Received: by 10.192.165.156 with SMTP id m28csp1150348imm; Wed, 18 Apr 2018 05:07:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/dZ60US9d3+ydFHh3KQ4NIkKJLJxkGa6dQTcEfTjmcJxh65x1xzfdBuA7yNK2X8VpPLMDf X-Received: by 2002:a17:902:6887:: with SMTP id i7-v6mr1829602plk.269.1524053276870; Wed, 18 Apr 2018 05:07:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524053276; cv=none; d=google.com; s=arc-20160816; b=ywcaOjuJNmvjOD6Hh0m6Fm96YREpLEJ+iM5kZ7j/Fo/dB7UwAVofL1j5GA+9b0sEQL jbsMUPd2yeQzHUYDBkSgGX0YVvib7edq0aKgplvZKib893TmFPOEaz21NtbAMbG2unB9 3GqXdP6VkTQNCiP2L5Uy17Hi13LF/TDGXATPJUprWu5Oww4b+6rSNBg/pkVPQKSFUY9C JwxyBpQfm4wpv1ieg5YMe82azrqCjHEuP70ccExo27tSR2wonqCkeLyHFumobLOzWvWl S9JAaWXT5QPWt75bDBDdqWpYk3dkKzYLF2JOJ30q14RHfLRHQueIOnLHd6RMERXMsD86 Hymg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=6lz9Ci1LQ52e2Upsyq0Nx2NwEZH6cOOheKchehibZ+A=; b=gwdMLALpK3Egw4XqlNHUWzH8TGuVP59yMr79rX6Z9xyYL8K5y+sN7NciFHF2IKzH1S xmeCUbboIOdwh62MkV4460mySka/PO4+gOJaYmf+bnrWGgzH01hpjJrgMzD5V8J78n4x WNm7uIsIaovF1+1kg35RqSnicMAXGfiNLhbikwbo+MwwxBZ8nk5axiJKI/9BYar389gd j5fal/Qb0iwSWq3dj7lJzkXqJm3StDbrL+dzoTN/GL7zwB3NS8e7psOcAlhV8nLYDtnI 4SiR8AvA8xHiR4IBrr2H7WZVujU2/Ko/SGZxwZben1JvXl+5qkqwvYkE21zmST3IjcMt o4mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@javigon-com.20150623.gappssmtp.com header.s=20150623 header.b=JgzJXb6H; 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 v123si981220pgv.545.2018.04.18.05.07.40; Wed, 18 Apr 2018 05:07:56 -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=@javigon-com.20150623.gappssmtp.com header.s=20150623 header.b=JgzJXb6H; 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 S1753110AbeDRMGa (ORCPT + 99 others); Wed, 18 Apr 2018 08:06:30 -0400 Received: from mail-wr0-f169.google.com ([209.85.128.169]:41957 "EHLO mail-wr0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbeDRMG2 (ORCPT ); Wed, 18 Apr 2018 08:06:28 -0400 Received: by mail-wr0-f169.google.com with SMTP id v24-v6so4133258wra.8 for ; Wed, 18 Apr 2018 05:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=javigon-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6lz9Ci1LQ52e2Upsyq0Nx2NwEZH6cOOheKchehibZ+A=; b=JgzJXb6HTBvUXvcgKJ2Gjpvuir2OrMZV0CDSo8SoyunwDu2eTqdaZldwytDyazybvW TRzI67b3gBQMJe42tDaWcShJChsLuqiBIKxK6BHUaGGPf1lmou/M0Slvp9T8uVoQBwfY NY+vovhica3iHaP/xfFz7CM5Ctf0ItMkE2NyCZgMJuH9BeSin3pSgw1mGhAHcdcD5ucz 6Ogq60XEGMJLv5LETVteZs1soPXMFhi6LcBJOOMfZjorSGHkAJnr1gAkcldW6LhOjDlF 0vfsKM1mNQgfw9n1I7VDjJlZxotKHde7HziMuHvnwj7IuZt3OfG2czNN5yu3MojBjbbO yqNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6lz9Ci1LQ52e2Upsyq0Nx2NwEZH6cOOheKchehibZ+A=; b=DQ2oMLUPO3hJXcxHAzOsgkECDkTUfw5zoALhhCNwHqassHcOgxFaXl0YR9alZ2k6Sw e1sOlrXK9rD+0J5h9uvqyHId/wZZAc3DgQtLDkzjqiANdExmly8Z48Q6FOvIUzT9dgZ5 OKhBBOgwF/5m3wNdTPeQAeqPlGRw7/1eppsbz0ulPk9OIHnp4ncuNUsBf63Yr3xoAvGn R38C8TEidoZDGKP4y7HRt3G3F690SUYf3VO+wp251U1M88ZH3fDVk2bQZ9MwBdGXL7Xw THXixTK5ncO4oLyYHt+f3ywYXR2TiI+iIZ9PsjwA7+YewXXoRJkQGPntKKyd1cBas1ME Btug== X-Gm-Message-State: ALQs6tCMY61GAYPGSllJwF+/2VCgGYkW1vlNQnrHwe7YLtBkjC0KXAoh pcrkk/skXi10IT0KSMtLw6q5xg== X-Received: by 10.80.192.78 with SMTP id u14mr2747913edd.202.1524053187623; Wed, 18 Apr 2018 05:06:27 -0700 (PDT) Received: from uhalley.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id e2sm948327edj.97.2018.04.18.05.06.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Apr 2018 05:06:27 -0700 (PDT) From: "=?UTF-8?q?Javier=20Gonz=C3=A1lez?=" X-Google-Original-From: =?UTF-8?q?Javier=20Gonz=C3=A1lez?= To: mb@lightnvm.io Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= Subject: [PATCH V2] lightnvm: pblk: take bitmap alloc. out of critical section Date: Wed, 18 Apr 2018 14:06:07 +0200 Message-Id: <1524053168-30476-1-git-send-email-javier@cnexlabs.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes since V1 - from Matias: - rename a function to line__reinit - propagate error code - improve commit message Javier González (1): lightnvm: pblk: take bitmap alloc. out of critical section drivers/lightnvm/pblk-core.c | 97 +++++++++++++++++++++++++------------------- 1 file changed, 56 insertions(+), 41 deletions(-) -- 2.7.4