From: Andrey Ryabinin Subject: SLAB_TYPESAFE_BY_RCU without constructors (was Re: [PATCH v4 13/17] khwasan: add hooks implementation) Date: Tue, 31 Jul 2018 20:01:30 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 To: Theodore Ts'o , Jan Kara , linux-ext4@vger.kernel.org, Greg Kroah-Hartman , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, Gerrit Renker , dccp@vger.kernel.org, Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Eric Dumazet , Alexey Kuznetsov , Hideaki YOSHIFUJI , Ursula Braun , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.or Return-path: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" List-Id: linux-ext4.vger.kernel.org Ck9uIDA3LzMxLzIwMTggMDc6MDQgUE0sIEFuZHJleSBSeWFiaW5pbiB3cm90ZToKPj4gU29tZXdo YXQgb2ZmdG9waWMsIGJ1dCBJIGNhbid0IHVuZGVyc3RhbmQgaG93IFNMQUJfVFlQRVNBRkVfQllf UkNVCj4+IHNsYWJzIGNhbiBiZSB1c2VmdWwgd2l0aG91dCBjdG9ycyBvciBhdCBsZWFzdCBtZW1z ZXQoMCkuIE9iamVjdHMgaW4KPj4gc3VjaCBzbGFicyBuZWVkIHRvIGJlIHR5cGUtc3RhYmxlLCBi dXQgSSBjYW4ndCB1bmRlcnN0YW5kIGhvdyBpdCdzCj4+IHBvc3NpYmxlIHRvIGVzdGFibGlzaCB0 eXBlIHN0YWJpbGl0eSB3aXRob3V0IGEgY3Rvci4uLiBBcmUgdGhlc2UgYnVncz8KPiAKPiBZZWFo LCBJIHB1enpsZWQgYnkg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