mm: remove misleading alignment claims
authorMatthew Wilcox <[email protected]>
Thu, 1 Feb 2018 00:18:51 +0000 (16:18 -0800)
committerLinus Torvalds <[email protected]>
Thu, 1 Feb 2018 01:18:38 +0000 (17:18 -0800)
commit4cf7c8bfb36f4b4dbc333bf844ea801d089f44f8
treef31e80c8cca8aefc43a0199d0715f8e953da9dab
parentca9c88c781b8e5d837068db6d1ca8e775fb7e154
mm: remove misleading alignment claims

The "third double word block" isn't on 32-bit systems.  The layout looks
like this:

unsigned long flags;
struct address_space *mapping
pgoff_t index;
atomic_t _mapcount;
atomic_t _refcount;

which is 32 bytes on 64-bit, but 20 bytes on 32-bit.  Nobody is trying to
use the fact that it's double-word aligned today, so just remove the
misleading claims.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mm_types.h