From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755418AbXJVTuv (ORCPT ); Mon, 22 Oct 2007 15:50:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753136AbXJVTuo (ORCPT ); Mon, 22 Oct 2007 15:50:44 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:57413 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751681AbXJVTun (ORCPT ); Mon, 22 Oct 2007 15:50:43 -0400 Date: Mon, 22 Oct 2007 12:49:40 -0700 (PDT) From: Linus Torvalds To: Geert Uytterhoeven cc: Jens Axboe , Linux Kernel Development , mingo@elte.hu, Linux/m68k Subject: Re: [PATCH 09/10] Change table chaining layout In-Reply-To: Message-ID: 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 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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. Linus