[PATCH/RFC] Add MM_DEAD flag to struct mm_struct #3

2007-07-27 Thread Benjamin Herrenschmidt
Some architectures like sparc can do useful optimizations when knowing that an entire MM is being destroyed. At the moment, they rely on fullmm in the mmu_gather structure. However, that doesn't always work out very well with some of the changes we are doing. Among other things, the TLB flushing on

[PATCH/RFC] Add MM_DEAD flag to struct mm_struct #2

2007-07-27 Thread Benjamin Herrenschmidt
Some architectures like sparc can do useful optimizations when knowing that an entire MM is being destroyed. At the moment, they rely on fullmm in the mmu_gather structure. However, that doesn't always work out very well with some of the changes we are doing. Among other things, the TLB flushing o

Re: [PATCH/RFC] Add MM_DEAD flag to struct mm_struct

2007-07-26 Thread Benjamin Herrenschmidt
On Fri, 2007-07-27 at 12:01 +1000, Benjamin Herrenschmidt wrote: > Some architectures like sparc can do useful optimizations when knowing > that an entire MM is being destroyed. At the moment, they rely on > fullmm in the mmu_gather structure. However, that doesn't always work > out very well with

[PATCH/RFC] Add MM_DEAD flag to struct mm_struct

2007-07-26 Thread Benjamin Herrenschmidt
Some architectures like sparc can do useful optimizations when knowing that an entire MM is being destroyed. At the moment, they rely on fullmm in the mmu_gather structure. However, that doesn't always work out very well with some of the changes we are doing. Among other things, the TLB flushing on