Keith Owens wrote: > I want to completely remove this multi layered method for setting > initialisation order and go back to basics. I want the programmer to > say "initialise E and F after G, H and I". The kernel build system > works out the directed graph of initialisation order then controls the > execution of startup code to satisfy this graph. I don't doubt you will come up with a workable solution at build time. However, working out a valid graph at execution time is trivial and efficient, given a list of precedence relations of the kind you're suggesting. In fact you don't even have to work out the graph before starting the initialization, it's also trivial to keep a count of unsatisfied initialization conditions at the beginning of each initialization sequence and block until the count goes to zero. (In essence, evaluate a priority sort on the fly.) -- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Where did vm_operations_struct->unmap... Keith Owens
- Re: Where did vm_operations_struct->u... David Woodhouse
- Re: Where did vm_operations_struct-... Keith Owens
- Re: Where did vm_operations_str... Alan Cox
- Re: Where did vm_operations_str... Keith Owens
- Re: Where did vm_operations_str... Ingo Oeser
- Re: Where did vm_operations_str... Keith Owens
- Re: Where did vm_operations_str... David Woodhouse
- Re: Where did vm_operations_str... Keith Owens
- Re: Where did vm_operations_str... David Woodhouse
- Re: Where did vm_operations_str... Daniel Phillips
- Re: Where did vm_operations_str... Keith Owens
- Re: Where did vm_operations_str... Kai Henningsen
- Re: Where did vm_operations_str... David Woodhouse
- Re: Where did vm_operations_struct->unmap in 2.4.0 go? Christian Zander
- Re: Where did vm_operations_struct->unmap in 2.4.... Keith Owens
- Re: Where did vm_operations_struct->unmap in ... David Woodhouse
- Re: Where did vm_operations_struct->unmap... Keith Owens
- Re: Where did vm_operations_struct->u... David Woodhouse
- Re: Where did vm_operations_struct-... Russell King
- Re: Where did vm_operations_struct-... Keith Owens