Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752793AbaJLRn6 (ORCPT ); Sun, 12 Oct 2014 13:43:58 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:56163 "EHLO mail-oi0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752427AbaJLRn5 (ORCPT ); Sun, 12 Oct 2014 13:43:57 -0400 MIME-Version: 1.0 In-Reply-To: <20141012.133047.427141450441745027.davem@davemloft.net> References: <20141011.221510.1574777235900788349.davem@davemloft.net> <20141012.133047.427141450441745027.davem@davemloft.net> Date: Mon, 13 Oct 2014 02:43:57 +0900 Message-ID: Subject: Re: unaligned accesses in SLAB etc. From: Joonsoo Kim To: David Miller Cc: LKML , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Linux Memory Management List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2014-10-13 2:30 GMT+09:00 David Miller : > From: Joonsoo Kim > Date: Mon, 13 Oct 2014 02:22:15 +0900 > >> Could you test below patch? >> If it fixes your problem, I will send it with proper description. > > It works, I just tested using ARCH_KMALLOC_MINALIGN which would be > better. Oops. resend with whole Cc list. Thanks for testing. ARCH_KMALLOC_MINALIGN is for object alignment, but, current problem is caused by alignment of cpu cache array. I think that my fix is more proper in this situation. I will send fix tomorrow, because I'd like to test more and it's 2:42 am. :) Thanks. -- 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/