Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4022389img; Tue, 26 Mar 2019 01:07:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwE9x++WphzCx65C5E2HHxyHkFqdCUKABaM7ELooR9hPbRR7dKi1eYG0kKI8y35UdfRfSae X-Received: by 2002:aa7:8a87:: with SMTP id a7mr29326726pfc.252.1553587667376; Tue, 26 Mar 2019 01:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553587667; cv=none; d=google.com; s=arc-20160816; b=bvcdE0T62+PbZdGGIDyvolqddoBea+lQWN7yLae+Xiuc2Pz8Iu9ChNxfvOPPDVlo5F iX6wq3WOAVl5x7m7cezly9OIzZLZlbHJrs1MbblFFtln0yO2N98+J0anSYypmst03pev vM8Auiy1ZZvN5GFjw5DA4PJi3KtGoPHvCRQzFrHE01v0vEG8aGLGl//OegjnQAkdGGFm 6pVznWVWGZOQZJVYTnDBC0+gbLG5dg0MNw1aYk8T0JkWcQPaslLF/rEbBv4vuYmLiGRF SluGN6upwepBGGL8u//yjnJWrC2r/fiDqNjT+O7f68WUWajgA5zoM1zyVIyaIbMIe+jR C46Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=bY9mfqllJc8CF/JvJpLqfLFwbRs15Qpc+JKssRUZHw8=; b=m5j3udaKIqSna/t6/oXK2q030x8dr1Ld8KeLxunfXhXGMqmatvlCO+/oA404WGa4dQ ftJ+lx+qdB8apFobBakSRv0I0FMrWkq4lnaCvP96bUEPRWgju8CteNua7no20RoD00NT aiPuZkyQ3OYe2JTlBYhpaYWeDMzuDtL0/Nup4CsmjV1ma3wDjv7EjGjpdCeRIhx7xkUA NfU5/G0HOLv4P9VgdmpBfc3m6kQmvJ/UrtMXyM5zSUJXmsPER6saf9rJPyLZeniY92qX WbjbRQmEnAVDoRtHeQIbz2l9D3z/132oQrhRAM2rWif4kuqOFPdLboZ+9Kj+1G6k5tKA p/Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=EKNQhc84; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k30si15791375pgb.587.2019.03.26.01.07.32; Tue, 26 Mar 2019 01:07:47 -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=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=EKNQhc84; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730829AbfCZIGv (ORCPT + 99 others); Tue, 26 Mar 2019 04:06:51 -0400 Received: from m13-37.163.com ([220.181.13.37]:4176 "EHLO m13-37.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727624AbfCZIGv (ORCPT ); Tue, 26 Mar 2019 04:06:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=e0SYl +G2gMP2T47fr0R5SU8lscsVUcNOWxUkH+DbRw4=; b=EKNQhc84CAjzx6FAv0vuB vDJ3PlkCdVJ5QlU0Y5TeXOgoboOwkHUa2kzPq0oXY9p+ChlB5I0zJJWbnE9kfVq3 L8FTj8iSUX+JmKEWDWISaKl8nszwhc6b0mUak7sNKz6umOHAt014vYSmjedPFw4l Q0DCjrGKly3RdGiW0WOOdg= Received: from luferry$163.com ( [42.120.75.143] ) by ajax-webmail-wmsvr37 (Coremail) ; Tue, 26 Mar 2019 15:55:10 +0800 (CST) X-Originating-IP: [42.120.75.143] Date: Tue, 26 Mar 2019 15:55:10 +0800 (CST) From: luferry To: "Christoph Hellwig" Cc: "Jens Axboe" , "Dongli Zhang" , "Ming Lei" , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re:Re: [PATCH] make blk_mq_map_queues more friendly for cpu topology X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20180927(cd7136b6) Copyright (c) 2002-2019 www.mailtech.cn 163com In-Reply-To: <20190326073954.GD21617@lst.de> References: <20190325152640.48120-1-luferry@163.com> <20190326073954.GD21617@lst.de> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <48ca2186.fc76.169b8fef63a.Coremail.luferry@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: JcGowADX5gTf2plcf9kfAA--.38729W X-CM-SenderInfo: poxiv2lu16il2tof0z/xtbBLwWDWlUMIcBO4gACsl X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CgoKQXQgMjAxOS0wMy0yNiAxNTozOTo1NCwgIkNocmlzdG9waCBIZWxsd2lnIiA8aGNoQGxzdC5k ZT4gd3JvdGU6Cj5XaHkgaXNuJ3QgdGhpcyB1c2luZyB0aGUgYXV0b21hdGljIFBDSS1sZXZlbCBh ZmZpbml0eSBhc3NpZ25tZW50IHRvCj5zdGFydCB3aXRoPwoKV2hlbiBlbmFibGUgdmlydGlvLWJs ayB3aXRoIG11bHRpIHF1ZXVlcyBidXQgd2l0aCBvbmx5IDIgbXNpeC12ZWN0b3IuCnZwX2Rldi0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