Thread (9 messages) 9 messages, 3 authors, 2004-12-18

Re: [patch] CONFIG_ARCH_HAS_ATOMIC_UNSIGNED

From: Andi Kleen <hidden>
Date: 2004-12-17 16:33:08

On Fri, Dec 17, 2004 at 08:27:58AM -0800, Christoph Lameter wrote:
On Fri, 17 Dec 2004, Andi Kleen wrote:
quoted
struct page {
        page_flags_t flags;             /* Atomic flags, some possibly
                                         * updated asynchronously */

			<------------ what to do with the 4 byte padding here?
Put the order of the page there for compound pages instead of having that
in index?
That would waste memory on the 64bit architectures that cannot tolerate
32bit atomic flags or on true 32bit architecture.

Also what's the problem of having it in index?

-Andi
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help