Messages in this thread | | | Date | Wed, 9 Feb 2000 12:31:36 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: how does kernel get the "current" task struct? |
| |
On Wed, 9 Feb 2000, Jamie Lokier wrote: > > I'm lost. I know you need aligned allocations. I don't see why you > have to align a zone to get aligned allocations.
You don't have to. However, if you don't align the zone, you have to still offset a lot of the calculations by the "alignment factor". Which bacially means that you in practice _do_ end up aligning it after all, it's just that you're doing it at run-time instead of setup-time. No real difference, and doing it at setup is clearer I think.
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |