Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932261AbbDJKtG (ORCPT ); Fri, 10 Apr 2015 06:49:06 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:59975 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754140AbbDJKtB (ORCPT ); Fri, 10 Apr 2015 06:49:01 -0400 X-AuditID: cbfec7f5-b7f1e6d00000617c-a2-5527a9ec9461 Message-id: <5527AA94.5080803@samsung.com> Date: Fri, 10 Apr 2015 13:48:52 +0300 From: Andrey Ryabinin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-version: 1.0 To: Arnd Bergmann , linux-arm-kernel@lists.infradead.org Cc: Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton Subject: Re: [PATCH 2/2] arm64: add KASan support References: <1427208544-8232-1-git-send-email-a.ryabinin@samsung.com> <1427208544-8232-3-git-send-email-a.ryabinin@samsung.com> <3164609.kEhR8riVSV@wuerfel> In-reply-to: <3164609.kEhR8riVSV@wuerfel> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrALMWRmVeSWpSXmKPExsVy+t/xa7pvVqqHGkyczGsxZ/0aNou/k46x W7xf1sNosenxNVaLy7vmsFncW/Of1eLlxxMsDuwea+atYfT4/WsSo8emT5PYPU7M+M3isXlJ vcfnTXIBbFFcNimpOZllqUX6dglcGf8fTmAsWMNS8bn3IWsD427mLkZODgkBE4lVz1ZC2WIS F+6tZ+ti5OIQEljKKHFt4TQop5lJovXrIzaQKl4BLYlL7WfAbBYBVYlJ85cwgdhsAnoS/2Zt B4pzcIgKREjcvswJUS4o8WPyPRYQW0TAXWLd9HmsIDOZBTYySvTMWgG2WVjAUGLx5b1gRUIC CxglLs21ALE5BTQlbiw8wA4ykxlo/v2LWiBhZgF5ic1r3jJPYBSYhWTFLISqWUiqFjAyr2IU TS1NLihOSs810itOzC0uzUvXS87P3cQICfWvOxiXHrM6xCjAwajEw/uDRS1UiDWxrLgy9xCj BAezkggv2xL1UCHelMTKqtSi/Pii0pzU4kOMTBycUg2Mi9ffOHmhIlatevu9f5IqnPPqKpcZ Rzv2pJxcsrdy3pGw288kjHjrKm4ccd6+RPPgYdd2v6nCLeYBCs7r64/XzJSfea/5wd2Hvw6c 8paQs/PoUYhZ4aPFsHNF8Q4tns1XHyrcvM3Cseq/qpflgU+aC0xrlFSmTTkxJ13KV++HWM/i xxNuWGw0UmIpzkg01GIuKk4EABTQVOhTAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 788 Lines: 18 On 04/09/2015 11:17 PM, Arnd Bergmann wrote: > On Tuesday 24 March 2015 17:49:04 Andrey Ryabinin wrote: >> arch/arm64/mm/kasan_init.c | 211 +++++++++++++++++++++++++++++++++++ >> > > Just one very high-level question: as this code is clearly derived from > the x86 version and nontrivial, could we move most of it out of > arch/{x86,arm64} into mm/kasan/init.c and have the rest in some header > file? > I think most of this could be moved out from arch code, but not everything. E.g. kasan_init() function is too arch-specific. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/