Messages in this thread |  | | Subject | Re: [PATCH] cache colour task_structs | Date | Thu, 1 Nov 2001 01:04:20 +0000 (GMT) | From | Alan Cox <> |
| |
> The attached patch moves the task structure into a slab, with normal > cache colouring. > It's tested with i386 SMP.(i.e. it boots and runs X)
Keeping the stack and task struct together is smarter. You fix the one problem but not the other horror.
When you are bored one day run apache with 120 servers on a typical real world load. Keep snapshotting the kernel %esp and look at the cache colouring.
We need to perturb esp colour too. It might be the right way to do this is slab based kernel stacks, it might be that your code is cheaper than the cost of getting current the really hard way and we should just add random numbers to the initial esp of a task ?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |