Re: [PATCH 3/3] 2.6.8-rc4-mm1 - UML fixes

From: Jeff Dike
Date: Wed Aug 11 2004 - 23:44:18 EST


wli@xxxxxxxxxxxxxx said:
> Out of curiosity, why are you allocating 4*PAGE_SIZE for the stack if
> you're only going to use 2*PAGE_SIZE of it? I saw no other users for
> the rest of ->thread_info offhand.

Well, that's slightly misleading. The other two pages (minus the thread_info)
are available for stack if needed. UML stacks are somewhat larger than the
native kernel stacks because of the userspace signal frames, so I allocate
4 pages for now to be safe.

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/