Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp861314imu; Fri, 21 Dec 2018 08:31:25 -0800 (PST) X-Google-Smtp-Source: ALg8bN7gnHbuuOU312J71odbkF+3kElPp1QdUCyEqeUpTMME2Tv97+G7icp6GbNygsjLvP6hQ2yV X-Received: by 2002:a17:902:2f03:: with SMTP id s3mr3117239plb.277.1545409885783; Fri, 21 Dec 2018 08:31:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545409885; cv=none; d=google.com; s=arc-20160816; b=YcsIb1GNrB3gtf47AV+WO7Cln4VW9u1DuvJPeOh/AlQpdd0TXgMJaspYwMwbEv+8JW l0OkUcEC8kLZsPblPhg0eRHUQDeQu3PM1IvzsnXq96kIGyOG7hwDzO+OXSqn2Je83r9J sFVCZlah9O8u59F2gjp3EEHFdbE+jgfjb2RaAUNkyWTI88U3tuEayyxnFbQY8AIXF3/8 pXTMGES6JzPhyD2UOZNFgsyiQEmbjoMphrUA1kkHBiXC6q7JxwtM7EqYa2/fs7SPgDID zA/Sl4008YYI1VazYfsDTi4ruKfN+AxHoWVKOjrr1UnmiZScH5JkEiIijvOjpbSVZ5pD zElQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=w6WNrzMbbTUCrQPoGGhFmaqLNKsZTUnPUSbJ1mibdkY=; b=s/rk0R+vMjFdtmR+ElDNMss1ZSiiLmyWVKSbvpPxS7G+oxgHbLr2PAUV54Nix/9c0G X32iHGiU8njul5d6rMvkVkYmGMR2NdkZHxEbe3whsVJ02m9kT4I7+ZPc3aJChekfsUen 8Q+LJvIq5npOGLk6CPKUGuzfGJm1SR9nwU+64xeaxcp6djPBr8dvs5XMwyAogT1zPFFV PPXcz9OitJY4VQQ69k4X+KJwxWKRSDlsaEkPKOIdUK0BcSqOZyaBAOMCDjdnwHxO7zNa oSBhf2RUI9FLNimpeN6Kq7OyExeLAcgzM5KnjAqblvXoQ/CIniBIdzWxsbHCkRbKiLK2 CiCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=VRW09mJx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t19si20493427pgu.5.2018.12.21.08.31.10; Fri, 21 Dec 2018 08:31:25 -0800 (PST) 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=@virtuozzo.com header.s=selector1 header.b=VRW09mJx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390022AbeLUK7o (ORCPT + 99 others); Fri, 21 Dec 2018 05:59:44 -0500 Received: from mail-eopbgr140104.outbound.protection.outlook.com ([40.107.14.104]:60891 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389941AbeLUK7o (ORCPT ); Fri, 21 Dec 2018 05:59:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w6WNrzMbbTUCrQPoGGhFmaqLNKsZTUnPUSbJ1mibdkY=; b=VRW09mJxI4yYJZgPtT/cir8TwR92I3f6xKOfBCKkBXlupZrfCt/nWJn6P2vHizuyOkGz2npNN9dVJWzuQl0+0bqJHKbAkMdRlXvZ9lcvjoTj/FwceuRkL9mXj61RB0lmeU3SIQiXtLVkjr8Xg+l6+U320Z6NfEE4pvsXwaJPEUo= Received: from VI1PR08MB3117.eurprd08.prod.outlook.com (52.133.15.22) by VI1PR08MB3168.eurprd08.prod.outlook.com (52.133.15.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.23; Fri, 21 Dec 2018 10:58:59 +0000 Received: from VI1PR08MB3117.eurprd08.prod.outlook.com ([fe80::40c5:8008:1ab4:4067]) by VI1PR08MB3117.eurprd08.prod.outlook.com ([fe80::40c5:8008:1ab4:4067%4]) with mapi id 15.20.1446.022; Fri, 21 Dec 2018 10:58:59 +0000 From: Konstantin Khorenko To: Bartlomiej Zolnierkiewicz CC: "linux-fbdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" Subject: Re: [PATCH] fbcon: use kvmalloc() for scrollback buffer Thread-Topic: [PATCH] fbcon: use kvmalloc() for scrollback buffer Thread-Index: AQHUhW853rUVzeR/Yku9J0nZpQz2waWH9VSAgAE4JQA= Date: Fri, 21 Dec 2018 10:58:59 +0000 Message-ID: <4eba60c6-4eb8-5a82-f394-307f835f41e1@virtuozzo.com> References: <20181126100253.3299-1-khorenko@virtuozzo.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR0402CA0047.eurprd04.prod.outlook.com (2603:10a6:7:7c::36) To VI1PR08MB3117.eurprd08.prod.outlook.com (2603:10a6:803:46::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=khorenko@virtuozzo.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [185.231.240.5] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR08MB3168;20:VwjWlHlLR/4nRqtP6U1EpCkn+ieg53tyl3EAYGFc/PKeDxLmICKD0r2a87McPxzTWUOQdceEroA1w1z1SWGPG6nROPD0G2jWLBmle510daVMLhQOqtZe95S1+NjyEu2+mETuZgh00lZwgKXgF/2SBZV66jvu+SN1j/ePvz6jcRw= x-ms-office365-filtering-correlation-id: b09091ae-43e3-490b-1ecd-08d667334f42 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:VI1PR08MB3168; x-ms-traffictypediagnostic: VI1PR08MB3168: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(3230021)(999002)(5005026)(6040522)(2401047)(8121501046)(3231475)(944501520)(52105112)(93006095)(93001095)(10201501046)(3002001)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:VI1PR08MB3168;BCL:0;PCL:0;RULEID:;SRVR:VI1PR08MB3168; x-forefront-prvs: 0893636978 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(366004)(39850400004)(346002)(396003)(136003)(189003)(199004)(54906003)(25786009)(316002)(6512007)(53936002)(186003)(14454004)(105586002)(106356001)(99286004)(102836004)(86362001)(52116002)(31696002)(386003)(6506007)(53546011)(71200400001)(71190400001)(26005)(76176011)(486006)(97736004)(36756003)(11346002)(7736002)(2616005)(6916009)(446003)(6486002)(68736007)(6436002)(31686004)(6246003)(256004)(14444005)(6116002)(3846002)(305945005)(2906002)(229853002)(476003)(8936002)(478600001)(4326008)(66066001)(81156014)(81166006)(8676002)(5660300001);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR08MB3168;H:VI1PR08MB3117.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: VcivD+mx7hR5Lvc1g/Z8KBFd85qFNtmfu9i77OZzUsARZa4NtCvTJbDxAH14ifIKiMSLzMkOYoHndq/4zNM2/QOD5yt1renhU/1Oc+dpjySqKPzYoE4jk3OiojK8pIWX9cODuZkKf/nV5fFAfjkH3SifEcxXEa3Bt6ZUHyoaAtCZBLnXHIDmNNS58sahQz/j6k1zHyul5LRo60yVZl/QD1wzjAI4JvrJt9DTK2QoalGYfFEV481h0ShqSFqjhRu7jEndhnN15bpKxG71K6BLgmY7HE9MrUb2mOSIdKXYhjfU1tv2aO2Rqeshjjpzy5Iy spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: b09091ae-43e3-490b-1ecd-08d667334f42 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2018 10:58:59.3511 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3168 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQmFydGxvbWllaiwNCg0KT24gMTIvMjAvMjAxOCAwNzoyMSBQTSwgQmFydGxvbWllaiBab2xu aWVya2lld2ljeiB3cm90ZToNCj4gT24gMTEvMjYvMjAxOCAxMTowMiBBTSwgS29uc3RhbnRpbiBL aG9yZW5rbyB3cm90ZToNCj4+IFNjcm9sbGJhY2sgZnJhbWUgYnVmZmVyIGlzIHJhdGhlciBiaWcg LSAzMk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