Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755848AbXJVTww (ORCPT ); Mon, 22 Oct 2007 15:52:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752850AbXJVTwp (ORCPT ); Mon, 22 Oct 2007 15:52:45 -0400 Received: from brick.kernel.dk ([87.55.233.238]:10763 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752830AbXJVTwo (ORCPT ); Mon, 22 Oct 2007 15:52:44 -0400 Date: Mon, 22 Oct 2007 21:52:39 +0200 From: Jens Axboe To: Linus Torvalds Cc: Geert Uytterhoeven , Linux Kernel Development , mingo@elte.hu, Linux/m68k Subject: Re: [PATCH 09/10] Change table chaining layout Message-ID: <20071022195238.GH16425@kernel.dk> References: <1193076664-13652-1-git-send-email-jens.axboe@oracle.com> <1193076664-13652-10-git-send-email-jens.axboe@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 841 Lines: 26 On Mon, Oct 22 2007, Linus Torvalds wrote: > > > On Mon, 22 Oct 2007, Geert Uytterhoeven wrote: > > > > Better safe than sorry... > > > > Is it possible that a chain entry pointer has bit 1 set on architectures > > (e.g. m68k) where the natural alignment of 32-bit quantities is _2_ bytes, > > not 4? > > Better make sure that such alignment never happens... But no, I don't > think it will, since these things would generally always have to be > allocated with an allocator, and the *allocator* won't return 2-byte > aligned data structures. How about stack allocations? -- Jens Axboe - 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/