![]() | ||||||||||
Messages in this thread |
Hello. Chuck Ebbert wrote: > It's really not that hard to get the limit: > limit_in_bytes = new_esp | (THREAD_SIZE - 1) > limit_in_pages = limit_in_bytes >> 12 I was worrying about a corner cases. The new_esp can be just everything. It can be < THREAD_SIZE, in which case the limit_in_pages will be 0. Or, I beleive, it can even be a negative value, which will turn into a a value larger than the old_esp. But after calculating a few examples, I have almost convinced myself that your technique will work in all such a cases. So I'll try that as soon as the new -mm's will boot for me again. - 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/ | |||||||||
| Last update: 2006-08-12 10:39 [from the cache] ©2003-2008 | ||||||||||