- 2012年 4月 21日 6 次提交
-
-
由 Austin Clements 提交于
zalloc uses work queues. Technically, we're okay as long as we don't *use* the zallocator until wq is initialed, but that seems fragile.
-
由 Austin Clements 提交于
-
由 Austin Clements 提交于
percpu acts like a T* const, so a const percpu should (also) be like a T* const, *not* like a const T*, which is what the code previously did (remember, C types are inside-out! except when they aren't). This, for example, makes it sane to pass a const percpu reference. This also makes percpu non-copyable and non-assignable and makes stuff private.
-
由 Austin Clements 提交于
Previously, we always used the name of CPU 0's kmem for a slab (owing to the same type of pointer decay problem fixed by the last commit). This is why all mtrace labels are called things like "0kstack" instead of having the right CPU number.
-
由 Austin Clements 提交于
Previously, ksfree passed the whole CPU array for a slab to kfree_pool, which expected a pointer to the specific kmem to free to. Since the array decayed to a pointer, this compiled and worked, but would always free to CPU 0's slab.
-
由 Austin Clements 提交于
-
- 2012年 4月 20日 11 次提交
-
-
由 David Benjamin 提交于
RCU-freeing the radix_nodes was punted for now, so we shouldn't need this.
-
由 David Benjamin 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
We use it for the AP boot code and stack and could free it after that, but it's easier not to.
-
-
由 David Benjamin 提交于
Simplifies the range locking code. Also we don't need that silly struct.
-
由 David Benjamin 提交于
-
由 David Benjamin 提交于
Simplifies things. radix_node is not RCU-freed and remains a power of two. update_range always succeeds and doesn't need to return how far it got.
-
由 David Benjamin 提交于
Start at the appropriate index and stop early enough.
-
由 David Benjamin 提交于
We want the level for use with index(). Probably should just drop cur_end now that it's redundant. Also reorder all those arguments to be saner.
- 2012年 4月 19日 17 次提交
-
-
由 Austin Clements 提交于
Both have intentionally similar APIs, so this takes advantage of design polymorphism to collapse a lot of previously conditional code.
-
由 Austin Clements 提交于
So I can stop hunting for things like this. I also planned to use these in user space (cpputil.hh isn't user space friendly), though didn't wind up doing that.
-
由 Austin Clements 提交于
-
由 Austin Clements 提交于
If no tests are named, run them all, like before.
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
:(
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
- 2012年 4月 18日 1 次提交
-
-
由 Silas Boyd-Wickizer 提交于
-
- 2012年 4月 15日 2 次提交
-
-
由 Silas Boyd-Wickizer 提交于
I think i got it right..if it's buggy you can disable with EXECSWITCH 0 in param.h.
-
由 Silas Boyd-Wickizer 提交于
-
- 2012年 4月 14日 2 次提交
-
-
由 Silas Boyd-Wickizer 提交于
-
由 Silas Boyd-Wickizer 提交于
-
- 2012年 4月 13日 1 次提交
-
-
由 Silas Boyd-Wickizer 提交于
-