Kirill A. Shutemov 597d795a2a mm: do not allocate page->ptl dynamically, if spinlock_t fits to long
In struct page we have enough space to fit long-size page->ptl there,
but we use dynamically-allocated page->ptl if size(spinlock_t) is larger
than sizeof(int).

It hurts 64-bit architectures with CONFIG_GENERIC_LOCKBREAK, where
sizeof(spinlock_t) == 8, but it easily fits into struct page.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-12-20 12:25:45 -08:00
..
2013-11-13 12:09:34 +09:00
2013-11-19 01:07:08 +01:00
2013-09-09 11:19:09 -07:00
2013-10-09 12:36:13 +02:00
2013-11-27 13:52:47 -05:00
2012-12-20 17:40:19 -08:00
2013-12-18 19:04:50 -08:00
2013-12-18 19:04:50 -08:00
2013-11-09 00:16:29 -05:00
2013-09-11 15:58:27 -07:00
2013-04-29 13:55:38 -07:00
2013-12-15 11:45:27 -08:00